53

Steps to reproduce:
Tempermonkey/Violentmonkey do not work properly on my Orion. The extensions could be installed successfully, but could not load and install userscripts as expected, nor could the extension dashboard be opened correctly.

I have tested both extensions' Chrome and Firefox version, non of them works.

Expected behavior:

Tempermonkey for Firefox/Chrome:

Extension icon: loading animation forever

Option page: dashboard page could be opened but loading forever, with console error message "Failed to load resource: The operation couldn’t be completed. (Orion.SchemeHandlerError error 2.)"

Violentmonkey for Firefox/Chrome:

Extension icon: popup works ok, icon itself in wrong small size

Option page: dashboard page could be opened, but some strings is not correctly displayed, with the same "Orion.SchemeHandlerError error 2":

Could not install or import scripts:

Orion and macOS:
Orion Version 0.99.109-beta (WebKit 613.1.12)
macOS 12.0.1 (21A559)

    Same here since the last 3 updates..

      I had been succesfully using ViolentMonkey with one script I managed to configure when I started using Orion.
      With the latest Orion update, the script that I had saved was lost and I'm failing to reconfigure it.

      I don't clearly remember how I configured this script the first time, it's possible I saved it in the right location on the filesystem with another editor instead of through the dashboard that the extension provides.
      For now I have not been able to reconfigure the userscript that I lost with the last Orion update.

      The ViolentMonkey dashboard shows the following Console errors

      [Error] Failed to load resource: The operation couldn’t be completed. (Orion.SchemeHandlerError error 2.)
      [Error] Unhandled Promise Rejection: Error: Violentmonkey cannot connect to the background page.
      	promiseEmptyOnRejected (common.js:1:980)
      	promiseReactionJob
      [Error] Unhandled Promise Rejection: Error: Violentmonkey cannot connect to the background page.
      	(anonymous function) (index.js:1:33339)
      	asyncFunctionResume
      	(anonymous function)
      	promiseReactionJobWithoutPromise
      	promiseReactionJob

      EDIT: I've been digging into the settings some more tonight, hoping to get this extension set up for myself again.
      I think I remember now that I got this extension working for me by configuring my userscript(s) in firefox, exporting via settings and importing via settings in Orion. In any case, if that's how I did it before, this method also no longer works in the newest Orion version.

      This time there's no error in the console, but it does display what looks like a raw javascript error output in the settings window when trying to import:

      TypeError: undefined is not an object (evaluating '(await Object(o.w)("ParseScript",p)).update')
      8 days later

      A new type of error has appeared in ViolentMonkey since updating to the new version of Orion. (Version 0.99.109.1-beta (WebKit 613.1.12))

      When opening the options screen, most functionality is hidden behind links to other pages. For example: "moz-extension://7ce8a4d9092547853933df8c23e54258/options/index.html#settings". Clicking this link will show a loading animation in the url bar and then crash the tab:

      So the previously working functionality has not yet been restored to this extension with the latest update.

        16 days later

        I haven't done a full test of every possible feature, but I can say that at least te basic functionality is working again.
        ViolentMonkey (for FireFox) is once again able to manage and run userscripts for me in the latest Orion beta.

        Orion Version 0.99.110-beta (WebKit 613.1.12)

          Vlad It seems on my side Tempermonkey works fine but Violentmonkey shows "Violentmonkey cannot run userscripts in this page" on all pages. (Version 0.99.109.1.6-beta (WebKit 613.1.12))

            ViolentMonkey works for me, but Tampermonkey is still giving me this error

            TypeError: window.cloneInto is not a function. (In 'window.cloneInto(e,document.defaultView)', 'window.cloneInto' is undefined)

              Facing the same issue with Violentmonkey on Version 0.99.110-beta (WebKit 613.1.12):

              Violentmonkey cannot run userscripts in this page.

              Let me know if there is any additional info I can provide that may help.

                2 months later
                4 months later

                Still experiencing this with Tampermonkey today. Both Chrome and Firefox versions

                  4 months later

                  I was just updating ViolentMonkey and noticed that the latest version doesn't work.
                  I had been using the xpi version of v2.13.0 succesfully untill now:
                  https://github.com/violentmonkey/violentmonkey/releases/tag/v2.13.0

                  After testing a few versions I figured out the latest available xpi that works for me is beta v2.13.0.8:
                  https://github.com/violentmonkey/violentmonkey/releases/tag/v2.13.0.8

                  The next version with an xpi download available on github is beta v2.13.0.22:
                  https://github.com/violentmonkey/violentmonkey/releases/tag/v2.13.0.22
                  This version shows errors in the console of webpages (and the userscripts don't seem to be executed).
                  TypeError: undefined is not an object (evaluating 'o.wrappedJSObject[s]')

                  Version 0.99.121.1-beta (WebKit 614.1.20)
                  MacBook Pro (macOS Catalina 10.15.7 build 19H2026)

                    Vlad changed the title to TamperMonkey / Violentmonkey do not work properly .
                      3 months later
                      6 days later
                      2 months later

                      pieterv Thanks for the link to ViolentMonkey 2.12.0.8, it is working for me on Orion 0.99.123.3-beta

                        2 months later

                        Thanks Pieterv. Confirm ViolentMonkey 2.13.0.8 work on Orion 0.99.124.4.1-beta.
                        2.14.1-2 not work. FYI.

                          24 days later

                          I can confirm that Violentmonkey does not work on 0.99.124.4.1-beta