dwi.siswanto / Telkom Ads Blocker

// ==UserScript==
// @name          Telkom Ads Blocker
// @namespace     http://dwi-siswant0.blogspot.com
// @description   To block Telkom advertisements secretly injects
// @version       1.0.0
// @author        Dwi Siswanto <dwi.siswanto98@gmail.com>
// @icon          https://3.bp.blogspot.com/-vrVW_wDoaPA/V0b2Yz2xnzI/AAAAAAAAC9c/5kRXHCCLkkcPuHzX8XjNHvPLNOagRLzeACLcB/s1600/telkom-logo.png
// @icon64        https://3.bp.blogspot.com/-vrVW_wDoaPA/V0b2Yz2xnzI/AAAAAAAAC9c/5kRXHCCLkkcPuHzX8XjNHvPLNOagRLzeACLcB/s1600/telkom-logo.png
// @include       http://*
// ==/UserScript==

document.body.innerHTML = document.body.innerHTML.replace(/(https?|ftp):\/\/[.a-z]+\.u-ad\.info[.a-z0-9/-]+/gi, '127.0.0.1');