Update demo.js
This commit is contained in:
6
demo.js
6
demo.js
@@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @name Link Highlighter
|
||||
// @namespace https://github.com/yourusername/
|
||||
// @version 1.0.0
|
||||
// @version 1.0.1
|
||||
// @description Highlights all links on the page
|
||||
// @author TheMonitor
|
||||
// @match *://*/*
|
||||
@@ -16,9 +16,9 @@
|
||||
// Add yellow background to all links
|
||||
const links = document.querySelectorAll('a');
|
||||
links.forEach(link => {
|
||||
link.style.backgroundColor = '#ffff00';
|
||||
link.style.backgroundColor = '#90EE90';
|
||||
link.style.padding = '2px';
|
||||
});
|
||||
|
||||
console.log('Link Highlighter v1.0.0 loaded!');
|
||||
console.log('Link Highlighter v1.0.1 loaded!');
|
||||
})();
|
||||
Reference in New Issue
Block a user