mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-08-10 11:38:22 +00:00
82c09a5328
The noise filter used naive String.includes() on the full URL, causing
blacklist entry 'x.com' to match netflix.com (since 'netflix.com'
contains 'x.com' as substring). This made Netflix tabs disappear when
the filter was enabled.
Fixed by extracting the URL hostname and matching at domain boundaries:
- Domain entries (x.com): hostname === domain || endsWith('.' + domain)
- Prefix entries (amazon.): startsWith || includes('.' + domain)
- Keyword entries (jira): substring fallback on full URL
Release v1.7.5
42 lines
854 B
JSON
42 lines
854 B
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "KoalaSync",
|
|
"version": "1.7.5",
|
|
"description": "Watch party extension to synchronize video playback on YouTube, Twitch, Netflix, and HTML5 sites in real-time with friends.",
|
|
"permissions": [
|
|
"storage",
|
|
"tabs",
|
|
"scripting",
|
|
"alarms",
|
|
"activeTab",
|
|
"notifications"
|
|
],
|
|
"host_permissions": [
|
|
"<all_urls>"
|
|
],
|
|
"action": {
|
|
"default_popup": "popup.html",
|
|
"default_icon": {
|
|
"16": "icons/icon16.png",
|
|
"48": "icons/icon48.png",
|
|
"128": "icons/icon128.png"
|
|
}
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": [
|
|
"https://sync.koalastuff.net/*"
|
|
],
|
|
"js": [
|
|
"bridge.js"
|
|
],
|
|
"run_at": "document_start"
|
|
}
|
|
],
|
|
"icons": {
|
|
"16": "icons/icon16.png",
|
|
"48": "icons/icon48.png",
|
|
"128": "icons/icon128.png"
|
|
}
|
|
}
|