Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name JohnRipper
- // @namespace BitchesLoveTacos2
- // @include https://forums.dust514.com/*
- // @version 1
- // @grant none
- // ==/UserScript==
- var yourname = "Cat Merc";
- var changedName = "General John Ripper";
- var changedAvatarUrl = "http://i.imgur.com/UaniIKO.jpg";
- body = document.body;
- images = body.getElementsByClassName("avatarimage lazy");
- names = body.getElementsByClassName("box");
- for(i = 0; i < names.length; i++) {
- if(names[i].getAttribute("title") == yourname)
- {
- names[i].innerHTML = "General John Ripper";
- names[i].setAttribute("title","Immortal John Ripper");
- images[i].setAttribute("src", changedAvatarUrl);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement