$(document).click(function(){
$("a").each(function(){
if($(this).parent().parent().hasClass('list-unstyled')){
var href=$(this).attr("href");
var newHref=""
if(href.indexOf("&randomzzz=")>-1){
newHref=href.substring(0,href.indexOf("&randomzzz="));
$(this).attr("href",newHref+"&randomzzz="+Math.round(Math.random()*100000000000000));
}else{
$(this).attr("href",$(this).attr("href")+"&randomzzz="+Math.round(Math.random()*100000000000000));
}
}
})
})

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-15
  • 2022-01-21
  • 2022-01-06
  • 2021-08-28
  • 2022-02-17
  • 2022-12-23
猜你喜欢
  • 2021-06-25
  • 2021-12-19
  • 2022-02-23
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案