Last active
November 10, 2020 22:33
-
-
Save SpedNSFW/b38101f53dec7a53f1892b240c15a1a7 to your computer and use it in GitHub Desktop.
Removes the "member." prefix added to scene links
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Fix Vixen Links | |
| // @namespace https://github.com/SpedNSFW | |
| // @version 1.0 | |
| // @description Removes the "member." prefix added to scene links | |
| // @author SpedNSFW | |
| // @match https://www.blacked.com/* | |
| // @match https://www.blackedraw.com/* | |
| // @match https://www.deeper.com/* | |
| // @match https://www.tushy.com/* | |
| // @match https://www.tushyraw.com/* | |
| // @match https://www.vixen.com/* | |
| // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js | |
| // @require https://gist.githubusercontent.com/raw/2625891/waitForKeyElements.js | |
| // @grant none | |
| // @downloadURL https://gist.githubusercontent.com/SpedNSFW/b38101f53dec7a53f1892b240c15a1a7/raw/vixenLinks.js | |
| // @uploadURL https://gist.githubusercontent.com/SpedNSFW/b38101f53dec7a53f1892b240c15a1a7/raw/vixenLinks.js | |
| // ==/UserScript== | |
| if (!NodeList.prototype.forEach) NodeList.prototype.forEach = Array.prototype.forEach; | |
| waitForKeyElements('#model-videos-list .pb6v16-1.fNpwyc', function(node) { | |
| node[0].querySelectorAll('a[href^="//members"]').forEach(e => { | |
| e.href = e.href.replace(/members\./, ''); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment