这个网站是一个JavaScript代码片段,用于在用户设备上检测是否为iPhone、iPad或Android设备,并根据设备类型显示不同的页面。如果设备是iPhone或iPad,则直接跳转到”/sp/top/“页面;如果设备是Android或iPod,则显示一个图片。

window.dataLayer = window.dataLayer || [];  
function gtag(){dataLayer.push(arguments);}  
gtag('js', new Date());  
gtag('config', 'G-1C9YCB7DGC');  
  
if((navigator.userAgent.indexOf('iPhone') > 0 && navigator.userAgent.indexOf('iPad') == -1) || (navigator.userAgent.indexOf('Android') > 0 && navigator.userAgent.indexOf('Mobile') > 0) || navigator.userAgent.indexOf('iPod') > 0) {  
window.location.href = "/sp/top/";  
}  
$(function() { $("a img").hover( function() { var src = $(this).attr("src"); }, function() {});