Stopping users from turning off javascript Answered

Post author
Ben Tossell

We don’t have gated paged but use pop up modals to show ‘this is for pro members only’ - that means people can obviously turn off javascript (or delete the modal in ’inspect) to see the whole content - which I’d love to solve but know I probably can’t. BUT ALSO, people can actually just copy/paste all the content on our pages really easily without signing up. How has anyone else gotten around that?

like is it possible to do it with CSS but only for non-logged in members?

Comments

8 comments

  • Comment author
    Evgenii Tilipman

    Hey Ben! Based on my experience, same page experience is going to cause a few too many headaches. Last thing I would want if I was in your shoes is revenue loss due to reasons you just stated.

    If you have not thought of a proper same page architecture, I would encourage you to rethink architecture and include gated pages 🤔

    Of course, I’m lacking context, and your use case might require same page experience, so take it with a grain of salt 😅

    0
  • Comment author
    Ben Tossell

    hm yeah realistically gated pages just dont work for us, it’s more like a paywall for news site articles - thats how ours is set up, and needs to be imo.

    0
  • Comment author
    Evgenii Tilipman

    Could you give more context how that works? A person clicks on an article, and gets same page experience on that article, or gets forwarded to the article page?

    0
  • Comment author
    Ben Tossell

    yeh looks like this

    0
  • Comment author
    Tyler Bell

    Hey Ben, I can send you a few things your way that prevents:

    • folks from disabling JS and seeing your content
    • blocking MS and seeing your content

    Add this code to the header of your individual pages to redirect users when is JS disabled.

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

    That's a built in feature to browsers / HTML, so it's guaranteed that if JS is disabled, browsers will redirect folks to a page of your choosing.

    0
  • Comment author
    Evgenii Tilipman

    Ooooh nice, so it's basically denying access to users that have no JS enabled 😍

    0
  • Comment author
    Tyler Bell

    You can place the following code in the footer of your pages.

    <script> setTimeout(function() { if (!window.$memberstackReady) { window.location.href = '/javascript-required'; } }, 4000); </script>

    Again, just update the /javascript-required path to wherever you want to send people.

    The above will redirect folks to your set page if Memberstack fails to load for any reason.

    0
  • Comment author
    Manuel Ogomigo

    This should be added to every Memberstack site ❤️
    Thanks a lot for sharing Tyler Bell

    0

Please sign in to leave a comment.