This project is read-only.

How to disable ads on pages?

Apr 16, 2014 at 11:46 AM
Is there some way to disable / hide ads on pages when using this template?

I know many sites got there income from ads, but when browsing a page on the phone this is really anoying.

Cheers
Apr 17, 2014 at 9:09 AM
Yes there is.

You can use the 'hiddenelements' section under 'style' in config.json to define an array of html elements that will be hidden.

These are standard CSS selectors co can be .classes, #ids or element names (i.e. footer)
Marked as answer by InsomniaStudios on 4/20/2014 at 8:39 AM
May 1, 2014 at 7:21 AM
So, just to make it all clear because I have searched the net to fix this...
"hiddenElements":[], is where I need to write what to block. And I have the URLs to the site showing the ads, so? How do I write to block them there?