Skip to content

Instantly share code, notes, and snippets.

@tsweeper
Last active September 29, 2017 16:26
Show Gist options
  • Select an option

  • Save tsweeper/937c269fca60e71e28704f4de80a8440 to your computer and use it in GitHub Desktop.

Select an option

Save tsweeper/937c269fca60e71e28704f4de80a8440 to your computer and use it in GitHub Desktop.
// ==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