禁止浏览器查看WordPress主题源代码-WordPress主题

摘要:为了保护原创Wordpress主题或是原创文章内容被恶意复制传播,我们可能会想到从功能上禁用复制的方法,这里大挖给大家推…

为了保护原创Wordpress主题或是原创文章内容被恶意复制传播,我们可能会想到从功能上禁用复制的方法,这里大挖给大家推荐下如何通过js来达到禁用浏览器查看源代码的功能,希望对大家有所帮助。

同时分享给大家一段可以网页禁止右键、禁止查看源代码、禁止复制的代码的功能,只需要把下面代码复制到header.php文件内即可生效。

来源:http://www.wazhuti.com/3274.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_12798.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?