Search found 232 matches

by skriptimaahinen
Fri May 14, 2021 2:03 am
Forum: NoScript Support
Topic: Noscript blocking google
Replies: 5
Views: 73

Re: Noscript blocking google

What google does here is that they have one <noscript> tag on the page that first applies a style that hides everything on the page and secondly does a meta redirect to the mobile version of the search page. So if you have javascript disabled and accessibility.blockautorefresh set false, you will ju...
by skriptimaahinen
Wed May 05, 2021 7:51 am
Forum: NoScript Development
Topic: proxifying modifyGetContext
Replies: 4
Views: 624

Re: proxifying modifyGetContext

- const getContext = scope[canvas].prototype.getContext; + const CanvasClass = window[canvas]; + const getContext = CanvasClass.prototype.getContext; Unfortunately this change affects the "target" getContext for Proxy which needs to be from page context, otherwise there will be e.g. "Permission den...
by skriptimaahinen
Wed May 05, 2021 7:45 am
Forum: NoScript Development
Topic: [Done]Feature request: erase stickies
Replies: 4
Views: 470

Re: Feature request: erase stickies

Works nicely. Thanks!
by skriptimaahinen
Tue May 04, 2021 6:48 am
Forum: NoScript Development
Topic: proxifying modifyGetContext
Replies: 4
Views: 624

Re: proxifying modifyGetContext

Should the target be passed to the fire() in postMessage()?

Also little patch for my patch:

"thisArg instanceof HTMLCanvasElement" test should be "thisArg instanceof window[canvas]" so it catches Offscreencanvas too.
by skriptimaahinen
Tue May 04, 2021 6:42 am
Forum: NoScript Development
Topic: [Done]Feature request: erase stickies
Replies: 4
Views: 470

Re: Feature request: erase stickies

onScriptDisabled.js:50

Code: Select all

let posRx = /^(?:absolute|fixed|sticky)$/;
Have lately encountered some pages with sticky-positioned headers and footers that I wanted to remove.
by skriptimaahinen
Tue May 04, 2021 6:40 am
Forum: NoScript Development
Topic: [Fixed] 11.2.5rc3 messes up ghacks layout
Replies: 7
Views: 983

Re: [Fixed] 11.2.5rc3 messes up ghacks layout

No idea why I thought that was the case. Should always check before I open my mouth. :oops:
by skriptimaahinen
Mon May 03, 2021 11:05 am
Forum: NoScript Development
Topic: [Done]Feature request: erase stickies
Replies: 4
Views: 470

[Done]Feature request: erase stickies

Feature request:

Add sticky-position to element eraser.
by skriptimaahinen
Mon May 03, 2021 11:04 am
Forum: NoScript Development
Topic: [Fixed] 11.2.5rc3 messes up ghacks layout
Replies: 7
Views: 983

Re: [Fixed] 11.2.5rc3 messes up ghacks layout

Unless I'm completely mistaken, running querySelector in MutationObserver callback is likely not going to do what you hope it does as the nodes are quite not yet added to the DOM. You need to check the records.
by skriptimaahinen
Mon May 03, 2021 10:53 am
Forum: NoScript Development
Topic: proxifying modifyGetContext
Replies: 4
Views: 624

proxifying modifyGetContext

Been looking at this function a while and didn't realize this https://github.com/hackademix/nscl/commit/b9a68f15868f493957a5e7bf0f07bd7946672329. Sigh. Oh well, never did say I understand regex ;) Anyhow... Lets tackle some error messages. Btw, can't move the call to getContext to the front because ...
by skriptimaahinen
Thu Apr 29, 2021 4:47 am
Forum: NoScript Development
Topic: multiple patchWindow calls
Replies: 4
Views: 729

Re: multiple patchWindow calls

Since the window from which this prototype is taken is already wrapped, it is not necessary to wrap the prototype again, nor would it even work. The removed line would simply always reduce to wrappedProto = proto. As an example: window.HTMLIFrameElement.prototype.wrappedJSObject === window.wrappedJS...
by skriptimaahinen
Wed Apr 28, 2021 10:58 am
Forum: NoScript Development
Topic: multiple patchWindow calls
Replies: 4
Views: 729

multiple patchWindow calls

Problem with multiple patchWindow() calls - they override any previous patches made to the "framing elements". This is due to modifyFramingElements() using the getters from contentscript context where the prototypes remain original and thus any subsequent call to modifyFramingElements() will lose ea...
by skriptimaahinen
Mon Apr 26, 2021 12:55 pm
Forum: NoScript Support
Topic: Bug involving XHTML, CSP, and Firefox ESR
Replies: 5
Views: 902

Re: Bug involving XHTML, CSP, and Firefox ESR

You might be able to trigger it by navigating (site -> about:newtab -> site). Can reproduce that way on 87.
by skriptimaahinen
Sun Apr 04, 2021 8:53 am
Forum: NoScript General
Topic: Simple explanation of what is "CSS PP0"?
Replies: 5
Views: 1435

Re: Simple explanation of what is "CSS PP0"?

Two things that came in to mind when skimming through the white paper: The paper does not seem to mention what FireFox version they used, if any at all besides DeterFox and TorBrowser. Since FF85, FireFox has been doing cache partitioning , that supposedly prevents timing attacks on caches among oth...
by skriptimaahinen
Sat Apr 03, 2021 10:58 am
Forum: NoScript Development
Topic: Feature request to enable/disable PP0 protection.
Replies: 13
Views: 2844

Re: Feature request to enable/disable PP0 protection.

Seems fine to have the protection as permission. However, none of the suggested renames make it any more clear whether one should check or uncheck the option to prevent this mysterious threat (not that the original tells anything either). So I assume there will be lot of questions about this in any ...
by skriptimaahinen
Wed Mar 31, 2021 10:51 am
Forum: NoScript Development
Topic: Feature request to enable/disable PP0 protection.
Replies: 13
Views: 2844

Feature request to enable/disable PP0 protection.

Feature request:

Advanced-tab checkbox to enable/disable PP0 protection, similarly as with XSS sanitation.


Bonus typo: (too lazy to make separate post)

nscl/content/prefetchCSSResources.js:37 "rarget"

Though I have hard time figuring out what is the use case for wrapCssAccess...