
AdHole di marinuspax
Attempts to delete promoted in-line ad content within the old.reddit.com document object model.
Devi utilizzare Firefox per poter installare questa estensione
Metadati estensione
Informazioni sull’estensione
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');
});
Valuta la tua esperienza utente
PermessiUlteriori informazioni
Questo componente aggiuntivo necessita di:
- Accedere ai dati utente di old.reddit.com
Ulteriori informazioni
- Versione
- 1.0
- Dimensione
- 13,74 kB
- Ultimo aggiornamento
- 5 anni fa (4 gen 2020)
- Categorie correlate
- Licenza
- Solo GNU General Public License v3.0
- Cronologia versioni
Aggiungi alla raccolta
Altre estensioni di marinuspax
- Non ci sono ancora valutazioni
- Non ci sono ancora valutazioni
- Non ci sono ancora valutazioni
- Non ci sono ancora valutazioni
- Non ci sono ancora valutazioni
- Non ci sono ancora valutazioni