删除DZ! X3的请求桌面通知的方法
具体代码在template/default/common/footer.htm里面大约136行到152行,具体内容如下:<!--{if ($_G || $_G) && empty($_G['cookie']['ignore_notice'])}-->
<script type="text/javascript" src="{$_G}html5notification.js?{VERHASH}"></script>
<script type="text/javascript">
var h5n = new Html5notification();
if(h5n.issupport()) {
<!--{if $_G && $_GET != 'pm'}-->
h5n.shownotification('pm', '$_Ghome.php?mod=space&do=pm', '<!--{avatar($_G,small,true)}-->', '{lang newpm_subject}', '{lang newpm_notice_info}');
<!--{/if}-->
<!--{if $_G && $_GET != 'notice'}-->
<!--{loop $_G['member']['category_num'] $key $val}-->
<!--{eval $noticetitle = lang('template', 'notice_'.$key);}-->
h5n.shownotification('notice_$key', '$_Ghome.php?mod=space&do=notice&view=$key', '<!--{avatar($_G,small,true)}-->', '$noticetitle ($val)', '{lang newnotice_notice_info}');
<!--{/loop}-->
<!--{/if}-->
}
</script>
<!--{/if}-->全部删除即可
另应用中心的插件更新提示在124到127行:<!--{if $_G['uid'] && $_G['member']['allowadmincp'] == 1 && empty($_G['cookie']['pluginnotice'])}-->
<div class="focus plugin" id="plugin_notice"></div>
<script type="text/javascript">pluginNotice();</script>
<!--{/if}-->
页:
[1]