开发我的网站的公司刚刚在 Zend Guard 加密的 index.php 文件中添加了这个 javascript 代码(我用“查看源代码”看到它):
(function ()
{
var smrs = document.createElement("script");
smrs.type = "text/javascript";
smrs.async = true;
smrs.src = document.location.protocol + "//www.domain.com/file.js";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(smrs, s);
})();
它在页面底部注入了一个非常激进的 javascript 代码,该代码将一个图像链接添加到他们的网站(每 10 秒一个 SetInterval)。
问题 ?目前被指控犯有重大欺诈行为的当地竞争对手拥有相同的 CMS 和相同的图像链接。
与那个竞争对手有联系对我来说是有偏见的。我想知道是否有办法阻止使用 .htaccess 加载“www.domain.com/file.js”。
谢谢。