#Made a simple copy current URL button extension for Zen

117 messages ยท Page 1 of 1 (latest)

gilded root
#

https://addons.mozilla.org/en-US/firefox/addon/zen-copy-tab-url/

Key Features:

  • One-Click URL Copying: Instantly copy the URL of your active tab to the clipboard with a single click on the toolbar icon or through the context menu.
  • Copy Base URL: Need just the base URL? Use the handy button to copy the origin of the current tab, perfect for sharing main website links without extra parameters.
  • Theme Integration: The extension adapts to your Zen Browser theme, (or a custom theme) ensuring a consistent and visually pleasing experience that blends naturally with your browser's appearance.
  • Adds a context menu item to copy any URL of any tab (loaded or unloaded) in the sidebar.
  • Lightweight and Efficient: Minimal impact on your browser's performance while providing maximum utility.

Download Zen Copy Tab URL for Firefox. Copies the URL of the active tab to the clipboard, provides a copy URL option in the context menu on Zen Browser.

blazing lance
#

@gilded root can the icon be dark on light mode?

gilded root
blazing lance
gilded root
#

Yes! You can do this by "Pinning" the extension and then right clicking the menu bar and dragging it to the right of the url bar

#

Then right click menu bar and "Customize Toolbar"

#

then drag the link icon to the right of the toolbar

blazing lance
gilded root
#

ohhh, yeah, no idea on that one sorry

#

I don't use the url on sidebar so I don't know how it works. Can you not pin an extension in the url with sidebar? where does it pin when you do that?

blazing lance
gilded root
#

what happens if you install "super url bar" zen mod and chekc this option?

blazing lance
gilded root
#

does any of your icons disappear when you enable it?

blazing lance
gilded root
#

there might be a visual glitch for me too, when I enable that, the icon to the right disappears but also doesn't go into the bar, so I'm wondering if it's "in" the url bar but not displayed properly

gilded root
#

hmm, and if you click in that space does anything happen?

#

I thought it was supposed to put whatever icon was immediatly to the right of the URL bar in the url bar, but I know a lot of mods are broken with the new beta update

blazing lance
gilded root
#

hmm interesting

#

if you right click the bar, do you have the option to "customize toolbar"?

blazing lance
#

yep

gilded root
#

can you drag the icon next to the url bar and then turn on that option in super url zen mod?

#

oh hey! I have reddit enhancement suite extension, and some how, without me setting it, that extension icon is inside the URL bar, so there must be something I can do to put it in there on my side. No idea how but willing to figure it out :)

gilded root
#

I'll see if I can get it in the url bar somehow as an option :) Can't promise when but I'll add it to the list of feature requests:

So far features to add:

  • QR Code scan option
  • Ad ability to Change icon color for light mode losers lovers. ;)
  • Add custom keyboard shortcut like ctrl+shift+c to copy current URL
  • Add option to put icon *inside *url bar
blazing lance
gilded root
gilded root
# blazing lance i'll let the loser comment slide since you're the making this

Just wanted to let you know I added all these features! :D

Would have been for christmas but chatgpt was down and I was lazy :)

But now it has new features:

  • Keyboard Shortcut (which looks like zen also added recently??
  • Change color of icon to anything
  • Add icon to inside URL bar :D

https://addons.mozilla.org/en-US/firefox/addon/zen-copy-tab-url/

Download Zen Copy Tab URL for Firefox. Copies the URL of the active tab to the clipboard, provides a copy URL option in the context menu on Zen Browser.

blazing lance
blazing lance
#

actually, nvm, it seem to be there, however, seems to be an issue with superurl bar, the icon is there its just behind the bookmark icon (which is hidden and only appearing when hovering for whatevevr reason)

gilded root
#

yeah, looks like you are using the compact mode

#

๐Ÿ”— Added ability to add the icon to the inside of the URL bar.
(This is only tested in Zen and only in 'Multiple toolbars' and 'Collapsed toolbar' mode. I haven't tested in 'Single toolbar' mode. Your experience may vary.)

#

Didn't test it in that in Single Toolbar mode sadly, I think there are still bugs related to icons there :/

still axle
river sand
#

@neon mesa

#

there it is

blazing lance
still axle
still axle
blazing lance
still axle
blazing lance
gilded root
blazing lance
gilded root
# blazing lance can you share the repo pleaes

if you install another app that puts an icon inside the URL bar like Reddit Enhancement Suite does the same bug occur? Cause if it does, then there isn't anything that I can do to fix it.

https://github.com/echojhawke/zen-copy-tab-url

GitHub

Copies the URL of the active tab to the clipboard, provides a copy URL option in the context menu on Zen Browser. - echojhawke/zen-copy-tab-url

blazing lance
gilded root
#

either. that has the same bug that my extension has

#

if you go to reddit.com with RES (redit enhancement suite) installed, it puts an icon in the url bar

blazing lance
gilded root
blazing lance
#

maybe there's some option that does that?

gilded root
#

looks like you have to click into a post

#

then this little yellow icon shows up

blazing lance
#

also for me, on multi toolbar the copy url button appears fine

#

but on the right

gilded root
#

if the RES isn't showing either, then it probably is 100% an issue with superurl bar

#

if you disable super URL bar and then try RES on reddit

blazing lance
gilded root
#

do you see the icon

blazing lance
gilded root
#

did you click into a post? didn't show up for me either till I was in a post

gilded root
#

both RES and Click to Copy show up for me :/

#

literally first time I tried it in single url bar mode ๐Ÿ˜…

#

is this not what it looks like for you?

blazing lance
gilded root
#

I have it off

#

just installed and still no issue.
What other mods/custom css do you have?

blazing lance
#

i shoudl try disabling everything

gilded root
#

probably a good place to start :) then enable 1 by 1 till it happens again :) (I usually start with a completely new profile in about:profile when testing things so I don't affect my daily driver

blazing lance
gilded root
#

oh? weird. do you have different settings for URL Bar than my screenshot?

blazing lance
#

it works okay with the make all hidden icons while hovering option

gilded root
#

ah

blazing lance
#

i had that turned off

gilded root
#

nice

#

look at that. same here with that option off:

#

Definitely a bug out of my control. CSS is changing the way extension set icons display on the URL. No code I could add to change the overwriting of superurl bar :/

tiny wing
#

@gilded root could it be that the popup where it says link copied. has a bit more rounded corners while being a bit smaller of a popup.

gilded root
#

I'll add it to the list of updates :)

tiny wing
civic palm
#

Could you make the popup "Link Copied" disappear faster also?

gilded root
gilded root
#

np :)

west sky
# gilded root np :)

does the "Link Copied" popup supposed to popup when you place the extension inside the url bar?

#

because there is like no indicator for when i click the extension when its inside the url bar

#

works though ๐Ÿ™‚

frank scroll
gilded root
gilded root
#

Don't have time or energy to try and fix it right now, but I'll add it to the list :)

frank scroll
frank scroll
neat bough
undone pollen
#

One more feature request. Purely asthetic
In arc when you click on the copy url icon it nicely animates to a check โœ”๏ธ and a toast comes to indicate url is copied.
I was using another extension which does a similar thing but also animates but looks horrible. And yours have a slowww popup. I think you can take best of both and merge.

https://addons.mozilla.org/en-US/firefox/addon/quick-copy-url/

Download Quick Copy URL for Firefox. Quickly copy the URL of your current tab with a click

undone pollen
#

not sure how to add this in the url bar itself though

neat bough
undone pollen
#

I created my own extension lol, I will add this "Show icon in URL bar option too" thanks ๐Ÿ‘

eternal nymph
undone pollen
#

I'm finished with the extension... Waiting for approval on AMO

last swallow