2

Adding JavaScript to a Custom Toolbar Button does not work in latest Orion RC:

Code:

javascript:%20(function%20()%20{%20%20var%20bookmarkUrl%20=%20window.location;%20%20var%20applicationUrl%20=%20'https://bookmarks.pvy.swiss/bookmarks/new';%20%20applicationUrl%20+=%20'?url='%20+%20encodeURIComponent(bookmarkUrl);%20%20applicationUrl%20+=%20'&auto_close';%20%20window.open(applicationUrl);})();[upl-image-preview url=https://orionfeedback.org/assets/files/2024-09-20/1726839295-282872-bildschirmfoto-2024-09-20-um-172528.png]

That the Button execute this Code, Copy URL open, and perform a new entry.
Second German Localization is on certain points grap. You can invite me to the Localization Team if you want.

Version 0.99.128.2.1-rc (WebKit 619.1.11.111.2)

Sonoma (14)

  • Vlad replied to this.

    PVY Did you confirm that exact same works in latest Orion beta?

      18 days later

      No it doesn't. We made now 2 Extensions, works flawless on all others, but not on Orion. (Keyboard Input Listener on Extension Popup doesn't work, I filed a bug for that. This Button would be nice, but its not mandatory, with the extension in place... So let's close that. But for JavaScript Buttons, the Documentation could be pimped a bit with certain examples.

      • Vlad replied to this.

        PVY Can you confirm the bookmarklet works in Safar and or other browsers? (want to see if the problem is with bookmarklet or Orion)

          6 months later

          You can close it. I made it wrong

            No one is typing