Created
November 9, 2012 12:01
-
-
Save ZhangYiJiang/4045368 to your computer and use it in GitHub Desktop.
Asslandia
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 Asslandia | |
// @namespace yijiang | |
// @include http://www.glitch.com/* | |
// @version 1.01 | |
// ==/UserScript== | |
// NEVER FORGET LNVG40H1DOD392I :( | |
var assLinks = document.querySelectorAll('a[href*="LA9BT2I0ILD340S"]'); | |
for (var i = 0, l = assLinks.length; i < l; i++) { | |
var link = assLinks[i]; | |
// Don't change snap links | |
if (link.href.match('snaps')) continue; | |
link.textContent = 'Asslandia'; | |
} | |
// Snaps index page title | |
var snapTitle = document.getElementsByClassName('photo-index-title'); | |
for (var i = 0, l = snapTitle.length; i < l; i++) { | |
snapTitle[i].textContent = snapTitle[i].textContent.replace(/Shim Shiri/g, 'Asslandia'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment