Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

Bookmark's URL changes on it's own

  • 4 réponses
  • 0 a ce problème
  • 13 vues
  • Dernière réponse par 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"

Toutes les réponses (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.

Cela vous a-t-il été utile ?

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?

Cela vous a-t-il été utile ?

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.)

Cela vous a-t-il été utile ?

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.

Cela vous a-t-il été utile ?

Poser une question

Vous devez vous identifier avec votre compte pour répondre aux messages. Veuillez poser une nouvelle question, si vous n’avez pas encore de compte.