How do I use Greasemonkey attributes with a WebEngineScript?
Unsolved
QtWebEngine
-
wrote on 1 Jul 2017, 14:42 last edited by
The documentation for WebEngineScript says, "The following Greasemonkey attributes are supported since Qt 5.8: @exclude, @include, @name, @match, and @run-at."
But there is no documentation about how to actually do it, and no examples I can find.
Simply including the directives inside the UserScript, like you would with Greasemonkey, has no effect.
Where/how am I supposed to insert/apply Greasemonkey attributes?
1/1