6 years ago (2015-03-14)  Algorithm language |   First to comment  12 
post score 0 times, average 0.0

As the saying goes, “The World Website is generally copied.” Online blog posts are often reproduced numerous times. Although blogging has no income, I want to write articles that should also be copyrighted.Even though blog posts often include copyright information under the “reproduced request source” below, for example, my is “unless specifically noted, all articles on this site are original blogs of Wang Baiyuan. In order to respect the author’s labor, reprint please specify Source http://wangbaiyuan.cn”; however, some adages are “too lazy to cramp” and copy and paste without copyright notice. The following code is designed for people who are too lazy to cramps. It is the function of automatically adding copyright information to the copy content when using JavaScript to realize the copy of the article. If so, there are people who intentionally delete the copyright information, and I will be silent.  

JavaScript to achieve article copy plus copyright information

1. Background theme options add custom code

  You can add this code to the end of the web page. If your theme doesn't have custom code, you can refer to the following method:

2.js script function in 2.functions.php

Place the following code in the template function file (before the last "?>"): By default, the code is loaded in the footer.



This article has been printed on copyright and is protected by copyright laws. It must not be reproduced without permission.If you need to reprint, please contact the author or visit the copyright to obtain the authorization. If you feel that this article is useful to you, you can click the "Sponsoring Author" below to call the author!

Reprinted Note Source: Baiyuan's Blog>>https://wangbaiyuan.cn/en/javascript-implementation-article-copy-plus-copyright-information-2.html

Post comment


No Comment


Forget password?