Notion.so Clean Todo Lists - no strikethrough or fading

This script prevents notion from adding a strikethrough and fading checked off items in a todo list.

< 脚本 Notion.so Clean Todo Lists - no strikethrough or fading 的反馈

评价:一般 - 脚本能用,但还有一些问题

§
发布于:2024-03-07

It generally works, but it seems that the style changed.

To get it to work again, you have to exchange the function with the following:

function restyleCheckedTodos(elements){
  elements.forEach((e) => {
    if(e.style.textDecoration == 'line-through rgb(127, 127, 127)' & e.style.color == 'rgba(255, 255, 255, 0.445)'){
      e.style.textDecoration = 'none';
      e.style.color = '';
    }
  });
}

发布留言

登录以发布留言。