index.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <link rel="canonical" href="https://jamesfengcao.gitlab.io/uweb/zh/adblock_css/" />
  7. <link rel="stylesheet" href="../style.css#" type="text/css" />
  8. <title>利用用户自定义样式屏蔽不良信息</title>
  9. <script>
  10. function findLang(){
  11. let href = location.href;
  12. for(let i=href.length-1;i>0;i--){
  13. if('/'==href.charAt(i) && '/'==href.charAt(i-3))
  14. return i;
  15. }
  16. return 0;
  17. }
  18. function nav2(page){
  19. let i = findLang();
  20. location.href = location.href.substring(0,i+1)+page;
  21. }
  22. function nav2Lang(lang){
  23. let i = findLang();
  24. let href = location.href;
  25. location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
  26. }
  27. </script>
  28. </head>
  29. <body>
  30. <header class='header'>
  31. <a class="logo" href="javascript:void(0)" onclick="return nav2('index.html#')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html#')">Tags</a>
  32. <nav>
  33. </nav>
  34. </header>
  35. <br />
  36. <div class="container">
  37. <h1 class="title">利用用户自定义样式屏蔽不良信息
  38. <br>
  39. <span class="subtitle"></span>
  40. </h1>
  41. <ul class="tags">
  42. <li><a href="../tags/%e4%b8%8d%e8%89%af%e4%bf%a1%e6%81%af%e5%b1%8f%e8%94%bd/index.html#">不良信息屏蔽</a> </li>
  43. <li><a href="../tags/css/index.html#">css</a> </li>
  44. </ul>
  45. <p>点击以下链接可安装全局样式,清后台重启浏览器,长按底部工具条窗口按钮弹出对话框后勾选上述文件名即可屏蔽不良信息。<br>
  46. <a href="i:0hcss/floppymoose.css:http://www.floppymoose.com/userContent.css">floppymoose 广告屏蔽样式</a><br>
  47. <a href="i:0hcss/gozer.css:https://www.gozer.org/mozilla/ad_blocking/css/ad_blocking.css">gozer 广告屏蔽样式</a></p>
  48. <p><a href="../index.html#">超微浏览器</a>支持<a href="../adblock_domain/index.html">根域名屏蔽</a>,完全绝杀手机不良信息小厂。但少部分不良信息大厂本身也提供高质量的内容服务,它们可以将不良信息伪装成正常的内容从而逃脱域名绝杀。<br>
  49. 对这一部分不良信息而言,我们可以利用超微浏览器的自定义样式功能加以屏蔽。</p>
  50. </div>
  51. <p>Last Modified: 2 April 2024<br>
  52. add js function in README<br>
  53. <pre></pre>
  54. </p>
  55. <script id='jsgiscus'
  56. src='https://giscus.app/client.js'
  57. data-repo="torappinfo/uweb"
  58. data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
  59. data-category="Announcements"
  60. data-category-id="DIC_kwDOEgNLGc4CQjsh"
  61. data-mapping="title"
  62. data-strict="0"
  63. data-reactions-enabled="1"
  64. data-emit-metadata="0"
  65. data-input-position="top"
  66. data-theme="light"
  67. data-lang="en"
  68. data-loading="lazy"
  69. crossorigin="anonymous" async>
  70. </script>
  71. <footer class="site-footer">
  72. <div class="container">
  73. &copy; 2018-2024 Richard H. Cao
  74. </div>
  75. </footer>
  76. <!-- This document is licensed under the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at <https://www.gnu.org/licenses/>. -->
  77. </body>
  78. </html>