I'm really new to coding and I'm looking for a simple way to add a specific script to a webpage. I want this script to make a notification pop up over other windows whenever there are changes on the page. I've been dabbling with PowerToys on Windows 11, but it's not really working for me. Do I need to share the webpage link for more help?
3 Answers
Have you looked into tools like Tampermonkey? It might not be as simple as a custom button or filter, but it could work for your needs. Just a heads up, since you mentioned you're a flight dispatcher, if the program fails due to changes in the website, it could lead to serious issues. If window space is a concern, could getting a second monitor be an option?
You might want to check out using the dev console to add an event handler for the changes you’re monitoring, but keep in mind this would reset every time the page refreshes. Modern browsers block some action that would force a tab to come to the front for user experience and security reasons. For notifications, the Notifications API could be useful. If you're looking for something more automatic, maybe consider writing a web scraping script with Selenium or Playwright that pings the page for updates. By the way, what exactly are you monitoring, and how urgent are those updates?
Unfortunately, you can’t just add code to websites that you don’t own unless you’re developing a browser extension, which might be a bit too advanced for now. It’s a good idea to focus on basics first. Any specific features you’d want to add, or is it just about notifications?

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically