
AdHole od marinuspax
Attempts to delete promoted in-line ad content within the old.reddit.com document object model.
Nema korisnikaNema korisnika
Za korištenje ovog proširenja trebat ćeš Firefox
Metapodaci proširenja
Informacije o ovom proširenju
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');
});
Rated 5 by 1 reviewer
Dozvole i podaciSaznaj više
Potrebne dozvole:
- Pristupiti tvojim podacima za old.reddit.com
Daljnje informacije
- Verzija
- 1.0
- Veličina
- 13,74 KB
- Zadnje aktualiziranje
- prije 6 godina (4. sij. 2020)
- Povezane kategorije
- Povijest verzija
- Dodaj u zbirku
Daljnja proširenja od marinuspax
- Još nema ocjena
- Još nema ocjena
- Još nema ocjena
- Još nema ocjena
- Još nema ocjena
- Još nema ocjena