How to require users to must have java script enabled to visit my website

littlerubby

Power Member
Joined
Oct 11, 2015
Messages
655
Reaction score
191
Hello there. I'm trying to protect the contents of my website (Wordpress). I tried installing right click blocker script but it doesn't guarantee full protection. They can just turn off their javas cript and copy paste my contents. But i came across this site that solved this problem. I can't visit their site without enabling java script.
How do i require people to have their java script enabled in order to visit my website? Thank you
 
You can't protect even with javascript enabled. People can just press F12 and copy the content from there
 
You can't protect even with javascript enabled. People can just press F12 and copy the content from there
Is there a way though? It could be impossible but i want use the most toughest one :)
 
You can use the noscript tag + developer console protection (although I'm pretty sure this will require js)
 
But i came across this site that solved this problem. I can't visit their site without enabling java script.
They probably use JS to render the webpage.
I think it will be hard to render webpage with JS using wordpress, never tried this kinda thing before.
 
Hello there. I'm trying to protect the contents of my website (Wordpress). I tried installing right click blocker script but it doesn't guarantee full protection. They can just turn off their javas cript and copy paste my contents. But i came across this site that solved this problem. I can't visit their site without enabling java script.
How do i require people to have their java script enabled in order to visit my website? Thank you
You can use <noscript> tags to set text that will be displayed to someone if they don't have js. And you should disable the right click which is pretty simple also. You can also use different encodings that browser knows how to display but are a pain in the ass to decode manually if someone decides to copy from inspect element. People will probably find someone else to steal content from at this point.
 
Just load the content with javascript that way it only works when they have it enabled
 
They probably use JS to render the webpage.
I think it will be hard to render webpage with JS using wordpress, never tried this kinda thing before.
Just load the content with javascript that way it only works when they have it enabled
These guys are right. Use some ajax to load the content. But even so, after it is loaded every client / visitor has full access to it.
 
Are you trying to protect media or text?

There's something important to realize here. Anything delivered to the client can be accessed and there is no way around that. If it's printed on the screen, then it can be copied and stored through not-so-difficult means.

The only thing I can think of to make it difficult would be to print text in very non-standard ways, like you render each letter individually in its own absolute-positioned div. The DOM could be constructed using a JavaScript procedure. Theoretically, you could do the same with media, painting individual pixels to the screen and whatnot. Even then, the actual screen could just be recorded and cropped to obtain media or fed through optical character recognition software to extract the text.
 
No, you cant do anything. The client is in the hands of the enemy!

There is no way of securing the line on the client side. You should not bother trying it. Blocking right click will just make it worse, wont ever visit a site, thats doing it in 2020, thats a technique of 2000. Its a very bad thing to do and gives u nothing, just annoying the visitors. If someone want to steal the website, there is no protection....
 
Back
Top