
AdHole sɣur marinuspax
Attempts to delete promoted in-line ad content within the old.reddit.com document object model.
Ulac iseqdacenUlac iseqdacen
Ilaq-ak·am Firefox i useqdec n usiɣzef-a
Asiɣzef aɣefisefka
Ɣef usiɣzef agi
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
Tisirag akked yisefkaIssin ugar
Yesra tisirag:
- Kcem ɣer isefka-ik i old.reddit.com
Ugar n telɣut
- Lqem
- 1.0
- Teɣzi
- 13,74 KB
- Aleqqem aneggaru
- 6 år sidan (4. jan. 2020)
- Taggayin i ilan assaɣ
- Amazray n Lqem
- Rnu ar tegrumma
Ugar n isiɣzaf sɣur marinuspax
- Ulac tazmilt akka tura
- Ulac tazmilt akka tura
- Ulac tazmilt akka tura
- Ulac tazmilt akka tura
- Ulac tazmilt akka tura
- Ulac tazmilt akka tura