Require Javascript to view your website

Article author
Josh Lopez
  • Updated

A note on security: Memberstack requires Javascript (JS) to function, meaning members who have JS disabled by default can view members-only content even when they aren't logged in. This is why we don't recommend using Memberstack to hide/gate extremely sensitive information

 

Add the code below to your global site header or to individual page headers (between <head></head>) to redirect users with JS disabled. Make sure you change www.memberstack.io to a page on your site.

 

require_javascript_URL.png

<noscript>
<meta http-equiv="refresh" content="0; url=https://www.memberstack.io" />
</noscript>

 

When someone browses a page with this code in it and their Javascript is disabled, they will be redirected to the page specified in the code snippet (url=https://www.memberstack.io").

 

Why is Memberstack Showing up in my Linked posts?

If your Linkedin posts are displaying the Memberstack Open Graph image, you need to do 2 things. 

1. Replace the Memberstack.com link from the "Require Javascript" noscript snippet. 

2. Refresh the OG images and metadata using the Linked Post Inspector

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.