Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Replace "vv" with "w" for Iceberg
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description try to take over the world!
- // @author You
- // @match https://trade.whaleclub.co/trade/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- window.replace = function() {
- var elem = document.querySelectorAll('body > div.dashboard > div.dashboard-body > div.dashboard-left.resizable > div.dashboard-chat > div > div.chat-body > div > div.item-content > div.item-header > span.author[title="Tag Iceberg"]');
- for (var i = 0; i < elem.length; i++) {
- elem[i].parentNode.nextElementSibling.innerHTML = elem[i].parentNode.nextElementSibling.innerHTML.replace(/vv/g, "w");
- }
- };
- window.setInterval(replace, 1000);
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement