Firefox 瀏覽器附加元件
  • 擴充套件
  • 佈景主題
    • 用於 Firefox
    • 字典與語言套件
    • 其他瀏覽器網站
    • Android 版的附加元件
登入
AdHole 預覽

AdHole 作者: marinuspax

Attempts to delete promoted in-line ad content within the old.reddit.com document object model.

5 (1 reviews)5 (1 reviews)
無使用者無使用者
必須使用 Firefox 才能使用此擴充套件
下載 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');
});
由 1 位評論者給出 5 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
1
4
0
3
0
2
0
1
0
閱讀全部 1 條評論
權限與資料了解更多

必要權限:

  • 存取您在 old.reddit.com 的資料
更多資訊
版本
1.0
大小
13.74 KB
最近更新
6 年前 (2020年1月4日)
相關分類
  • 隱私權與安全性
  • 外觀
  • 其它
授權條款
僅 GNU General Public License v3.0
版本紀錄
  • 瀏覽所有版本
新增至收藏集
檢舉此附加元件
marinuspax 製作的更多擴充套件
  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隱私權
  • Cookie
  • 法律資訊

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。