Skip to content

Instantly share code, notes, and snippets.

@cnicodeme
Last active December 29, 2015 15:48
Show Gist options
  • Save cnicodeme/7692684 to your computer and use it in GitHub Desktop.
Save cnicodeme/7692684 to your computer and use it in GitHub Desktop.
Remove the ads in the Aol Reader web application :)
// Just copy/paste this script in the developer console
// (or use the bookmarklet in the comments)
var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = '#reader-ad-container{display: none} #reader-container{margin-right: 0} .feed-header{right: 0}';
document.getElementsByTagName('head')[0].appendChild(style);
@cnicodeme
Copy link
Author

Here's the bookmarklet :

javascript:(function(){var style=document.createElement('style');style.type='text/css';style.innerHTML='#reader-ad-container {display: none}\n#reader-container {margin-right: 0}\n.feed-header {right: 0}';document.getElementsByTagName('head')[0].appendChild(style);})();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment