Bookmark's URL changes on it's own
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)
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.
Woops, should have actually tried that before I posted. You are correct, it does not, is there any way I could implement this?
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.)
I assume that on Windows you can make this work by using an extra drive letter for that C:\Users\%USERPROFILE% file path.