Skip to content

feat: support scriptletGlobals.warOrigin#2716

Merged
philipp-classen merged 13 commits intoghostery:mainfrom
seia-soto:support-scriptletglobals
Sep 26, 2025
Merged

feat: support scriptletGlobals.warOrigin#2716
philipp-classen merged 13 commits intoghostery:mainfrom
seia-soto:support-scriptletglobals

Conversation

@seia-soto
Copy link
Member

fixes ghostery/broken-page-reports#1718
depends on ghostery/scriptlets#26

This supports the injection of scriptletGlobals for scriptlets depending on redirect resources of the extension packages. See https://github.com/ghostery/scriptlets/blob/main/ubo.js#L19175-L19192 for the reference and check ghostery/scriptlet repository to align the changes.

@seia-soto seia-soto self-assigned this Sep 18, 2025
@seia-soto seia-soto requested review from chrmod and smalluban and removed request for smalluban September 18, 2025 02:38
@seia-soto seia-soto changed the title Release v10.5.11-104 Support scriptletGlobals.warOrigin Sep 18, 2025
@seia-soto seia-soto changed the title Support scriptletGlobals.warOrigin feat: support scriptletGlobals.warOrigin Sep 18, 2025
@seia-soto
Copy link
Member Author

Updated the lockfile, it includes:

refs ghostery/scriptlets#27
refs ghostery/scriptlets#26

Calling `chrome.runtime.getURL` with non-existing resource will result in real extension ID leakage.
`readystatechange` might be called twice.
@seia-soto seia-soto added the package CI: create extension packages label Sep 25, 2025
@seia-soto
Copy link
Member Author

Corresponding test added and fixed quirks; ready for the final review.

@smalluban
Copy link
Collaborator

#2736 should fix the issue with creating a package.

@philipp-classen philipp-classen merged commit b9d3f2f into ghostery:main Sep 26, 2025
7 of 10 checks passed
@smalluban smalluban mentioned this pull request Sep 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package CI: create extension packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

seelen.io

3 participants