Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.9.0
-
None
-
4b5029e208affc15cde07006ea91d4a28c243a57
Description
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, for neither QML (which is what I'm interested in) nor C++. Where/how are we supposed to insert/apply Greasemonkey attributes?
Simply including the directives as comments inside the UserScript, like you would with Greasemonkey, has no effect.
Attachments
For Gerrit Dashboard: QTBUG-61788 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
200566,4 | Doc: Add example code for using Greasemonkey attributes in scripts | 5.9 | qt/qtwebengine | Status: MERGED | -2 | 0 |