Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

Bookmark's URL changes on it's own

  • 4 odpovede
  • 0 má tento problém
  • 1 zobrazenie
  • Posledná odpoveď od cor-el

more options

Trying to bookmark a pdf, it's on the same location across my devices, but my devices have different usernames, so I added "%userprofile%" to the filepath so that it opens on any device. The issue is that when I enter this into the Bookmark URL bar, it automatically sticks "25" next to the % characters, which makes the bookmark unusable.

"C:\Users\%userprofile%\Documents\example.pdf" automatically becomes "file:///C:/Users/%25userprofile%25/Documents/example.pdf"

Also, as I just discovered now when I pasted this URL into this post, a second "25" is inserted, becoming: "file:///C:/Users/%2525userprofile%2525/Documents/example.pdf"

Trying to bookmark a pdf, it's on the same location across my devices, but my devices have different usernames, so I added "%userprofile%" to the filepath so that it opens on any device. The issue is that when I enter this into the Bookmark URL bar, it automatically sticks "25" next to the % characters, which makes the bookmark unusable. "C:\Users\%userprofile%\Documents\example.pdf" automatically becomes "file:///C:/Users/%25userprofile%25/Documents/example.pdf" Also, as I just discovered now when I pasted this URL into this post, a second "25" is inserted, becoming: "file:///C:/Users/%2525userprofile%2525/Documents/example.pdf"

Všetky odpovede (4)

more options

The % character has a special meaning in URLs since it is used to encode characters that otherwise have a function in URLs. %25 is the code for the % character.

Setting that aside, I don't think Firefox can expand %USERPROFILE% the way File Explorer does. Can you make it work if you try it in the address bar without bookmarking? It's not working for me.

more options

Woops, should have actually tried that before I posted. You are correct, it does not, is there any way I could implement this?

more options

Unfortunately, I can't think of any Firefox feature for this.

Does a shortcut in the root of the C drive work? (To get the URL, you can browse to C:\ and then right-click > Copy Link.)

more options

I assume that on Windows you can make this work by using an extra drive letter for that C:\Users\%USERPROFILE% file path.