
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');
});
あなたの体験を評価
権限詳細情報
このアドオンの権限:
- old.reddit.com のユーザーデータへのアクセス
詳しい情報
- バージョン
- 1.0
- サイズ
- 13.74 KB
- 最終更新日
- 5年前 (2020年1月4日)
- 関連カテゴリー
- ライセンス
- GNU General Public License v3.0 only
- バージョン履歴
コレクションへ追加
marinuspax が公開している他の拡張機能
- まだ評価されていません
- まだ評価されていません
- まだ評価されていません
- まだ評価されていません
- まだ評価されていません
- まだ評価されていません