Is there a way to execute javascript in the current browser window through the command line, either in Chrome or Firefox? Or is it possible to load a bookmarklet that includes javascript?
I'm interested in creating a program that can monitor changes in a CSS file, and once the file is updated, automatically load the new CSS file in the browser window. I've created a javascript bookmarklet for this purpose, but I would like it to happen automatically every time the CSS file gets updated.