• trem@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    13
    ·
    8 days ago

    One of the big, national grocery store chains here has managed to create a webpage, where:

    • you cannot open a product in a new tab, and
    • if you click on a product and hit the back-button, it resets the scroll position in the product list all the way to the start.

    In effect, the webpage is practically unusable for actually browsing through products. They’re probably missing out on hundreds of thousands in sales, for something that could be fixed for like 50 quid.

  • MonkderVierte@lemmy.zip
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    9 days ago

    <a target="\_blank">

    About that, you should add rel="noopener" (and maybe noreferer too) there, or the linked site could inject JS in yours, a security risk for your visitors.

    I have a little usercss that adds a warning picture (::after { content: "pic"; }) on _target without noopener and especially Github is bad there.