Update demo.js

This commit is contained in:
2025-10-28 13:52:51 +00:00
parent e858b265a0
commit 117e663f7f

View File

@@ -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!');
})();