Scripts
Some Small Scripts Written for Specific Needs
Bookmarklets:
Bookmarklets are little snippets of JavaScript code that can be run in a browser by simply pressing a bookmark saved with the code. Here are some info about them:
They can be created by simply adding the (minified?) JavaScript code to the URL part of a bookmark, and starting it off with javascript:
If the code is meant to do something on the page, it needs to be run while the page is open
On Android browsers, where the bookmarks list is only opened in a new page (no Bookmark Dropdown or Bar) it can be run by typing the bookmark name in the Address Bar/Omnibox and selecting it from the results
A great website to easily share Bookmarklets (and include libraries if needed): https://bookmarkify.it/
Here are some useful ones I created/use:
פרינט אשכול: Script that loads multiple pages from topic cleaned up (without header, footer, writer's profile, and buttons) ready to be printed (see discussion on it in פרינטן א גאנצער אשכול פון אסאך בלעטער
לאוד אלע זוך רעזולטאטן: Similar to previous script, but modified to work on Search Result page
לאוד גאנצע אשכול אויפאמאל: Reworked script like the פרינט אשכול one, but leaving the page structure (just removing the ads and navigation), and a better progress/status indication
לאוד גאנצע אשכול - פילטער לויט לייקס: Created on request of a user to be able to see only "highly liked" posts in a topic, which would be the most interesting (see in context)
See a bunch of cool and funny bookmarklets (mostly for ivelt) in רעים'ס ivelt index, the "ניצן javascript" section: https://www.ivelt.com/forum/viewtopic.php?p=3252839#p3252839
Easily edit text on webpage with one click: javascript:document.body.contentEditable = 'true'; document.designMode='on'; void 0 (see: JavaScript trick to EDIT any website in a Browser)
Userscripts:
Userscripts are JavaScript functions that can be run in a browser automatically using browser extensions like Tampermonkey etc. Here are some info about them:
An awesome resource to find and publish (to share and have an easy update mechanism) is Greasy Fork
On Android those run well on using Tampermonkey within the Kiwi browser
Here are some useful ones I created/use:
Ivelt Auto Copy Post Content: Copy text to clipboard when clicking Submit on Ivelt forum, for posts that are longer than 500 characters, so not to lose them in case you're getting logged out
פייער תגובה - איינס צוויי דריי אשכול: Removes the check for new posts specifically for the time sensitive (😆) "איינס, צוויי, דריי, פיר" topic, so we don't lose the opportunity by someone Jinxing
Hide Weather Report Posts from Avimelech: For some user/s the (NY) weather posts aren't interesting or newsworthy, so I created this script to hide the weather reports from Avimelech based on keywords used
Pagetual / Pagetual : Perpetual pages - powerful auto-pager script. Auto fetching next paginated web pages and inserting into current page for infinite scroll. Supports thousands of websites without any rule (including ivelt)