How to remove/block annoying popup advertisement by BSNL using AdBlock.

FreeRoaming

Seems like BSNLNET is taking the wrong route by injecting BSNL advertisements to almost any site its customer is visiting. This seems to be violating net neutrality laws which india was defending when Facebook came up with free basics.

Here is one of their injected code which I managed to grab.

<div id="__BULLETIN__bdiv" style="position: absolute; z-index: 999999999; visibility: visible; top: 244px; right: 20px; display: block; transition: top 0s ease 0s;">
<img id="__BULLETIN__bdivImage" style="height: 350px;" src="http://61.0.245.90/bg/FreeRoaming.jpg" />
<div style="overflow: hidden; position: absolute; right: 0; top: 0; z-index: 9999999999;">
<a id="__BULLETIN__button0" href="#"><img id="__BULLETIN__button0i" class="scalable" src="http://61.0.245.90/bg/CloseButton.png" name="button0" border="0" /></a>
</div>
</div>

Here is how to block the annoying advertisement using AdBlock.
1. Install AdBlock.

2. Click Adblock Icon on Chrome toolbar and select Options.

Screen Shot 2016-05-28 at 23.16.23

3. Click on “Hide a section of a web page” as shown below.

Screen Shot 2016-05-28 at 23.11.57

Leave “Domain of page to apply on” as it is. It must have a wildcart “*” which says this rule is applied to all domains.

4. Block the div element of advertisement by adding div[id=”__BULLETIN__bdiv”] to “CSS to match” field.

5. Click On Block It ! You’re done !