Liquid, JavaScript, themes, sales channels
I'm not familiar with the Shopify platform just trying to help someone out.
The rich text editor was used to create a link to another site. Shopify automatically adds rel-"noopener noreferrer" to the link. I then open the HTML editor, manually remove rel-"noopener noreferrer", but when I save Shopify reinserts that into the link.
How do I create a link on a page within a Shopify site that doesn't have that rel tag included?
Thanks for your help!
If your links happen to target a new window i.e. _blank, then I am afraid you won't be able to remove the noopener and noreferrer. Those are being added to avoid a potential security flaw colloquially known as "tabnabbing" wherein the target page (tab), can for a brief moment take control of the originator page (tab) using exploitive JS.
You can read more on OWASP's Reverse Tabnabbing article.
p.s. Yes, I know it messes with your referral tracking etc. but if you want to avoid it: don't use _blank.
Hope this helps!
Do these tags have an impact on SEO follow/nofollow links?
User | RANK |
---|---|
11 | |
9 | |
9 | |
6 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022