AstroSkipper Posted January 12 Author Share Posted January 12 (edited) 10 hours ago, adata said: Whether there is an "the stream detector" extension for Palemoon (New Moon) browser? https://addons.mozilla.org/en-US/firefox/addon/hls-stream-detector/ Yes, there is. Try HLS Stream Detector 0.4.3! You will find it in the Classic Add-ons Archive via this link: caa:addon/hls-stream-detector. I used it in the past, and it worked great. Whether this extension is still working in these days, you simply have to test it yourself after installation. Please report here! Edited January 12 by AstroSkipper 3 Link to comment Share on other sites More sharing options...
UCyborg Posted January 13 Share Posted January 13 (edited) I think the only way to have modern ad blocking is to port a modern blocker. These 2 sites for instance that the old blocker can't get around, but a new one can. https://www.xda-developers.com/ https://www.howtogeek.com/ Edited January 13 by UCyborg Link to comment Share on other sites More sharing options...
AstroSkipper Posted January 13 Author Share Posted January 13 2 hours ago, UCyborg said: I think the only way to have modern ad blocking is to port a modern blocker. These 2 sites for instance that the old blocker can't get around, but a new one can. https://www.xda-developers.com/ https://www.howtogeek.com/ This is always to be expected with old, no longer really further developed extensions for UXP browsers & co. and is generally unavoidable. If it only affects a few pages, it's easy to get over. I will also test the two websites with my upcoming release uBlock Origin 1.16.4.31. 2 Link to comment Share on other sites More sharing options...
AstroSkipper Posted January 13 Author Share Posted January 13 (edited) 2 hours ago, AstroSkipper said: 4 hours ago, UCyborg said: I think the only way to have modern ad blocking is to port a modern blocker. These 2 sites for instance that the old blocker can't get around, but a new one can. https://www.xda-developers.com/ https://www.howtogeek.com/ This is always to be expected with old, no longer really further developed extensions for UXP browsers & co. and is generally unavoidable. If it only affects a few pages, it's easy to get over. I will also test the two websites with my upcoming release uBlock Origin 1.16.4.31. @UCyborg First of all, the How-To-Geek website is a bit clumsy in New Moon 28 and leads to high processor utilisation on older, weak systems. For comparison purpose, I checked this site first in Mypal 68 with uBlock Origin 1.49.2 activated. Here is a screenshot with the filtering results: As you already stated, no problems there. The How-To-Geek website does not block uBlock Origin 1.49.2, and uBO does its job properly. Then, I checked this website in New Moon 28 with uBlock Origin 1.16.4.31 activated. Here is a screenshot with the filtering results: The How-To-Geek website recognises uBlock Origin 1.16.4.31 as an adblocker and prevents the loading of the actual content. That means uBlock Origin 1.16.4.31 works but it is simply blocked. Thus, one has to make some special settings in uBlock Origin 1.16.4.31 to get this website loading but without allowing all ads. Here are my settings I have made to block as many ads as possible: And that's something I can live with. Edited January 13 by AstroSkipper 2 Link to comment Share on other sites More sharing options...
UCyborg Posted January 13 Share Posted January 13 (edited) I'd prefer to have the way to do it properly, modern uBlock does it by simply throwing out entire inline script in the base HTML, it locates it by unique string "v4ac1eiZr0". I tried the ugly userscript way hinted here, but doesn't work, just stops the page loading and doesn't put the modified HTML back in place. // ==UserScript== // @name Anti-AdsNinja // @namespace https://github.com/UCyborg // @version 0.1 // @author UCyborg // @match https://www.howtogeek.com/* // @match https://www.xda-developers.com/* // @run-at document-start // @grant none // ==/UserScript== (function() { 'use strict'; window.stop(); let xhr = new XMLHttpRequest(); xhr.open('GET', window.location.href); xhr.onload = () => { let html = xhr.responseText.replace(/<script\b[\s\S]*?<\/script>/, s => { // check if script tag should be replaced/deleted if (s.includes('v4ac1eiZr0')) { return ''; } else { return s; } }); document.open(); document.write(html); document.close(); }; xhr.send(); })(); Tried Proxomitron, but it doesn't work as the content is Brotli compressed as indicated by Content-Encoding in the header...am I missing something or Proxomitron doesn't support compressed content either? @NotHereToPlayGames? Name = "XDA Developers: Remove AdsNinja" Active = TRUE URL = "www.xda-developers.com/ $TYPE(htm)" Limit = 8500 Match = "<script type="text/javascript">*"v4ac1eiZr0"*</script>" Name = "How-To-Geek: Remove AdsNinja" Active = TRUE URL = "www.howtogeek.com/ $TYPE(htm)" Limit = 8500 Match = "<script type="text/javascript">*"v4ac1eiZr0"*</script>" Modify HTTP Response extension doesn't seem to allow any flexibility in matching even the files I want to modify as far as I can tell, eg. how do I say match all HTML from domain? Not sure about the matching actual content either, supposedly at least JavaScript regular expressions are supposed to work there, but haven't tested. Edit: I guess Proxomitron does Gzip, but not Brotli, which is a newer algorithm. Someone asked about implementing Brotli support in Proxomitron Reborn in its thread here, though there's no mention whether it was acknowledged and if it will be included in the upcoming version, whenever it may be released. Edited January 13 by UCyborg Link to comment Share on other sites More sharing options...
VistaLover Posted January 13 Share Posted January 13 In my St52 copy, with the original UBO-v1.16.4.31b2 (will check the mods created by AstroSkipper hopefully tomorrow), I don't get blocked by the XDA-dev site ; I do, however, have many custom-added filter lists and several changed ones (out of the default set), so it's possible one of these is responsible for thwarting the blockade ... OTOH, I do get blocked by the HTG site, however I've learned not to be easily intimidated by such ploys ; uBO-legacy is still able to nullify the block by a simple "cosmetic-filtering" rule: ! 2024-01-13 https://www.howtogeek.com www.howtogeek.com##.bOvWNQ The purists will say that the ad-blocker-detecting script passes through and is still executed (unlike with the current, WE, version of uBO in supported browsers), but for me the end result counts, i.e. I'm free to browse the site without disabling and/or further configuring my content blocker ... Of course, it's always been a "cat-and-mouse" chase, so one must always stay alert... 1 Link to comment Share on other sites More sharing options...
UCyborg Posted January 13 Share Posted January 13 (edited) 26 minutes ago, VistaLover said: www.howtogeek.com##.bOvWNQ That class name does work for XDA Developers as well, but I'm curious if you search its HTML, do you get any hits for "v4ac1eiZr0" (without quotes)? Edited January 13 by UCyborg Link to comment Share on other sites More sharing options...
AstroSkipper Posted January 13 Author Share Posted January 13 41 minutes ago, VistaLover said: OTOH, I do get blocked by the HTG site, however I've learned not to be easily intimidated by such ploys ; uBO-legacy is still able to nullify the block by a simple "cosmetic-filtering" rule: ! 2024-01-13 https://www.howtogeek.com www.howtogeek.com##.bOvWNQ The purists will say that the ad-blocker-detecting script passes through and is still executed (unlike with the current, WE, version of uBO in supported browsers), but for me the end result counts, i.e. I'm free to browse the site without disabling and/or further configuring my content blocker ... Of course, it's always been a "cat-and-mouse" chase, so one must always stay alert... Good idea! I forgot to use first the Block Element feature of uBO via context menu. Doing so the rule will be added automatically and result in your provided rule. Thanks for the hint! 4 Link to comment Share on other sites More sharing options...
VistaLover Posted January 13 Share Posted January 13 27 minutes ago, UCyborg said: but I'm curious if you search its HTML, do you get any hits for "v4ac1eiZr0" (without quotes)? ... Yes, I do! Link to comment Share on other sites More sharing options...
AstroSkipper Posted January 13 Author Share Posted January 13 (edited) 1 hour ago, VistaLover said: In my St52 copy, with the original UBO-v1.16.4.31b2 (will check the mods created by AstroSkipper hopefully tomorrow), I don't get blocked by the XDA-dev site ; I do, however, have many custom-added filter lists and several changed ones (out of the default set), so it's possible one of these is responsible for thwarting the blockade ... I was blocked on the XDA-dev site in exactly the same way as it was on the How-To-Geek site. And the same trick via Block Element works there, too. Thus, both rules are identical: ! 2024-01-13 https://www.howtogeek.com www.howtogeek.com##.bOvWNQ ! 2024-01-13 https://www.xda-developers.com www.xda-developers.com##.bOvWNQ Edited January 13 by AstroSkipper Update of content 1 Link to comment Share on other sites More sharing options...
VistaLover Posted January 13 Share Posted January 13 (edited) ... And I was NOT blocked on the XDA-dev site probably due to me using "EasyList (Optimized)" instead of the stock "EasyList": For anyone interested: https://filters.adtidy.org/extension/ublock/filters/101_optimized.txt Edited January 13 by VistaLover Link to comment Share on other sites More sharing options...
AstroSkipper Posted January 13 Author Share Posted January 13 1 hour ago, AstroSkipper said: (will check the mods created by AstroSkipper hopefully tomorrow) At the moment, there is only one mod for checking, uBlock Origin 1.16.4.31b2-1.54.0 from this post.. But another mod is coming very soon that is strictly orientated on version 1.16.4.31b2. It is my new release uBlock Origin 1.16.4.31. 2 Link to comment Share on other sites More sharing options...
UCyborg Posted January 13 Share Posted January 13 (edited) 1 hour ago, VistaLover said: Meaning you let stuff from cdn.adsninja.com through. I only allow scripts from disqus.com, disquscdn.com and unpkg.com. Still learning...https://github.com/gorhill/uBlock/wiki/Inline-script-tag-filtering www.howtogeek.com##^script:has-text(v4ac1eiZr0) www.xda-developers.com##^script:has-text(v4ac1eiZr0) That's what I was looking for. Edited January 13 by UCyborg 1 Link to comment Share on other sites More sharing options...
AstroSkipper Posted January 13 Author Share Posted January 13 2 hours ago, VistaLover said: For anyone interested: https://filters.adtidy.org/extension/ublock/filters/101_optimized.txt @VistaLover Do you think this filter list is worth to be added to the default lists of uBlock Origin? And are there others you would recommend to add to the default ones? 3 Link to comment Share on other sites More sharing options...
VistaLover Posted January 13 Share Posted January 13 (edited) The ad-blocker detecting scripts in both the HTG and XDA-dev sites are being served by Admiral: https://www.getadmiral.com/pb (The brand name Admiral is also visible in the screengrab I posted above ) With slightly more free time on my hands now, I loaded a minimal NM28 profile with a default/stock installation of uBO-1.16.4.31b2; there, I, too, got blocked by the XDA-dev site, like attested already by UCyborg and AstroSkipper; if I just disable the stock EasyList filter list, I get through, but then I have to consent to Admiral's tracking: I briefly went through that form of theirs and, honestly speaking, I felt extremely violated by the extent of their tracking and data harvesting; 1,512 third parties want to store/access data on my device simply because I happen to want to load that site; this is pure insanity, if you ask me ... This is why I consider content-blockers of equal importance to the browsers themselves when surfing the (mostly hostile) web... Edited January 14 by VistaLover 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now