Skip to content

feat: Migrate to Chrome Manifest V3 with Hybrid DeclarativeNetRequest Engine - #532

Open
OmarAlaaeldein wants to merge 3 commits into
ClearURLs:masterfrom
OmarAlaaeldein:master
Open

feat: Migrate to Chrome Manifest V3 with Hybrid DeclarativeNetRequest Engine#532
OmarAlaaeldein wants to merge 3 commits into
ClearURLs:masterfrom
OmarAlaaeldein:master

Update docs to reflect 2KB regex limit fix

8eb8aac
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 12, 2026 in 21s

Annotations

Check warning on line 34 in core_js/tools.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

arrow function is equivalent to `Boolean`. Use `Boolean` directly.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w33Z4HbJenSx2lHw&open=AZ_2w33Z4HbJenSx2lHw&pullRequest=532

Check warning on line 331 in core_js/tools.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `new Array()` instead of `Array()`.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w33Z4HbJenSx2lH0&open=AZ_2w33Z4HbJenSx2lH0&pullRequest=532

Check warning on line 390 in clearurls.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

`String.raw` should be used to avoid escaping `\`.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w34i4HbJenSx2lH9&open=AZ_2w34i4HbJenSx2lH9&pullRequest=532

Check warning on line 52 in core_js/context_menu.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The signature '(commandId: string, showUI?: boolean, value?: string): boolean' of 'document.execCommand' is deprecated.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w3x54HbJenSx2lHu&open=AZ_2w3x54HbJenSx2lHu&pullRequest=532

Check failure on line 250 in clearurls.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 43 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w34i4HbJenSx2lH5&open=AZ_2w34i4HbJenSx2lH5&pullRequest=532

Check warning on line 53 in core_js/context_menu.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w3x54HbJenSx2lHv&open=AZ_2w3x54HbJenSx2lHv&pullRequest=532

Check warning on line 41 in core_js/tools.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Array#flat()` over `Array#reduce()` to flatten an array.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w33Z4HbJenSx2lHx&open=AZ_2w33Z4HbJenSx2lHx&pullRequest=532

Check warning on line 570 in clearurls.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move function 'Provider' to the outer scope.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w34i4HbJenSx2lH_&open=AZ_2w34i4HbJenSx2lH_&pullRequest=532

Check warning on line 175 in clearurls.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move function 'getKeys' to the outer scope.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w34i4HbJenSx2lH3&open=AZ_2w34i4HbJenSx2lH3&pullRequest=532

Check warning on line 222 in core_js/tools.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w33Z4HbJenSx2lHy&open=AZ_2w33Z4HbJenSx2lHy&pullRequest=532

Check warning on line 266 in clearurls.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to variable "exceptions".

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w34i4HbJenSx2lH7&open=AZ_2w34i4HbJenSx2lH7&pullRequest=532

Check warning on line 473 in clearurls.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move function 'deactivateOnFailure' to the outer scope.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w34i4HbJenSx2lH-&open=AZ_2w34i4HbJenSx2lH-&pullRequest=532

Check warning on line 740 in clearurls.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w34i4HbJenSx2lIA&open=AZ_2w34i4HbJenSx2lIA&pullRequest=532

Check warning on line 250 in clearurls.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move async function 'buildDeclarativeNetRequestRules' to the outer scope.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w34i4HbJenSx2lH4&open=AZ_2w34i4HbJenSx2lH4&pullRequest=532

Check failure on line 331 in core_js/tools.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `Math.trunc` instead of `~~`.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w33Z4HbJenSx2lH1&open=AZ_2w33Z4HbJenSx2lH1&pullRequest=532

Check warning on line 266 in clearurls.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of the unused 'exceptions' variable.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w34i4HbJenSx2lH6&open=AZ_2w34i4HbJenSx2lH6&pullRequest=532

Check warning on line 158 in clearurls.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

`String.raw` should be used to avoid escaping `\`.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w34i4HbJenSx2lH2&open=AZ_2w34i4HbJenSx2lH2&pullRequest=532

Check warning on line 283 in core_js/tools.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.isNaN` over `isNaN`.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w33Z4HbJenSx2lHz&open=AZ_2w33Z4HbJenSx2lHz&pullRequest=532

Check warning on line 836 in clearurls.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w34i4HbJenSx2lIC&open=AZ_2w34i4HbJenSx2lIC&pullRequest=532

Check warning on line 364 in clearurls.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

`String.raw` should be used to avoid escaping `\`.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w34i4HbJenSx2lH8&open=AZ_2w34i4HbJenSx2lH8&pullRequest=532

Check warning on line 753 in clearurls.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

See more on https://sonarcloud.io/project/issues?id=ClearURLs_Addon&issues=AZ_2w34i4HbJenSx2lIB&open=AZ_2w34i4HbJenSx2lIB&pullRequest=532