Adblock for Requestly

Evades Requestly's adblock blocker

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @id           	adblock.requestly
// @version      	0.1
//
// # WHAT?
// @name         	Adblock for Requestly
// @description  	Evades Requestly's adblock blocker
// @license         The Unlicense
// @licenseURL		http://unlicense.org/
//
// # WHO?
// @author       	Hocine Benferhat
// @namespace    	https://github.com/hocine
// @icon         	https://c2.staticflickr.com/4/3194/2286487061_c87015d8d7_z.jpg
//
// # WHERE?
// @match        	*://web.requestly.in/*
// @homepageURL     https://github.com/hocine/gm.adblock.requestly/
// @supportURL      https://github.com/hocine/gm.adblock.requestly/issues
//
// # HOW?
// @grant        	none
// @require      	https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js
// @run-at          document-start
// @priority        9001
// ==/UserScript==


(function() {
	this.$ = this.jQuery = jQuery.noConflict(true);
	
	__add_styles(
		'.ad-container {' +
		'    right: -9999px !important;' +
		'    position: fixed !important;' +
		'}'
	);

	function __add_styles(styles) {
		$('head').append('<style>' + styles + '</style>');
	}
})();