Of course, if your website Article If there are images, remember to add your own logo, and this logo should not be fixed in a certain corner of these images. It must be randomly displayed in any position of the images, so that you can see what you want, the collectors felt that the website logo of the other party was unpredictable and difficult to prevent ......
Start with the topic. How can we insert copyright texts randomly in our articles? It took some time last night to write a simple random insert of random text.Code, ASP version:
''=== random generation of interference text function start ===< br>'' === random generation of interference text function 1 ===< br> function rndk ()
dim S, S1, N, N1
''randomly inserts the copyright text of your website. Multiple copyrighted texts are separated by |.
S =" | script: http://www.jb51.net. | Http://www.jb51.net. | Jb51.net. | http://www.kanshule.com | script "
S1 = Split (S," | ")
randomize
N = int (ubound (S1)-lbound (S1) + 1) * RND + lbound (S1 ))
randomize
n1 = int (10-1 + 1) * RND + 1)
If n1 <= 3 then' 30% probability
rndk = S1 (N)
else
rndk = ""
end if
end function
''= random generation of interference text function 2 =
function transtr (STR) 'Call this function to convert
dim str1, I, K
K = "
" 'segmentation keywords
str1 = Split (STR, k)
for I = lbound (str1) to ubound (str1)
transtr = transtr & str1 (I) & rndk () & K
next
end function
''= random generation of interference text function end ==
During the specific call, for example, if we use the above function to convert the content field content, it will be OK, just like transtr (content. The keyword used here is <p> </P> before the end of a paragraph. You can also change it to another keyword, such as <br> line feed. If your field is not converted to UBB, the newline carriage return number is CHR (10) & CHR (10), and the keyword can be changed to it.
Although the content of our website cannot be fully original, it is also a piece of article we have worked hard to organize.ProgramIn just a few hours, you may be able to steal your painstaking efforts over a few months or even years. It is not easy for anyone to put it on.
Therefore, floating easily releases such random copyright insertion code, hoping to curb the arrogance of some of these collectors.
If you have a better method, please leave your comment.