• @Scolding0513
    link
    English
    121 month ago

    I have seen certain links on the internet, where,

    The text reads “example.com”, and when you hover over it, the little textbox at the bottom left also reads “example.com

    but if you click to open the link in a new tab or if you right click and copy the link and paste it in the address bar, it’s actually a completely different link

    it’s shady af! and im wondering if it’s the same thing as what this article is describing, and if not, how they are able to do it?

    • @[email protected]
      link
      fedilink
      English
      141 month ago

      Basically override the default event for an anchor tag and use js to open a new tab to a given link.