Scope is limited to old.reddit.com - this means it only works when the domain is *old.reddit.com/*
On the client, the add-on uses javascript to search through the dom for elements with a class name of 'promotedlink' and removes each element found.
source code below:
function removeElementsByClass(className){
var elements = document.getElementsByClassName(className);
while(elements.length > 0){
elements[0].parentNode.removeChild(elements[0]);
}
}
removeElementsByClass('promotedlink');
document.addEventListener("DOMContentLoaded", function(event){
removeElementsByClass('promotedlink');
});
- License: GNU General Public License v3.0 or later
- Weekly downloads: 0
- Average daily users: 1
- Rating: 5/5 of 1 ratings
- Created: 2020-01-04 19:19:09
- Last updated: 2020-01-04 20:55:10
- Homepage:
- Support site and email
- Orig: https://addons.mozilla.org/en-US/firefox/addon/adhole/
- API: {087e1cf6-0fce-4e91-8c43-0548160fe743}