24

I want to have a bookmark shortcut on my Home screen to launch a web app I use regularly. The only way I found to achieve this is using the Add to Home screen from the Chrome browser menu when I'm on the site. However, this does not let me edit the actual URL the bookmark will point to.

This is a problem because said web app automatically appends the current date to the end of the URL when it's loaded. When I add the shortcut to the Home screen, the link will then actually open the app to display data from the day on which I created the shortcut. I'll always have to open the date picker and navigate to the current date to start using the app.

I'd like to edit the Home screen bookmark shortcut's URL to remove the date added to its end, so it always opens to the current day. Can I achieve this without third-party software?

I'm using an unrooted Sony Xperia Z5 Compact running Android 6.0.1.

  • Some sources say to create a standard bookmark in Chrome, where the URL can be edited, then long-press it in the bookmarks manager and choose to add it to the home screen from the context menu. This context menu entry does not appear to exist anymore in current versions of Chrome.
  • Some sources say to look for a Bookmarks widget that allows to choose a Chrome bookmark to display. This widget doesn't appear to exist anymore in Android 6. The only bookmarks widget I have displays the entire bookmarks folder.
  • The website in question loads too quickly for me to be able to cancel before the URL is modified. I tried many times.
1
  • 2
    Why don't you try this? Install Tasker, setup a 1x1 widget on a home screen and in the task choose Net -> Browse URL -> your URL. Done! MacroDroid can be used as an alternative to Tasker.
    – Firelord
    Oct 14, 2016 at 12:35

3 Answers 3

37

I havent been able to find an intuitive way to modify a desktop shortcut's URL, but I have found a workaround for the problem.

  • Put your phone in airplane mode and disable WiFi to turn off all internet access
  • Open the Chrome browser
  • Type in the URL you are trying to set a shortcut for
  • Press enter and the browser will alert you that you are currently in an offline status
  • On Chrome, click the settings (hamburger) button
  • select add to desktop
You will now have a shortcut on your desktop that refelcts the URL that you have just entered into Chrome
Turn off airplane mode and you're golden.

This applies to Android Marshmallow 6.x as well as Nougat 7.x. It may also apply to older versions as well

4
  • Best part? Not even working for me. It changes in airplane mode too.
    – Andrew
    May 23, 2019 at 14:41
  • Nice hack - I added a maps URL query this way. Jul 30, 2019 at 6:15
  • Works but PWA display rules are not respected to me. It opens the correct URL but in classic Chrome (with the address bar and stuff). When doing "classic way" I have the wrong URL, but it's displayed full page.
    – Mtxz
    Feb 28 at 16:40
  • How brilliant are you :))))
    – truongnm
    Jun 28 at 8:37
1

Inspired by the airplane mode by @axelderhund, the following is my way.

Add a random URL to home screen

Turn on airplane mode, type in your desired URL in your browser, and add to home screen.

In this way no redirection happens and the url is intact.

Check (original) URL of a home screen bookmark

Turn on airplane mode, which prevents redirection. Then connect your phone with your computer via a USB cable. Run browser on the computer and turn on USB debugging. The USB debugging page shows the URL of opened pages on your phone.

0

Okay, this was my solution for Firefox haha:

Search online for a link shortener. (Edit: The one I linked previously is no longer active.)

Use it to create a link, then press and hold on the link to open a drop down and create a bookmark from that. Then, you can press and hold that bookmark and click "Add Page Shortcut".


Now that I did this, I think another solution would be to bookmark the wrong URL and then just edit the bookmark and repeat the "Add Page Shortcut" action above.

1
  • 2
    easyhyperlinks.com seems to be down. But it should work with any link shortener. Just make sure to access and add the link to the home screen before saving the shortened URL.
    – Ralf
    Oct 21, 2019 at 12:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .