Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gorhill
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
211.
▲
by
gorhill
8y ago
> something more forward thinking like AdNauseum I personally disagree with "forward thinking" description for what AdNauseam does, hence why I disagreed when the AdNauseam authors asked me to implement hooks in uBO[1]. To me t
212.
▲
by
gorhill
8y ago
> hardworking volunteers continually update and maintain the filter lists This can't be said enough. Large numbers of users still have no idea that their blocker works at all because of these lists. The collective amount of work whi
213.
▲
by
gorhill
8y ago
Create a block (red) rule for `script` in global scope. I wrote is a guide for this, "How to block 1st party scripts everywhere by default" (link below) https://github.com/gorhill/uMatrix/wiki/How-to
214.
▲
by
gorhill
8y ago
Using the logger is key to solve that sort of issues. As stated in the documentation, the per-scope switches keep having an effect even if you disable matrix filtering. The logger will show you what is still modified by uMatrix if there is
215.
▲
by
gorhill
9y ago
The Fanboy Social list is mostly cosmetic filtering, it won't prevent connection to Facebook servers. For this I suggest dynamic filtering[1], as this guarantees there will be no connection to sites with block rules, and block rules ca
216.
▲
by
gorhill
9y ago
I should have included this in my first comment: this is a requirement from AMP to include the animation[1]: AMP HTML documents must contain the following boilerplate in their head tag. [...] <style amp-boilerplate>body{-web
217.
▲
by
gorhill
9y ago
If using uBlock Origin, you can try the example page with that cosmetic filter: ampbyexample.com##body:style(animation: none !important;) One thing for sure, the result is much more pleasant than having to wait 8 seconds if one doe
218.
▲
by
gorhill
9y ago
One detail which I feel must be mentioned: if you block `ampproject.org` by default -- directly or by blocking 3rd-party javascript by default, -- you will be "punished" with a 8-second delay before the page becomes visible. This
219.
▲
by
gorhill
9y ago
The request never reached google-analytics.com, it was redirected by uBlock Origin to a local neutered script, to minimize page breakage. Often web pages break because they were created as if network requests to google-analytics.com can nev
220.
▲
by
gorhill
9y ago
> Can you explain how to enable/disable the noscript tags? It's one of the per-scope switches, see: https://github.com/gorhill/uMatrix/wiki/Per-scope-switches
221.
▲
by
gorhill
9y ago
> uMatrix will block requests which would pull source code, but it does not stop script execution, i.e. those embedded in the page itself You are mistaken. You could have taken a few seconds to try for yourself before making this erroneo
222.
▲
by
gorhill
9y ago
You can selectively block inline, 1st-party and 3rd-party scripts with uBlock Origin ("uBO").[0] Moreover, the Firefox/webext version allows you to remove specific inline script tags before the document is parsed by the brows
223.
▲
by
gorhill
9y ago
> If you block those 3rd party scripts, AMP pages literally take 8 seconds to load. The pages load fast, they are just styled to not be visible until after 8 seconds. For example, using the site used in the article, you can block 3rd-par
224.
▲
by
gorhill
9y ago
> Google appears to be shipping the entirety of EasyList and EasyPrivacy; which includes blocking rules for Google’s own AdSense and DoubleClick advertisement platforms as well as Google Analytics, and other Google services. This is conf
225.
▲
by
gorhill
9y ago
> However when I access it on Firefox + umatrix with all js disabled, it doesn't. Be sure you have the setting "Spoof <noscript> tags" enabled if you want noscript tags to be rendered when 1st-party scripts are block
226.
▲
by
gorhill
9y ago
I was able to load the page by using this js code at the browser console: window.location.href = 'https://permanent-redirect.xyz/pages/' + Math.floor(Date.now() / 1000) You may need to add 1 after
227.
▲
by
gorhill
9y ago
The dev build support specifically blocking web workers, typically used by cryptominers. So at this point I think it will be a good idea to block web workers by default everywhere, and enable only if a trusted site needs them.
228.
▲
by
gorhill
9y ago
> They all suck. Period. Block any outgoing connection you don't trust instead of simply taking some 3rd party list with URLs, unverified, no quality control etc, and only blacklist these KNOWN bad urls. uBlock Origin allows you to
229.
▲
by
gorhill
9y ago
In the paper, this excerpt: > We choose Adblock as it is one of the most popular. It is also possible to use Adblock Plus or uBlock, as the way they operate is exactly the same — HTTP filters and HTML element hiding. AdBlock in the Chrom
230.
▲
by
gorhill
9y ago
> the regional block lists are not enabled by default (not sure about ABP, but it's definitely the case with UBO) uBO does select relevant regional list(s), if any, at first install according to the browser locale. I am pretty sure
231.
▲
by
gorhill
9y ago
> Just not on Windows with Firefox. I am pretty sure uMatrix works fine on Firefox/Windows: it's all HTML/CSS/JS code, and thus OS agnostic -- uMatrix does not care about OS. Firefox is supposed to resize the popup pa
232.
▲
by
gorhill
9y ago
I thought you had hard data backing up your claim. Frankly I am quite skeptical at any unspecific "noticeable performance hit" claim. uBO's overhead is typically in the low milliseconds range, which amount to noise-level ov
233.
▲
by
gorhill
9y ago
Can you be more specific about "noticeable performance hit"? A whole lot of work has been done to avoid "noticeable performance hit", so I would be curious about a reproducible case for this to find out the cause.
234.
▲
by
gorhill
9y ago
> I started to hit real performance issues again What would help is to activate the Gecko profiler[1] when the performance issues occur. The cause of these performance issues might not be in Firefox itself, and the Gecko profiler would a
235.
▲
by
gorhill
9y ago
Important detail: this will work only if "advanced user mode" is enabled.
236.
▲
by
gorhill
9y ago
> looking at you, UA switching Agreed, I plan to remove this. See: https://github.com/gorhill/uMatrix/issues/771#issuecomment-2...
237.
▲
by
gorhill
9y ago
I suggest uBO's medium mode, this blocks 3rd-party scripts by default. [1] https://github.com/gorhill/uBlock/wiki/Blocking-mode:-medium...
238.
▲
by
gorhill
9y ago
> No automatic sync By design. Losing all rules because of sync snafu out of control of uMatrix is the absolute worst case. Importing/merging manually will prevent such disaster.
239.
▲
by
gorhill
9y ago
The granularity is up to each user, none is enforced. I personally just stick to base domains usually. When a site is broken, allowing one or two 3rd-party base domains is often just enough to fix it. If you want to go subdomain-granularity
240.
▲
by
gorhill
9y ago
> something a free solution like ublock origin can not do. The core of the lawsuit was about Eyeo's business model specifically, charging for being listed in a whitelist. This of course does not apply to uBO.
More ›