mirror of
https://github.com/Anarios/return-youtube-dislike.git
synced 2026-10-28 07:44:31 +01:00
c31f60cc24
Keep private windows counts-only and separate account consent from core access. Correct stale account UI, Premium themes and ranges, display preferences, and RTL popup and release layouts.
9 lines
361 B
JavaScript
9 lines
361 B
JavaScript
(() => {
|
|
if (location.protocol !== "moz-extension:") return;
|
|
// Prepare a distinct document URL before the first extension API access.
|
|
// Firefox uses that initial URL when identifying popup message senders.
|
|
const url = new URL(location.href);
|
|
url.searchParams.set("rydContext", crypto.randomUUID());
|
|
history.replaceState(null, "", url.href);
|
|
})();
|