Comments (8)
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.
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.
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.
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).
from customrightclickmenu.
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.
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.
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.
You are very understanding, gracious and communicative and an asset to Vivaldi.
from customrightclickmenu.
Related Issues (20)
- Execute when visiting specified sites HOT 1
- [wiki] please give an example how to pass link as an argument for search engine HOT 3
- [Questions] Window title! + couple extras HOT 8
- CRX_SIGNATURE_VERIFICATION_FAILED - Cant add extension to edge HOT 3
- [wiki] Download Tutorial HOT 26
- An error occurred. The package is invalid:“CRX_SIGNATURE_VERIFICATION_FAILED” HOT 1
- Can't run the script on chrome-extension:// page. HOT 1
- Is it possible to add items straight to the context menu and not into the submenu? HOT 3
- Cannot rename main node (Custom Menu) to something else in EDGE (works in Google) HOT 3
- Manage permissions dialog is not working HOT 2
- Project abandoned or in development HOT 7
- Bug: Cannot view or edit submenu HOT 1
- Is it possible the use the current tab url in the link settings? HOT 2
- add text to the context menu that when you click on the text it adds it to the form text box HOT 5
- Get text from the CRM item clicked HOT 18
- True copy and paste operation vs determining which field I right clicked in HOT 5
- addon hijacks .js file links HOT 11
- image right click HOT 2
- How to use CRM Keyboard Shortcut in extension shortcuts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from customrightclickmenu.