[Interest] How do I use Greasemonkey attributes with a WebEngineScript?

Walter Purvis wpurvis at gmail.com
Sat Jul 1 16:37:43 CEST 2017


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170701/953a9ec6/attachment.html>


More information about the Interest mailing list