$(document).ready(function() { var a = $(".copy").find('a[href="https://www.52fb.cn/"], a[href="https://www.b5b6.com/"], a[href="https://www.ylefu.com/"], a[href="https://zidian.openjq.com/"]'); if ("open开发" != a.text() && !a.is(":hidden") && "nofollow" != a.attr("rel") && "hidden" != a.css("visibility")) { // $("head").remove(); } });