Userscript to POST all URL's visited to a local server. For use with Tampermonkey and a local Node-RED server.
You must edit the server variable in script.js with your server endpoint.
For example "http://192.168.1.999:1880/firefox"
The flow.json file can be imported into the Node-RED editor for a basic example of server endpoint usage that logs the visited URL's to a file.
With Greasemonkey you may need to replace "GM_xmlhttpRequest" with "GM.xmlHttpRequest" in script.js (untested).
First, install a plugin that enables UserScript. There are several plugins for each web browser:
- Chrome or Firefox: Tampermonkey
- Firefox: Greasemonkey
Then, click here to install.