
AdHole marinuspax מאת
Attempts to delete promoted in-line ad content within the old.reddit.com document object model.
אין משתמשיםאין משתמשים
יש צורך ב־Firefox כדי להשתמש בהרחבה זו
נתוני העל של ההרחבה
על אודות הרחבה זו
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');
});
מדורג 5 על־ידי סוקר אחד
הרשאות ונתוניםמידע נוסף
הרשאות נדרשות:
- גישה לנתונים שלך עבור old.reddit.com
מידע נוסף
- גרסה
- 1.0
- גודל
- 13.74 ק״ב
- עדכון אחרון
- לפני 6 שנים (4 ינו׳ 2020)
- קטגוריות קשורות
- רישיון
- GNU General Public License v3.0 only
- היסטוריית הגרסאות
- הוספה לאוסף
עוד הרחבות מאת marinuspax
- אין דירוגים עדיין
- אין דירוגים עדיין
- אין דירוגים עדיין
- אין דירוגים עדיין
- אין דירוגים עדיין
- אין דירוגים עדיין