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 Decrapify CoolROM.com | |
// @description Replaces the malware extension-needing links with the actual download link | |
// @include http://coolrom.com/roms/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
// Main code taken from http://stackoverflow.com/a/29722028 | |
var anchors = document.querySelectorAll('a.btn-partner-test') | |
for(var i=0;i<anchors.length;i++){ |
NewerOlder