ycf.github.com icon indicating copy to clipboard operation
ycf.github.com copied to clipboard

卡西欧 W-800H 改反显 | Fengz' notes

Open YCF opened this issue 5 years ago • 6 comments

https://sync.sh/CASIO-W800H-1AV-inverted-display#1593047720

YCF avatar Jun 25 '20 01:06 YCF

清明了,页面都是黑白的。

thaoeu avatar Apr 04 '21 11:04 thaoeu

清明了,页面都是黑白的。

很早就设置了,是由页面底部的JS控制的,都是一些公祭日。

<script>
    window.onload = function() {
    var grayDay = [108, 207, 219, 404, 420, 512, 815, 909, 918, 1213];
    var today = new Date();
    var d = (today.getMonth() + 1) * 100 + today.getDate();
    grayDay.forEach(function(i) {
      if (i == d) {
        var classVal = document.getElementsByTagName('body')[0].getAttribute("class");
        classVal = classVal.concat(" grayDay");
        document.getElementsByTagName('body')[0].setAttribute("class", classVal);
      }
    });
  }
</script>

YCF avatar Apr 04 '21 11:04 YCF

@YCF

清明了,页面都是黑白的。

很早就设置了,是由页面底部的JS控制的,都是一些公祭日。

<script>
    window.onload = function() {
    var grayDay = [108, 207, 219, 404, 420, 512, 815, 909, 918, 1213];
    var today = new Date();
    var d = (today.getMonth() + 1) * 100 + today.getDate();
    grayDay.forEach(function(i) {
      if (i == d) {
        var classVal = document.getElementsByTagName('body')[0].getAttribute("class");
        classVal = classVal.concat(" grayDay");
        document.getElementsByTagName('body')[0].setAttribute("class", classVal);
      }
    });
  }
</script>

点赞!为了缓解眼疲劳用过一段时间黑白屏幕,刚刚看页面都没反应过来哈哈。

thaoeu avatar Apr 04 '21 12:04 thaoeu

催更啊!一年了你知道这一年我是怎么过来的吗?没事就刷 sync.sh, 最新的文章还停留在二零年六月。

thaoeu avatar Oct 28 '21 03:10 thaoeu

催更啊!一年了你知道这一年我是怎么过来的吗?没事就刷 sync.sh, 最新的文章还停留在二零年六月。

好好好,请问您想看哪方面的内容呢?工作有点忙,后面多写点东西。

YCF avatar Oct 28 '21 09:10 YCF

随便写点啥嘞,最近在回归老物件,手机换回了键盘机,阅读形式从流媒体转为 Rss, 说起来你的 Rss 获取到的标题还是"诗云",那会我应该还没关注你吧.

thaoeu avatar Jan 10 '22 09:01 thaoeu