CookieJarApps / SmartCookieWeb

A secure, open source web browser for Android.
Mozilla Public License 2.0
297 stars 39 forks source link

Userscript Support #265

Closed moriel5 closed 2 years ago

moriel5 commented 3 years ago

The MuseScore downloader userscript isn't working for me with SmartCookieWeb, and when posting the issue on their bug tracker, I was asked about your implementation of userscripts, i.e. how well does it conform to standards that most well known userscript managers (such as Tampermonkey) conform to.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

moriel5 commented 3 years ago

To prevent this issue from being automatically closed, I shall bump it. Is there any answer yet as to the userscript standards supported by SmartCookieWeb?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

moriel5 commented 2 years ago

Once again, I am forced to bump this issue to prevent it from being automatically closed.

Is there no one who can answer what userscript standards are supported by SmartCookieWeb?

CookieJarApps commented 2 years ago

Hi! Sorry for the really late reply - SCW currently only supports the @match, @include, @run-at and @grant UserScript header attributes. @resource is supported in some circumstances. Unfortunately, WebView makes it very difficult to implement good UserScript support. This weekend, I'll specifically take a look at what's stopping this specific UserScript from running, but I'm also working on a version of SCW (https://github.com/CookieJarApps/SmartCookieWeb-Chromium) that bundles the entire Chromium rendering engine into it rather than relying on WebView, which will allow me to add proper Chrome extension support.

moriel5 commented 2 years ago

Thanks, I tried taking a look at the code and documentation, however I wasn't able to figure out where to look (or in the docs, just couldn't find anything).

Don't worry about the late reply, I know what it is like when there isn't a lot of time. I just needed an answer I could forward to the MuseScore downloaded userscript devs, so they could look into whether the issue was on their or your end.

And from my following after development of different WebView projects over the years, yeah, I can certainly understand your gripes with it, it's just a shame that there isn't any proper competitor to it (even GeckoView is ridiculously heavy, and for the most part, I have had much worse performance with anything other than WebView (throwing more powerful hardware mitigates that, although that will never truly solve the issue)).

Hopefully SmartCookieWeb-Chromium won't end up as bloated as most Chromium browsers (I don't necessarily mean feature bloat, but rather code bloat that requires far more system resources that is necessary, both in storage and computing resources).

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.