NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Wayback Beavisaudio // @updateURL https://openuserjs.org/meta/rockola/Wayback_Beavisaudio.meta.js // @description Get around robots.txt problems when accessing beavisaudio.com @ Wayback Machine // @copyright 2016, Ola Rinta-Koski (http://ola.rinta-koski.net) // @namespace http://www.tavaton.com/greasemonkey/ // @include https://web.archive.org/*/http://*beavisaudio.com/* // @version 1 // @grant none // ==/UserScript== // ==OpenUserJS== // @author rockola // ==/OpenUserJS var links = document.getElementsByTagName("a"); //array var regex = /^(https?:\/\/.*)www\.(beavisaudio\.com\/.+)$/i; for (var i=0,imax=links.length; i<imax; i++) { links[i].href = links[i].href.replace(regex,"$1$2"); }