This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bookmark sleep

I want to have a URL that I can bookmark to see the times of sleep phases and edit last night's sleep.

This doesn't work:
https://connect.garmin.com/modern/sleep/

It says:

We're sorry. The page you're looking for no longer exists.

  • The forum prevents me from writing javascript code and links so it is hard to describe it. Look in the attached image for what you should write as javascript code. The forum changes what I write. Now I think I finally found a way by using the code tag...doh! :-)

    A bookmarklet should do it:

    Go to this page: https://mrcoles.com/bookmarklet/

    Enter the following in the field for javascript code:

    window.open("https://connect.garmin.com/modern/sleep/" + new Date().toISOString().slice(0,10));

    Set the name to Garmin Sleep

    Click Convert to bookmarklet.

    It will look like this:

    Drag and drop the blue button with the text Garmin Sleep to your bookmarks in the browser.

  • Most excellent!   Thanks a bunch!

  • Based on what @e7andy wrote I came up with the following:

    data:text/html,<script>window.location.href='https://connect.garmin.com/modern/sleep/' + new Date().toISOString().slice(0,10);</script>

    The advantage is that it works better in a "New Tab" tab in chrome... It still says "popup blocked", but there is a correct link to click.

    The "javascript:" version wouldn't work at all in a new tab.