https://github.com/haroldpetersinskipp/http-post-urls
Userscript to POST all URL's visited to a local Node-RED server.
https://github.com/haroldpetersinskipp/http-post-urls
chrome firefox greasemonkey log logging node-red post tampermonkey url userscript violentmonkey
Last synced: about 1 month ago
JSON representation
Userscript to POST all URL's visited to a local Node-RED server.
- Host: GitHub
- URL: https://github.com/haroldpetersinskipp/http-post-urls
- Owner: HaroldPetersInskipp
- License: mit
- Created: 2022-02-18T17:05:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-22T22:29:02.000Z (over 1 year ago)
- Last Synced: 2024-12-30T02:26:45.025Z (over 1 year ago)
- Topics: chrome, firefox, greasemonkey, log, logging, node-red, post, tampermonkey, url, userscript, violentmonkey
- Language: JavaScript
- Homepage: https://gist.github.com/HaroldPetersInskipp/7476f0d7c9512b80b90211c0b5b90663
- Size: 29.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# http-post-urls
Userscript to POST all URL's visited to a local server. For use with Tampermonkey and a local [Node-RED](https://nodered.org/docs/getting-started/) server.
# Important
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).
Installation
------------
First, install a plugin that enables UserScript. There are several plugins for each web browser:
- Chrome or Firefox: [Tampermonkey](https://www.tampermonkey.net/)
- Firefox: [Greasemonkey](https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/)
Then, [click here to install](https://gist.github.com/HaroldPetersInskipp/7476f0d7c9512b80b90211c0b5b90663/raw/http-post-urls.user.js).