Add WebExtension API to allow interaction with workers
Categories
(WebExtensions :: General, enhancement)
Tracking
(Not tracked)
People
(Reporter: bugzilla, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0
Steps to reproduce:
An API to inject scripts into web workers (workers, shared workers and service workers) similar to content scripts would be useful. My use case (for CanvasBlocker) is to prevent fingerprinting over scripts that run in workers.
At the moment only the navigator API is affected by this problem and therefore it's not that critical (userAgent spoofing is kind of pointless anyway). BUT if offscreen canvas get enabled/implemented in Firefox (1390089) the main use case for CanvasBlocker (protecting against canvas fingerprinting) is in danger.
Steps to see the issue in CanvasBlocker:
- install CanvasBlocker
- go to the preferences page
- enable the navigation API protection
- open the navigator settings
- click on "Windows" and "Chrome"
- go to https://canvasblocker.kkapsner.de/test/navigatorTest.php
Actual results:
The WebExtension is not able to change the values in the workers.
Expected results:
The WebExtension should have a way to interact with workers.
Updated•4 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Seriously I would also like an update on this.
Updated•5 months ago
|
Description
•