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

Değerlendirme: İdare eder - script çalışıyor ama hataları var

§
Gönderildi: 07.03.2024

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

Cevap paylaş

Yanıt göndermek için oturum açın.