Jump to content

Customizing the InterMat


jross

Recommended Posts

Notes

  • After installing the tampermonkey extension, select it, Create a new script..., and paste the javascript into it.  Save the file.  Refresh the Intermat Forum in the Chrome web browser, and it should work.
  • You can disable the script directly from the tampermonkey extension or remove function calls inside of makeImprovements() by adding '//' to comment out a call like //removePostsWithCAPS();.   
    • Currently, I disable the script when editing a post because the edit language contains CAPs, and the post is deleted HaHa.
  • Javascript is a programming language that runs in real-time on the web browser.  This javascript file contains commands that manipulate the content displayed on a web page.  Content may be added, removed, the color changed, etc.
  • Anyone that wants to contribute or optimize is welcome.  I do not have web development knowledge.

 

Screenshots show the ability to create a new script, enable/disable the script, and edit the script.

image.png.4b324146a59fb9f3cc0ff286d60c10c3.pngimage.png.99cb47a66c36cdb6faeded3b91d580b2.png

image.thumb.png.670463c5de0f8c6064c39b729661774c.png

Link to comment
Share on other sites

// Release Notes
// v0.1 | Initial release removes posts with capitalized words, changes images, changes profile display names, and removes badges.
// v0.2 | Add support for profile hover/popups and pagination loads
// v0.3 | Remove member signatures.  Only remove posts if there are multiple words in caps together.  More images and names.

ImproveIntermatForum-js-v0.3.txt

  • Fire 1
Link to comment
Share on other sites

Chrome users can ignore and unignore topics from forums with this user script.  Create the new script in your user/javascript utility and paste the attached text.  Notice below in the Tampermonkey menu that Toggle Ignored Topic Display is a selection.

image.png.1767579aa7d3f083b53102f76cc5e2a7.png



Select the trash icon when hovering over a topic.

image.thumb.png.6e70718bcee20a3d2af0fe5da09ef01d.png
 


The topic will disappear.  

image.thumb.png.068a4450b954bd5da189165d2cf96799.png

 

Technical note:  The topics to ignore are written to C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Profile 1\Local Storage\leveldb\* in key value pairs like this: rit_ignoredTopics[{"id":"74"},{"id":"101"}

To unignore topics, select Toggle Ignored Topic Display from the user script (Tampermonkey, etc.) menu.  All hidden topics will display.  

 

image.thumb.png.4fc343dc1db34f12eeb4fe1478a7d244.png

Hover over the topic, select the trash can icon, and the topic will be displayed moving forward.  You can ignore/unignore in this fashion and select Toggle Ignored Topic Display to hide ignored topics when finished.

 

TopicIgnoreList-js-v0.1.txt

Edited by jross
  • Fire 1
Link to comment
Share on other sites

  • 5 months later...

Update ImproveIntermatForum-js-v0.4.txt

New Features

  • Add reputation to member stats.
  • Add entertainment score computed as reputation score / number of posts
  • Remove "Bob's Buds" from displaying under members.  Leave "I love Bob Dole" for members that selected that in their profile.

Features

  • Enabled
    • Member stats displays reputation and entertainment score inline with the number of member posts.
    • Member badges are removed from display.
    • Member signatures are removed from display.
    • Member "Bob's Buds" group is removed from display.
    • Member images are replaced with alternative images.
    • Member profile names are replaced with alternative names.
  • Disabled
    • Remove posts with CAPS

New Features 


image.thumb.png.07c0b40ecc1049610bda8d320f46032c.png

  • Clown 1
Link to comment
Share on other sites

The removal of @BobDole buds is not a move against Bob, rather a generic removal of group display under the profile photo to keep that area clean.  Everyone loves Bob.


FYI that the user script also works for the safari browser on iPhones.  The profile photo is not covered with a badge. 

Link to comment
Share on other sites

  • 7 months later...
On 11/2/2022 at 2:24 PM, jross said:

This example removes posts with capitalized words, changes images, changes profile display names, and removes badges.  Note: did not change the information in profile hover/popups.

  1. Install TamperMonkey (chrome, home) or any web browser extension that allows for javascript 
  2. Create a new user script
  3. Enjoy

5.44 kB · 

please no, not after the quiz!

  • Haha 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...