
AdHole — marinuspax
Attempts to delete promoted in-line ad content within the old.reddit.com document object model.
Za uporabo te razširitve potrebujete Firefox
Metapodatki o razširitvi
O tej razširitvi
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');
});
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');
});
Ocenite svojo izkušnjo
DovoljenjaVeč o tem
Ta dodatek lahko:
- dostopa do vaših podatkov za old.reddit.com
Več informacij
- Različica
- 1.0
- Velikost
- 13,74 KB
- Zadnja posodobitev
- pred 5 leti (4. jan. 2020)
- Sorodne kategorije
- Licenca
- Samo GNU General Public License v3.0
- Zgodovina različic
Dodaj v zbirko
Več razširitev razvijalca marinuspax
- Še ni ocenjeno
- Še ni ocenjeno
- Še ni ocenjeno
- Še ni ocenjeno
- Še ni ocenjeno
- Še ni ocenjeno