User:Shahadat/Highlight recently added text
Jump to navigation
Jump to search
Status | Works |
---|---|
Source | User:Shahadat/Highlight recently added text.js |
This script adds a faint green background to any text that has been recently added, or added since you last visited a page.
How it works
- This script stores a list in your browser of when you last saw a page. If you have visited a page before on your current browser (with this script installed), it will highlight text that has been added since then.
- If you have not visited an article before on your current browser (with this script installed), it will highlight what has been added in the last 10 edits (ignoring reverted edits).
- Reload the page to remove the highlights.
Default settings
window.highlightRecentlyAddedTextSettings = {
color: 'rgba(108, 255, 18, 0.09)', // Faint green
useInMainspace: true,
}
Installation
Add this to your common.js file: importScript('User:Shahadat/Highlight recently added text.js');
Script Attribution
![]() | This script was manually imported from Wikipedia in compliance with their CC-BY-SA license. This script is utilized either partially or in full, incorporating corrections, modifications, or imported from the original script. For details regarding the original script and its creator, please refer to the following link: https://en.wikipedia.org/wiki/User:%C3%9Ejarkur/Highlight_recently_added_text |