Open Emdek opened 8 years ago
Note that for the moment, users can look at e.g. http://userscripts-mirror.org/scripts/show/105153 for the GM API.
@Frenzie, good catch. I guess that this one could be a good reference implementation to test our implementation.
@Emdek @Frenzie thanks
where am I to put the directory, I did check settings, about:config and also the Otter settings directory for a subdirectory, all with no luck. unless this is coming in 118?
@uahim, right now it is a bit complex task... I'll try to land some basic Addons Manager before beta.
ah sorry didn't see the "in progress" label; figured it was already usable
@run-at should also be supported.
Especially '@run-at document-start' since it's pretty much mandatory for complete restyling scripts. For example I use it in other browsers for a "dynamic contrast" script that makes every background colors a bit darker, and text brighter. (For now I use a user-css in Otter, but it can only set absolute color)
@OVNI-modding, currently run-at
is only fully supported with QtWebEngine backend.
In theory we could already improve it on QtWebKit side but it's harder to properly map injection time without dedicated API for running user scripts...
Currently we have basic support for user scripts, but to support more of existing scripts we have to support some extra features.
The most important stuff:
@exclude
,@include
and@match
keywords;@grant
keyword;@resource
and@requires
keywords.Other tasks:
@icon
keyword;