Please Rate and Fav
Linx Amender is a powerful script that allows you to alter the page content using regular expression and rules. It's settings can be accessed through the GreaseMonkey menu or by pressing F9. The Online Rules
can be access by pressing Online Rules
Button. First time the button is pressed the rules are downloaded, then every seven days it updates the rules.
NB: This replaces [TS] Title Amender & [TS] Direct Outgoing Links. You can import their settings if you export them using their latest version.
(Order Changed From 3.0.19)
It has 6 different types of rules:
- URL Rules that allow you to redirect page (Does not work in iframe)
- Title Rules that allow you to change page title (Does not work in iframe)
- CSS Rules add styles to a page
- Script Rules
- Attribute Rules that allow you to amend, delete or add node attributes
- Click Rules that simulate mouse clicks
The order of rule execution is the same as the list above, with Attribute Rules/Click rules applied at the same time.
As of date, Online Rules
are provided for the following sites: deviantArt, Pixiv, Youtube, Blogspot, MangaUpdates (Baka-Updates Manga), Batota, Twitter, Voltairenet... and few more.
History
Version 3.0.19, introduces asynchronous link parsing. This solves a lot of hanging issues that are causes by large web-pages. It also fixes an issue caused with a number of sites that use iframes and ajax, which causes start lag with parsing using the MutationObserver. Problem is solved by using a several delays before turning on the MutationObserver.
Known Issues
There are a few problems with G-Chrome settings being lost, especially with Online Rules
list being truncated. The reason for this is unknown. It maybe due to TamperMonkey or Chrome. My advice is to a better browser like FireFox :D. If desire not to move, just copy the Online Rules
and everytime you want the latest Online Rules
press ctrl+F9 to bring up the settings window while downloading the latest Online Rules
.
Guide
Hotkey F9 - Brings up settings window
Hotkey Alt+F9 - Brings up settings window + ForceUpdate
Online Rules URL Default:
https://github.com/TimidScript/GreasyMonkey/raw/master/data/LinxAmenderRules.txt
Default Online Rules can be set using GM_setValue
GM_setValue("OnlineRulesURL", "https://newlocation/LinxAmenderRules.txt");
You can disable the "Online Rules" periodic checking by setting the value to "disabled".
###2014-09 (September), Online Rules
[Generic] Open links in same page (remove _blank) (Pixiv)
[Generic] Redirect to secure channel (http to https) (Youtube, MangaUpdates)
Baka-Updates Manga (mangaupdates.com) direct IRC links
Blog [1]: NCR Redirect to COM TLD {Blogspot, Blogger}
Blog [2]: COM Click Content Warning
DeviantArt: Direct outgoing links
DeviantArt: Open download deviants in same tab
Pixiv: Temporary Fix for GreaseMonkey
TESNexus: Redirect to Oblivion Nexusmods
Twitter: Auto-close "Signup Dialog"
Twitter: Unhide Sensitive Material (Content Warning)
Voltairenet:: Show Choosen Language Listings - Default English (Attrib Version)
Voltairenet:: Show Chosen Language Listings - Default English
Youtube: Direct outgoing links
Youtube: Removes Playlist in Channel Video Links
Youtube: Highlight Visited Links
Youtube Video: Play HTML 5. Provided by atomGit
Known issues and bugs
There is a bug with iframe that has to do with GreaseMonkey 2.1 and FF31+. More information found on GitHub issue #1997.
Screenshots