BAckground


Do you want to get rid of annoying and repeating ads on Saavn.com ?

NOTE: Works only on Google Chrome browser.

Saavn.com is a good website to stream music in India, but ads on the site reduces the fun and performance.
Lets stop ads on this website :D.

Create a folder “SaavnAdBlocker” on your machine anywhere, let’s say on “D”drive D:\
Create two files with following names and content.

block.js

//block.js
(function(){
 setTimeout(function(){ 
 var scr = document.createElement('script');
 scr.textContent = 'console.log(AdRotation); for(var key in AdRotation){ if(AdRotation.hasOwnProperty(key) && typeof AdRotation[key] == "string"){ AdRotation[key] = ""; } } AdRotation.adRotationTime *= 10000; AdRotation.slotDuration *= 10000; AdRotation.timerInterval *= 10000; console.log(AdRotation);'; 
 (document.head || document.documentElement).appendChild(scr); 
 }, 5000);
})();
 manifest.json

{
       "name": "SaavnAdBlocker",
       "description": "SaavnAdBlocker",
       "version": "1.0",
       "manifest_version": 2,
       "content_scripts": [
      {
              "matches": ["http://www.saavn.com/*"],
              "run_at": "document_end",
              "js": ["block.js"]
      }
   ]
}
1. Now open URL in Google Chrome: chrome://extensions/
2. Click on “Load unpacked extension..” button
3. A pop-up will ask you to select a folder
4. Now select the folder you just created and hit “ok” button
5. Your extension is loaded.
6. Now start Saavn.com, and enjoy without ads