Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Vanwege onderhoudswerkzaamheden die uw ervaring zouden moeten verbeteren, heeft deze website beperkte functionaliteit. Als een artikel uw probleem niet verhelpt en u een vraag wilt stellen, kan onze ondersteuningsgemeenschap u helpen in @FirefoxSupport op Twitter en /r/firefox op Reddit.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Edit URL while adding new bookmark?

  • 4 antwoorden
  • 1 heeft dit probleem
  • 31 weergaven
  • Laatste antwoord van Hyde

more options

Is there a way to edit the URL of a bookmark while I'm adding it?

I've changed from Google Chrome to Firefox months ago, and this is one of my biggest gripes with Firefox ever since I switched. Back when I used Google Chrome, I used this feature when I'm bookmarking YouTube videos.

YouTube will often add extra text at the end of URLs, such as "&feature=em-uploademail." I usually remove this to try and keep my URLs as clean as possible. The inability to edit bookmark URLs while creating new bookmarks makes this process much more tedious because when I realize that there's extra text at the end of a URL I have to remove the extra text in the address bar, refresh the page, wait several seconds for the page to fully load (when the page is still loading, the title of the page is often blank), and then I can finally bookmark the video.

This issue has been so annoying to the point of where I've considered switching back to Google Chrome.

Is there a way to edit the URL of a bookmark while I'm adding it? I've changed from Google Chrome to Firefox months ago, and this is one of my biggest gripes with Firefox ever since I switched. Back when I used Google Chrome, I used this feature when I'm bookmarking YouTube videos. YouTube will often add extra text at the end of URLs, such as "&feature=em-uploademail." I usually remove this to try and keep my URLs as clean as possible. The inability to edit bookmark URLs while creating new bookmarks makes this process much more tedious because when I realize that there's extra text at the end of a URL I have to remove the extra text in the address bar, refresh the page, wait several seconds for the page to fully load (when the page is still loading, the title of the page is often blank), and then I can finally bookmark the video. This issue has been so annoying to the point of where I've considered switching back to Google Chrome.

Gekozen oplossing

You can add code to the userChrome.css file below the default @namespace line to have the location row permanently visible.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#editBMPanel_locationRow, #editBMPanel_keywordRow {
  visibility: visible !important;
}


It is not that difficult to create userChrome.css if you have never used it.

The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.

You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in this folder (name is all lowercase). In the chrome folder you need to create a plain text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the text posted.

In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userChrome.css.txt. To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".

You need to close (Quit/Exit) and restart Firefox when you create or modify the userChrome.css file.

See also:

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

  • toolkit.legacyUserProfileCustomizations.stylesheets = true

See:

Dit antwoord in context lezen 👍 0

Alle antwoorden (4)

more options

How are you bookmarking the current tab ?

If you click the star on the location bar or bookmark the link via the right-click context menu then you should get the "Edit This bookmark" dialog and be able to modify the URL. If you create the new bookmark by dragging the tab then you will have to click the highlighted star to access the dialog.

The "Edit This Bookmark" dialog that opens if you click the highlighted star has a checkbox with "Show editor when saving" (shortcut key in the dialog is Alt+S). This item is at the bottom just above "Remove Bookmark" and "Done".

See "How do I change the name or location of a bookmark?"

more options

cor-el said

How are you bookmarking the current tab ? If you click the star on the location bar or bookmark the link via the right-click context menu then you should get the "Edit This bookmark" dialog and be able to modify the URL. If you create the new bookmark by dragging the tab then you will have to click the highlighted star to access the dialog. The "Edit This Bookmark" dialog that opens if you click the highlighted star has a checkbox with "Show editor when saving" (shortcut key in the dialog is Alt+S). This item is at the bottom just above "Remove Bookmark" and "Done". See "How do I change the name or location of a bookmark?"

I normally bookmark by using the Ctrl+D shortcut, which also opens the "Edit This Bookmark" menu. There is no field to edit the URL.

more options

Gekozen oplossing

You can add code to the userChrome.css file below the default @namespace line to have the location row permanently visible.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#editBMPanel_locationRow, #editBMPanel_keywordRow {
  visibility: visible !important;
}


It is not that difficult to create userChrome.css if you have never used it.

The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.

You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in this folder (name is all lowercase). In the chrome folder you need to create a plain text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the text posted.

In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userChrome.css.txt. To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".

You need to close (Quit/Exit) and restart Firefox when you create or modify the userChrome.css file.

See also:

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

  • toolkit.legacyUserProfileCustomizations.stylesheets = true

See:

more options

The userChrome.css solution works, thanks. This should really just be a default feature, though.