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.
Search found 244 matches
- Tue May 04, 2021 6:48 am
- Forum: NoScript Development
- Topic: proxifying modifyGetContext
- Replies: 4
- Views: 5246
- Tue May 04, 2021 6:42 am
- Forum: NoScript Development
- Topic: [Done]Feature request: erase stickies
- Replies: 4
- Views: 4430
Re: Feature request: erase stickies
onScriptDisabled.js:50
Have lately encountered some pages with sticky-positioned headers and footers that I wanted to remove.
Code: Select all
let posRx = /^(?:absolute|fixed|sticky)$/;
- Tue May 04, 2021 6:40 am
- Forum: NoScript Development
- Topic: [Fixed] 11.2.5rc3 messes up ghacks layout
- Replies: 7
- Views: 5662
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.
- Mon May 03, 2021 11:05 am
- Forum: NoScript Development
- Topic: [Done]Feature request: erase stickies
- Replies: 4
- Views: 4430
[Done]Feature request: erase stickies
Feature request:
Add sticky-position to element eraser.
Add sticky-position to element eraser.
- Mon May 03, 2021 11:04 am
- Forum: NoScript Development
- Topic: [Fixed] 11.2.5rc3 messes up ghacks layout
- Replies: 7
- Views: 5662
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.
- Mon May 03, 2021 10:53 am
- Forum: NoScript Development
- Topic: proxifying modifyGetContext
- Replies: 4
- Views: 5246
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 ...
- Thu Apr 29, 2021 4:47 am
- Forum: NoScript Development
- Topic: multiple patchWindow calls
- Replies: 4
- Views: 4569
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...
- Wed Apr 28, 2021 10:58 am
- Forum: NoScript Development
- Topic: multiple patchWindow calls
- Replies: 4
- Views: 4569
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() wi...
- Mon Apr 26, 2021 12:55 pm
- Forum: NoScript Support
- Topic: Bug involving XHTML, CSP, and Firefox ESR
- Replies: 5
- Views: 3542
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.
- Sun Apr 04, 2021 8:53 am
- Forum: NoScript General
- Topic: Simple explanation of what is "CSS PP0"?
- Replies: 5
- Views: 7937
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...
- Sat Apr 03, 2021 10:58 am
- Forum: NoScript Development
- Topic: Feature request to enable/disable PP0 protection.
- Replies: 13
- Views: 8990
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 ...
- Wed Mar 31, 2021 10:51 am
- Forum: NoScript Development
- Topic: Feature request to enable/disable PP0 protection.
- Replies: 13
- Views: 8990
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...
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...
- Mon Mar 15, 2021 8:26 am
- Forum: NoScript Support
- Topic: [Fixed] 11.2.4rc1 DoS's some sites
- Replies: 4
- Views: 2086
Re: 11.2.4rc1 DoS's some sites
Get the same problem. Though, there are lots of pages where I see no prefetching even when I would expect it. Are all CSS resources supposed to be prefetched or what are the conditions?
- Mon Mar 15, 2021 8:25 am
- Forum: NoScript Development
- Topic: Patch window.opener if present
- Replies: 2
- Views: 3586
Patch window.opener if present
This flew under my radar. Few notes: 1. window.opener is not a fresh window and _should_ always be patched before a new window can be opened (AFAIK). 2. If the opener and opened windows are not same-origin, trying to get canvas context will result in cross-origin block, whether opener is patched or...
- Sun Nov 01, 2020 7:53 am
- Forum: NoScript Support
- Topic: invidious+Firefox78/82+Redirector+NoScript = "No video with supported format and MIME type found."
- Replies: 9
- Views: 3599
Re: invidious+Firefox78/82+Redirector+NoScript = "No video with supported format and MIME type found."
For me the file plays just fine.michkov wrote: ↑Sun Nov 01, 2020 6:34 am https://content.blubrry.com/hoseasia/HoSEA014.mp3
I need to allow blubrry.com to get the mp3 to play.
What permissions you need to allow for blubrry.com for the file to play? Is just media enough?