Greasy Fork is available in English.

[TS] Linx Amender

Generic tracking/redirection/open-in-new-tab removal; Amend page title; URL redirector; and more power functionality. Has rules for Pixiv, deviantArt, twitter, youtube, blogger, Batota etc.

Устаревшая версия за 29.11.2014. Перейдите к последней версии.


Установить этот скрипт?
Автор
TimidScript
Оценки
000
Версия
3.0.23
Создано
21.08.2014
Обновлено
29.11.2014
Размер
66,0 КБ
Лицензия
Creative Commons BY-NC-SA + Please notify me if distributing
Работает на
всех сайтах

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:

  1. URL Rules that allow you to redirect page (Does not work in iframe)
  2. Title Rules that allow you to change page title (Does not work in iframe)
  3. CSS Rules add styles to a page
  4. Script Rules
  5. Attribute Rules that allow you to amend, delete or add node attributes
  6. 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 windowHotkey Alt+F9   - Brings up settings window + ForceUpdateOnline Rules URL Default:https://github.com/TimidScript/GreasyMonkey/raw/master/data/LinxAmenderRules.txtDefault Online Rules can be set using GM_setValueGM_setValue("OnlineRul###RL", "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 linksBlog [1]: NCR Redirect to COM TLD {Blogspot, Blogger}Blog [2]: COM Click Content WarningDeviantArt: Direct outgoing linksDeviantArt: Open download deviants in same tabPixiv: Temporary Fix for GreaseMonkeyTESNexus: Redirect to Oblivion NexusmodsTwitter: 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 EnglishYoutube: Direct outgoing linksYoutube: Removes Playlist in Channel Video LinksYoutube: Highlight Visited Links

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