15 votes

Animating URLs with Javascript and Emojis

10 comments

  1. [10]
    Greg
    Link
    I clicked through, dutifully chuckled at the concept, enjoyed the video example, and then hit the back button to comment here. And then hit the back button again. And again. I guess it's fairly...

    I clicked through, dutifully chuckled at the concept, enjoyed the video example, and then hit the back button to comment here. And then hit the back button again. And again.

    I guess it's fairly obvious in retrospect, but mutating the URL many times per second will pretty much destroy the browser history's usefulness in short order!

    17 votes
    1. [2]
      Micycle_the_Bichael
      Link Parent
      This was pretty much my first thought. It is like when malicious sites redirect you a million times to make sure you can't get back to the site you want unless you hit back a million times. I...

      This was pretty much my first thought. It is like when malicious sites redirect you a million times to make sure you can't get back to the site you want unless you hit back a million times. I can't think of a single way this is actually useful and a million ways for this to be abused.

      8 votes
      1. toly
        Link Parent
        The abuse should be fairly trivial to mitigate if it truly does get abused but I can totally see how something this creative could be used

        The abuse should be fairly trivial to mitigate if it truly does get abused but I can totally see how something this creative could be used

        3 votes
    2. [6]
      unknown user
      Link Parent
      The benefits of blocking JS... I have three main Firefox profiles: default, shopping, and empty. Default has Ublock Origin in dynamic mode, set to block all JS unless I allow. Shopping has almost...

      The benefits of blocking JS...

      I have three main Firefox profiles: default, shopping, and empty. Default has Ublock Origin in dynamic mode, set to block all JS unless I allow. Shopping has almost everything enabled, and I occasionally use it, only when shopping. Empty is like private mode but it does not have all the extensions I use; I use it when I need to use a JS heavy thing that is not to do with shopping, or when I let someone use my computer.

      So I'm mostly on default, but when I need JS and it is not worth enabling selectively, it is just a click away. Best of both world for me.

      2 votes
      1. [5]
        cfabbro
        Link Parent
        Huh, I never even thought to use profiles like that... I am definitely going to have to set that up for myself, because as much as I love uMatrix and all the tracking/fingerprinting blockers I...

        Huh, I never even thought to use profiles like that... I am definitely going to have to set that up for myself, because as much as I love uMatrix and all the tracking/fingerprinting blockers I use, they can be a PITA to disable whenever I need to browse a site that completely breaks with them enabled.

        p.s. For those wondering how to set up profiles:
        https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles

        1. [4]
          unknown user
          Link Parent
          BTW because Firefox doesn't have a profile switcher as easy to access as Chrome's (you need to go to about:profiles), I suggest you bookmark about:profiles, or if you use dmenu (or similar) you...

          BTW because Firefox doesn't have a profile switcher as easy to access as Chrome's (you need to go to about:profiles), I suggest you bookmark about:profiles, or if you use dmenu (or similar) you can use this script with your window manager:

          #!/bin/sh
          
          grep ^Name= ~/.mozilla/firefox/profiles.ini | cut -d= -f2 \
              | dmenu -p 'Select Firefox profile:' \
              | xargs -r firefox -P
          

          which shows a completing profile selector.

          3 votes
          1. [3]
            cfabbro
            Link Parent
            Apparently launching with "firefox.exe -p" (in windows) and "firefox -profilemanager" (in linux) opens the old profile manager at launch... so I will likely just do that. Shame there isn't a more...

            Apparently launching with "firefox.exe -p" (in windows) and "firefox -profilemanager" (in linux) opens the old profile manager at launch... so I will likely just do that. Shame there isn't a more convenient way to switch profiles though.

            1. unknown user
              Link Parent
              The caveat with that is that if an instance of firefox is already running it'll just open a new window with that instance, instead of opening the profile manager. But you can firefox -P <profile>.

              The caveat with that is that if an instance of firefox is already running it'll just open a new window with that instance, instead of opening the profile manager. But you can firefox -P <profile>.

              1 vote
            2. Pilgrim
              Link Parent
              Hey I do this as well but just made it a shortcut/launcher on my desktop. Makes it pretty easy to switch. So just an idea.

              Hey I do this as well but just made it a shortcut/launcher on my desktop. Makes it pretty easy to switch. So just an idea.

              1 vote
    3. [2]
      Comment deleted by author
      Link Parent
      1. Greg
        Link Parent
        Apparently the history API is rate-limited, so this trick was using the old location.hash = technique instead - sadly we may just have to live with boring non-animated URLs for at least a little...

        Apparently the history API is rate-limited, so this trick was using the old location.hash = technique instead - sadly we may just have to live with boring non-animated URLs for at least a little longer!

        2 votes