📜 ⬆️ ⬇️

Highlighting the author's comments. Implementation

In the blog "Habrakhabr - Ideas for the site" lomalkin suggested highlighting the comments of the author topic.

Stuck comfortable. I thought a bit, and wrote an implementation for greasemonkey. Tested in Firefox 2, 3 and Opera 9.52.

Install .
')

Change history

  1. fixed work in Firefox 2
  2. added highlighting of new comments (with frames)
  3. added highlighting of comments after sending a new message
  4. added highlighting of own comments. The idea prompted IIIEB4YK
  5. small padding added
  6. fixed work in case the user is not logged in
  7. added soft frames, the frame is not replaced on new messages
  8. the script is optimized, depending on the browser, the acceleration is from two to five times
  9. fixed bug with highlighting author's name in translations
  10. script rewritten under super gab

Source: https://habr.com/ru/post/28990/


All Articles