Adblock4limbo: JavaScript and CSS Ad Removal for iOS Proxy Tools
毒奶去网页广告计划用户脚本 For Quantumult X & Surge & Shadowrocket & Loon & Stash & 油猴 ;1.导航 2.通过 JS/CSS 移除特定网站网页广告 —— 搜索引擎(Bing/Google)广告及内容农场结果清除/低端影视/欧乐影院/iyf爱壹帆/哔滴影视/Pornhub/Javbus/Supjav/Jable(M3U8)/MissAv/91porn/hitomi/紳士漫畫/禁漫天堂/等视频&ACG&小说&漫画网站上的弹窗广告&视频广告&Gif广告,沉浸式翻译/提取M3U8等,保持网页清爽干净无打扰! P.S. 欢迎提交issue
At a glance
- What is it?
- Adblock4limbo is an ad-blocking project that removes banner, popup, and video ads from 30+ websites via JavaScript injection and CSS selectors, delivered through Quantumult X, Surge, Shadowrocket, and Tampermonkey userscripts. It targets iOS browsers and has been updated continuously since November 2020.
- Who is it for?
- Adblock4limbo is the right choice for iOS users who already run Quantumult X, Surge, or Shadowrocket and want ad blocking for the specific Chinese video sites, search engines, and ACG sites it covers. It is not appropriate for PC or Mac desktop browsers: the README explicitly recommends uBlock Origin for those users.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository received new commits within the last day.
- What is it written in?
- Mainly JavaScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on September 30, 2026, and from our analysis. They are not legal advice.
Editorial analysis
What Adblock4limbo Covers and Who It Is For
Adblock4limbo is an ad-blocking collection started on 2020-11-01 that targets iOS browser users running a proxy tool (Quantumult X, Surge, Shadowrocket, Loon, or Stash) or a userscript manager (Tampermonkey). It removes ads from a maintained list of approximately 30 sites through JavaScript injection and CSS selector rules delivered via MITM (man-in-the-middle) script rewriting.
The site categories covered include Chinese online video platforms (such as CN影视, 剧迷网, 独播库, 欧乐影院, libvio, and 韩剧TV), search engines (Google and Bing content farm results, Baidu image and text ads, Baidu 知道), ACG and manga sites (hitomi, anime1, hanime1, 绅士漫画, 禁漫天堂), and adult video sites (Jable with M3U8 extraction, MissAV, Pornhub, Xvideos, 91porn, and others). The complete maintained list is in the file Adblock4limbo.weblist, which the README says is updated in real time.
For desktop browsers, the README directs PC and Mac users to uBlock Origin, a browser extension, rather than this project. Android users are directed to Firefox with uBlock Origin. Adblock4limbo is therefore specifically a solution for the iOS mobile browser use case where browser extensions are not available and proxy-level injection is the primary mechanism.
How the Blocking Works: MITM and Script Injection
Adblock4limbo works through MITM decryption of HTTPS traffic by the proxy tool. The proxy tool intercepts the page response, the script rewrite rule runs, and Adblock4limbo.js injects ad-blocking CSS selectors and JavaScript into the page before it reaches the browser. This is why the proxy tool must have MitM, Rewrite, and Script enabled, and why the site's domain must be listed in the hostname configuration.
Three JavaScript files make up the blocking layer. Adblock4limbo.js is the rewrite script that inserts the CSS selectors and per-site blocking logic into page responses. Adblock4limbo.user.js is the Tampermonkey userscript version of the same blocking logic for userscript managers. Adblock4limbo.function.js powers the navigation page that can be injected into any site.
The CSS selectors cover generic ad patterns plus site-specific rules. For search engines, the blocking removes not just paid ads but also content farm results (低质内容农场) from Google and Bing result pages. For video sites, the blocking skips or removes pre-roll ad countdowns and popup overlays. The exact scope for each site is visible in the Adblock4limbo.weblist file.
Setting Up in Quantumult X and Surge
For Quantumult X, the setup requires adding two references: a routing list and a rewrite reference. The routing list URL is:
https://limbopro.com/Adblock4limbo.listThe rewrite reference URL is:
https://limbopro.com/Adblock4limbo.confAfter adding these references, configure the MITM certificate if not already done, then clear the browser cache before testing.
For Surge, install the module by navigating to Surge > Home > Modules > Install New Module and pasting:
https://limbopro.com/Adblock4limbo.sgmoduleAfter module installation, update external resources by going to the configuration list and tapping Update All. Then configure routing: add a new external rule set with the Reject policy and the following URL:
https://raw.githubusercontent.com/limbopro/Adblock4limbo/main/Adblock4limbo_surge.listThe README notes that updating external resources after module installation is a step many users miss. MitM, Rewrite, and Script must be enabled in Surge for the blocking to take effect.
Adding the Navigation and Script to Arbitrary Sites
Beyond the maintained site list, the README documents a method for injecting Adblock4limbo's navigation page and its 18,000+ generic ad-blocking CSS selectors into any site. The approach requires configuring the proxy tool's MITM to decrypt that site's domain and adding a script rewrite rule.
An example configuration from the README for applying the script to BBC News and TED illustrates the pattern:
hostname = www.bbc.com, www.ted.comThe script path to reference in the rewrite rule is:
https://limbopro.com/Adguard/Adblock4limbo.jsThe README provides regular expression examples for matching page responses while excluding CSS, JavaScript, video, and font files. Feedback for new site requests can be submitted through GitHub Issues; the README states that valuable site requests are typically handled within 24 hours.
For new issue submissions, the required information is: the site domain, the page URL where ads appear, the ad type (GIF, popup, bottom banner, etc.), and the proxy tool or browser extension being used.
Limitations, Desktop Alternatives, and Maintenance
Adblock4limbo has three hard constraints. First, it requires a running proxy tool on the device: Quantumult X, Surge, Shadowrocket, Loon, or Stash for iOS, or Tampermonkey for any desktop browser. Without one of these, the injection mechanism does not exist. Second, it works only on iOS browsers as the primary target: the README states this scope explicitly and recommends uBlock Origin for desktop and Android.
UBlock Origin is a browser extension for desktop Chrome and Firefox that blocks ads through filter lists without requiring a proxy tool or MITM certificate. It works at the browser level rather than the network level. The fundamental difference in approach is that Adblock4limbo patches site responses at the proxy layer on iOS, while uBlock Origin filters requests and hides elements directly in the browser on desktop.
Third, the project requires ongoing maintenance as sites add new ad formats or change domains. Blocked sites that have changed domain are struck through in the README's table. Users who find ads on a maintained site should check that the external resources are up to date and that the browser cache has been cleared before submitting a report.
The last push was on 2026-09-15. The repository is not archived, and the maintained site list continues to grow through community issue submissions. The license is MIT.
Editorial conclusion
Adblock4limbo is the right choice for iOS users who already run Quantumult X, Surge, or Shadowrocket and want ad blocking for the specific Chinese video sites, search engines, and ACG sites it covers. It is not appropriate for PC or Mac desktop browsers: the README explicitly recommends uBlock Origin for those users. The project has been updated since 2020-11-01 and received its last push on 2026-09-15, indicating ongoing maintenance. The license is MIT.
Frequently asked questions
Which proxy tools does Adblock4limbo support on iOS?
Adblock4limbo supports Quantumult X (the primary target), Surge, Shadowrocket, Loon, and Stash. A Tampermonkey userscript version is also available for desktop browsers. The README recommends uBlock Origin for PC and Mac users and Firefox with uBlock Origin for Android.
How do I add a new site to Adblock4limbo's blocking list?
Submit a GitHub Issue with the site domain, the page URL where ads appear, the ad type (GIF, popup, video pre-roll, etc.), and the proxy tool or browser extension you are using. The README states that useful site requests are typically handled within 24 hours.
Why are ads still showing after I install Adblock4limbo?
The README lists four troubleshooting steps: clear the browser cache, open the page in a private window, check that the browser does not have a built-in ad blocker that conflicts (the README names Alook browser as an example), and ensure MitM, Rewrite, and Script are enabled in the proxy tool. Updating external resources after a module install is another common missed step for Surge users.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/limbopro-adblock4limbo)