User:Irukaza/common.js:修订间差异

添加212字节 、​ 2021年8月6日 (星期五)
无编辑摘要
imported>=海豚=
无编辑摘要
imported>=海豚=
无编辑摘要
第1行: 第1行:
if (window.localStorage.getItem('Newusertips')) {
return();
}
else{
$(window).scroll(function(){
$(window).scroll(function(){
      if ($(this).scrollTop() > 500) {
      if ($(this).scrollTop() > 500) {
第15行: 第19行:
            location.replace(uri);
            location.replace(uri);
            $("#Newusertips").remove();
            $("#Newusertips").remove();
           window.localStorage.setItem('Newusertips', true);
          }).filter('[data-lang="' + wgUserVariant + '"]').addClass("mw-ui-progressive");
          }).filter('[data-lang="' + wgUserVariant + '"]').addClass("mw-ui-progressive");
          $("#Newusertips-explainer").on("click", function() {
          $("#Newusertips-explainer").on("click", function() {
第21行: 第26行:
          $("#Newusertips-disable").on("click", function() {
          $("#Newusertips-disable").on("click", function() {
            $("#Newusertips").remove();
            $("#Newusertips").remove();
           window.localStorage.setItem('Newusertips', true);
            localStorage.setItem("AnnTools-noteTA-alert", "true");
            localStorage.setItem("AnnTools-noteTA-alert", "true");
          });
          });
      }
      }
});
});
}
匿名用户