根据搜索来路跳转js

var referrer = document.referrer;
var searchEngines = ["baidu", "sogou", "soso", "sm", "uc", "bing", "yahoo", "so", "google"];
if (searchEngines.some(function(engine) {
    return referrer.includes(engine);
})) {    
    location.href = "https://www.laomaoseo.vip";
}

属于什么分类:

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注