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.

< Feedback on Notion.so Clean Todo Lists - no strikethrough or fading

Review: OK - script works, but has bugs

§
Posted: 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 = '';
    }
  });
}

Post reply

Sign in to post a reply.