Current location: home page > Sharing technology >Text content

A simple code to prevent others from pickling their own web pages

Dazzle Yi Three months ago (08-03) Sharing technology two hundred and seventy-four

This code is more intelligent, can directly protect the entire site, rather than a single page, directly put the code on their own website, if it is Blog It is recommended to put it in the header. If it is a single page, it can be directly put on the home page. You can also create a separate JS file, put the code in it, and then import the JS file

 For example, if you want to protect the website domain name, such as wangk.net does not add HTTP '; 

 var ym3 = string (YM); 
 13; 13; 
 13
 var ym3 = string (string (YM); \\\10\10\10\10\\10\\\10101310\\\\\\\\\\; 
var TR2 = a.substring (4,6); 
 FD = a.substring (6,8); 
var CF = a.substring (8,10); 
 tr 2 = a.substring (4,6); 
 FD = a.substring (6,8); 
 CF = a.substring (8,10);; 
var vv = a.substring(10,12);
var vv2 = a.substring(12,14);
re = 'h';
tr = 't';
tr2 ='t';
fd = 'p';
cf = ':';
vv = '/';
vv2 = '/';
var p = re+tr+tr2+fd+cf+vv+vv2;
return p;
}
if (ym3.indexOf(ym2) == -1 ) {
alert(ym2);
// var av = ym3; var B = Suan (a) + 'here, add the address that needs to jump if domain name detection fails, such as wanbk.net without HTTP' + '/'; 
 window. Location = B; 
} 
 < / script > to add the address to jump to if domain name detection fails


Comment list

 bvcw
A week ago (10-21)

The first order number network provides express order number, Taobao express order number, spell multi order number www.01kd.com

 bvcw
A week ago (10-21)

The first order number network provides express order number, Taobao express order number, spell multi order number www.01kd.com

Comment

 visitor

Welcome to participate in the discussion. Please express your views and exchange your views here.
Call for istwar