Created
December 8, 2012 19:48
-
-
Save Zegnat/4241608 to your computer and use it in GitHub Desktop.
Fix ‘Blog A Penguin Classic’.
This file contains 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 ‘Blog A Penguin Classic’. | |
// @author Martijn van der Ven <martijn@zegnat.net> | |
// @id fix-blog-a-penguin-classic | |
// @namespace http://zegnat.net | |
// @version 0.5 | |
// @match http://*.blogapenguinclassic.co.uk/* | |
// ==/UserScript== | |
(function(a,i,b){ | |
for(;b=a[i++];) | |
b.setAttribute('href', b.getAttribute('href').replace(/^pc_/,'pc')) | |
})(document.querySelectorAll('a[href^="pc_"]'),0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment