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
- fixed work in Firefox 2
- added highlighting of new comments (with frames)
- added highlighting of comments after sending a new message
- added highlighting of own comments. The idea prompted IIIEB4YK
- small padding added
- fixed work in case the user is not logged in
- added soft frames, the frame is not replaced on new messages
- the script is optimized, depending on the browser, the acceleration is from two to five times
- fixed bug with highlighting author's name in translations
- script rewritten under super gab
Source: https://habr.com/ru/post/28990/
All Articles