Giter Site home page Giter Site logo

Comments (8)

SanderRonde avatar SanderRonde commented on September 22, 2024

I'm not really sure what you mean. Do you mean copying the URL of the current tab? Copying the URL of a tab that is pointed to by some link or copying the URL of some other tab?

from customrightclickmenu.

PeaceByJesus avatar PeaceByJesus commented on September 22, 2024

R Clk-URL
Thanks for getting back to me, and sorry for my own delay, but I mean that when you right click on any tab then the menu includes Copy URL As in Firefox Quantum (with an extension and Firefox legacy: https://live.staticflickr.com/65535/50905585371_a12c31d2b6_z.jpg

from customrightclickmenu.

SanderRonde avatar SanderRonde commented on September 22, 2024

Ah that should be fairly easy. Just create a new script and paste in the following script:

window.crmAPI.GM.GM_setClipboard(location.href);

That's it. Let me know if it works.

from customrightclickmenu.

PeaceByJesus avatar PeaceByJesus commented on September 22, 2024

Well, I am not sure if I did it right. There is no entry on right click itself for creating a new script, and via to the toolbar icon I went to chrome-extension://onnbmgmepodkilcbdodhfepllfmafmlj/html/options.html and clicked on Add Script = My Script Add here and pasted your script and saved it, but there is nothing added to the right click menu. Sorry.

Note that the copy-tab-url for Firefox (https://gitlab.com/mjanetmars/copy-tab-url) works well to add that option in that browser (requires dom.event.clipboardevents.enabled to be enabled).
FF-Copy-URL

from customrightclickmenu.

SanderRonde avatar SanderRonde commented on September 22, 2024

Oh I just realized you meant copying the tab URL when right-clicking on the tab itself. Unfortunately that's not possible. The browser APIs that are available to me only restrict me to changing the right-click menu on the page. While this API does seems to be available in Firefox, it's not possible on any other platform and it's a non-standard feature so I can't really implement it.

Also you were correct in going to the options page and adding the script there. That should make the script show up when you right-click on the page, after which you can still copy the URL of that page by clicking on it. But I'm pretty sure that's not the copy feature you're looking for.

from customrightclickmenu.

PeaceByJesus avatar PeaceByJesus commented on September 22, 2024

Thanks for getting back to me, but sorry to hear that copying the tab URL when right-clicking on the tab is not possible. Which is just one more of the wealth of options that I am looking for in a modern browser which we lost after Firefox went Quantum.

I still use Firefox ESR 59.2 along with other browsers though, even though I must be more and more selective, but thank God we have so many browsers and tools to make good use of. And for those as yourself who work to supply them.

Thanks again. Grace and peace thru Jesus the Lord.

from customrightclickmenu.

SanderRonde avatar SanderRonde commented on September 22, 2024

Yeah there's some blog post out there describing why all the modding was removed from Firefox Quantum but I can't find it unfortunately. But I can definitely imagine it not being nice from the user's point of view.

You're very welcome. I'll close this issue now.

from customrightclickmenu.

PeaceByJesus avatar PeaceByJesus commented on September 22, 2024

You are very understanding, gracious and communicative and an asset to Vivaldi.

from customrightclickmenu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.