Closed mgrimace closed 6 months ago
I've found a fix for this based on this post https://stackoverflow.com/questions/40091136/cant-create-duplicate-variable-that-shadows-a-global-property. I changed browser
to Browser
and it now works OK in Safari.
I've found a fix for this based on this post https://stackoverflow.com/questions/40091136/cant-create-duplicate-variable-that-shadows-a-global-property. I changed
browser
toBrowser
and it now works OK in Safari.
Thanks! Can I ask which ones/what lines you changed? If I'm understanding correctly the const
browser needs to change so it ≠ var
value.
As per my reply I changed all instances of browser (lowercase b) to Browser (uppercase B) - I didn't change anything else in the script.
As per my reply I changed all instances of browser (lowercase b) to Browser (uppercase B) - I didn't change anything else in the script.
Thanks, ok, from what I can tell the following also works: setting the var
as Browser
on line 18020 (I only needed to change that line). Thanks for the lead, I'd have never found this otherwise
Hello,
I managed to get the Komf docker working with Komga and Kavita support. I am able to use the userscript in Chrome, but it is not working or appearing for me in Safari.
Here's what I see in the developer console:
I'm not particularly knowledgeable in userscripts/coding, if there's anything else you need please let me know.