king
2022-03-27 413ba63189cd43b282ae858b66aef57893ada4ae
2022-03-27
1个文件已修改
1个文件已添加
17 ■■■■■ 已修改文件
index.html 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/options.json 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
index.html
@@ -21,6 +21,20 @@
    <script type="text/javascript">document.write(unescape("%3Cspan id='cnzz_stat_icon_1279630927'%3E%3C/span%3E%3Cscript src='https://v1.cnzz.com/z_stat.php%3Fid%3D1279630927%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
    <!-- <script type="text/javascript"  src="https://js.users.51.la/4874247.js"></script> -->
    <noscript></noscript>
    <script>
      fetch('./options.json')
        .then(response => response.json())
        .catch(() => {})
        .then(config => {
          if (config && config.filter === 'true') {
            let html = document.getElementsByTagName('html')[0]
            if (html) {
              html.style.filter = 'grayscale(100%)'
            }
          }
        })
    </script>
  </body>
</html>
<script type="text/javascript">
static/options.json
New file
@@ -0,0 +1,3 @@
{
  "filter": "false"
}