How do I use Greasemonkey attributes with a WebEngineScript?

  • 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?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.