Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Echelog hide part/join
- // @version 1
- // @grant none
- // @match *://echelog.com/*
- // ==/UserScript==
- console.log("asdf");
- function elForEach(array, callback, scope) {
- for (var i = 0; i < array.length; i++) {
- callback.call(scope, i, array[i]);
- }
- }
- window.addEventListener('load', function() {
- var spans = document.querySelectorAll('span.a, span.b');
- elForEach(spans, function (i, v) { v.parentElement.style.display = 'none'; });
- }, false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement