怎么彻底移除hexo 系统中的谷歌宣传?
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/78f0832654e24de9a22c3597ffb0e41b~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1722919361&x-signature=NKFlvacmu70qy2r1hCK4eS%2Fbz9w%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">此刻</span>网站申请加入Google<span style="color: black;">宣传</span>越来越困难,都不给你<span style="color: black;">详细</span>的理由,却都<span style="color: black;">宣传</span>挂到你网站了,还不给你<span style="color: black;">经过</span>审核,很是气愤,索性就删掉它。</span></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/84a0018166854c8b956d2d5785fb5555~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1722919361&x-signature=cs9P8YhAAQCdLZYARLaY%2Bp36liU%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">可是清除它的<span style="color: black;">宣传</span><span style="color: black;">亦</span>不是一件容易的事,现总结如下,以供各位参考:</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">1)运行删除hexo-google-adsense的npm命令:</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">npm uninstall hexo-google-adsense</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/fff71860d5fd439ca6381e31d71bab8f~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1722919361&x-signature=Qwme00sMJw3U1FbAK3oc4LIjfno%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">2)<span style="color: black;">另外</span>,还有些hexo插件,<span style="color: black;">能够</span><span style="color: black;">帮忙</span>清理hexo网站的不需要的样式和脚本,进一步清理Google<span style="color: black;">宣传</span>遗留在系统里面的垃圾。<span style="color: black;">一样</span>用npm命令,<span style="color: black;">能够</span>进行安装,命令格式如下:</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">npm install hexo-XXX-XXX</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">运用</span>这个命令就<span style="color: black;">能够</span>对下面hexo清理插件进行安装了,<span style="color: black;">大众</span>只需根据需要替换命令中的“XXX-XXX”。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">这几个插件的介绍如下,供各位参考:</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">hexo-filter-clean-css</span></strong><span style="color: black;">:此插件<span style="color: black;">能够</span><span style="color: black;">帮忙</span>您从您的网站中删除不需要的 CSS,<span style="color: black;">包含</span>与 Google <span style="color: black;">宣传</span><span style="color: black;">相关</span>的任何 CSS。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">hexo-filter-clean-js</span></strong><span style="color: black;">:此插件<span style="color: black;">能够</span><span style="color: black;">帮忙</span>从您的网站中删除不需要的Javascript,<span style="color: black;">包含</span>与Google<span style="color: black;">宣传</span><span style="color: black;">关联</span>的任何Javascript。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">hexo-filter-optimize</span></strong><span style="color: black;">:此插件<span style="color: black;">能够</span><span style="color: black;">帮忙</span>优化您网站的 HTML 并删除不需要的元素,<span style="color: black;">包含</span>与 Google <span style="color: black;">宣传</span><span style="color: black;">关联</span>的任何元素。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">hexo-generator-searchdb</span></strong><span style="color: black;">:此插件<span style="color: black;">能够</span><span style="color: black;">帮忙</span>您从您网站的搜索结果中删除广告。</span></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/d37473f08be54347ba0aa5564c007e42~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1722919361&x-signature=F%2Fqp3px8HgmblB%2BSynW4NRSPi7s%3D" style="width: 50%; margin-bottom: 20px;"></div>
楼主的文章深得我心,表示由衷的感谢! 感谢楼主的分享!我学到了很多。 期待楼主的下一次分享!” 你的话语真是温暖如春,让我心生感激。 你字句如珍珠,我珍藏这份情。
页:
[1]