search

Home  >  Q&A  >  body text

javascript - How to effectively prevent web pages from being stolen?

Even if you can’t prevent masters, you can also prevent ordinary people and novices from stealing codes. How to do it?

I have tried several methods, but even the web page thieves software downloaded from the Internet cannot prevent it~~~

曾经蜡笔没有小新曾经蜡笔没有小新2712 days ago836

reply all(2)I'll reply

  • 迷茫

    迷茫2017-06-26 11:00:26

    1) Prevent the behavior of right-clicking/F12/Ctrl+shift+I and other keys on the page
    2) Compress the page html
    3) Nested frames are dynamically generated using JS to increase the difficulty of plagiarizing code.

    Can you learn from various plug-in websites? After all, they like to do this. Haha

    For example this:

    http://www.jq22.com/

    reply
    0
  • PHP中文网

    PHP中文网2017-06-26 11:00:26

    Impossible, all the browser does is display the web page sent back by the server. There is no encryption.

    reply
    0
  • Cancelreply