Greasy Fork is available in English.

幻听网

幻听网小说广告剔除

// ==UserScript==
// @name         幻听网
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  幻听网小说广告剔除
// @author       gwbc
// @match        http://www.ting89.com/*
// @icon         http://www.ting89.com/favicon.ico
// @grant        none
// ==/UserScript==

(function() {
	'use strict';

	// Your code here...

	var iframes = document.querySelectorAll('iframe');
	for (var i = 0; i < iframes.length; ++i) {
		iframes[i].remove();
	}

	var c = 0;
	var t = setInterval(function() {
		if (c > 200) {
			clearInterval(t);
			return
		}
		
		c++;

		var div = document.getElementById('cs_DIV_cscpvrich9121B')
		if (div != null) {
			div.remove();
		}
	}, 10);
})();