Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-61788

Missing documentation for using Greasemonkey attributes in WebEngineScript

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.9.2
    • 5.9.0
    • Documentation, WebEngine
    • 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

        Activity

          People

            leenam Leena Miettinen
            waltpurvis Walter Purvis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes