Open phgn0 opened 1 year ago
It appears that Unclutter is using a regular expression that does not work in WebKit so we would need to support it excplicitly.
We are getting regex error _syntaxerror: Invalid regular expression: invalid group specifier name_
in /common/library-components/dist/common/search.js
for below line-
let tokens = text.match(/(?<=\s+|^)["'‘“'"[({⟨]?(.*?[.?!])(\s[.?!])*["'’”'"\])}⟩]?(?=\s+|$)|(?<=\s+|^)\S(.*?[.?!])(\s[.?!])*(?=\s+|$)/g);
Please have a way to make this regex compatible with WebKit
I will donate $20 to any fix for this issue.
Unclutter works in Orion now, this issue can be closed.
Installing Unclutter in the Orion browser (https://browser.kagi.com/) doesn't work for the Chrome version, and the Firefox one doesn't unclutter articles.
We should look into this.