4 Matching Annotations
  1. Jun 2022
    1. ```html

      <html> <head> <br /> <script> function noMondays() { var tw = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT, null, false); var textNode = tw.nextNode(); while (textNode) { if (textNode.wholeText.match('Monday') || textNode.parentNode.getAttribute('id') == 'Monday') { textNode.parentNode.removeChild(textNode); } textNode = tw.nextNode(); } } function refresh() { window.location.reload( false ); // Reload our page. } </script>

      </head> <body>

      Monday, Joe bought a turkey.

      Tuesday, Bill bought a pound of nails.

      <div>Chuck called in sick Monday.</div>

      CALL supplier today!

      Wednesday's delivery was delayed.

      <button onclick="refresh()">Reload</button> <button onclick="noMondays()">Lose Mondays</button> </body>

      </html> ```