Last active
September 29, 2017 16:26
-
-
Save tsweeper/937c269fca60e71e28704f4de80a8440 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 marumaru helper | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description delete ads from marumaru.in | |
| // @author Simon tsweeper Lee | |
| // @match *://marumaru.in/* | |
| // @match *://wasabisyrup.com/* | |
| // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js | |
| // @require https://gist.github.com/raw/2625891/waitForKeyElements.js | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| function cleanup (jNode) { | |
| jNode.each( function (index) { this.remove(); }); | |
| } | |
| waitForKeyElements (".banner_top, #widget__insert_html, #responsive-banner, #boardList>form>div>iframe, div.banner_left, div.banner_cont", cleanup); | |
| waitForKeyElements ("#boardView>div>iframe, div#vContent.content>center", cleanup); | |
| waitForKeyElements (".logo-top, .top-group, .bottom-group, .group-container, .content-group", cleanup); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment