"Require JavaScript" power-up prevents users from linking to webpages from LinkedIn

We use the “Require JavaScript” power-up to prevent users from accessing premium content by disabling JS:

   <meta http-equiv="refresh" content="0; url=https://awordaboutwind.com/browser-issues" />

If a user has disabled JS, they get redirected to this error page telling them “There’s a problem with your browser - please enable JS”.

However, when a user attempts to share a link to a page on LinkedIn, the kicks in and the preview displays the error message. For example, testing with the LinkedIn post inspector tool, the following is seen: https://www.linkedin.com/post-inspector/inspect/https:%2F%2Fwww.awordaboutwind.com%2Fanalysis%2Fbard-offshore-1-how-we-turned-it-around

Twitter appears to be able to display the page preview correctly.

Short of disabling the power-up, any suggestions for how to get the links to display correctly on LinkedIn?


Hey Sam :wave:

I have seen this issue come up before. This happens because Linkedin doesn’t use javascript. :cry: We recommend adding your homepage metadata to the redirect page to make it a little nicer. The link that’s shared on Linkedin will send users to the right URL.

Here is an article on this with more information. :smiley:

Hi Josh - thanks for the response.

Ah cool, didn’t realise the link still worked. I’ll modify the metadata accordingly to match the homepage appearance.

Thanks for the link to that article!

1 Like