mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-07-27 20:39:10 +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
17 lines
351 B
JSON
17 lines
351 B
JSON
{
|
|
"name": "koalasync",
|
|
"version": "1.7.5",
|
|
"description": "KoalaSync Build Scripts",
|
|
"private": true,
|
|
"scripts": {
|
|
"build:extension": "node scripts/build-extension.js",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix"
|
|
},
|
|
"devDependencies": {
|
|
"archiver": "^7.0.1",
|
|
"eslint": "^10.4.0",
|
|
"fs-extra": "^11.2.0"
|
|
}
|
|
}
|