1.1.4 • Published 2 years ago

webpagelogger v1.1.4

Weekly downloads
-
License
GPL-3.0-or-later
Repository
-
Last release
2 years ago

Webpagelogger

NPM module for your websites what logs the visit of webpages to your API logger. It sends per POST all possible info what can be gathered from JavaScript including the unique JavaScript fingerprint to your API. The content data is sent asynchronous via POST in a JSON format.

Demo: https://webpagelogger.calantas.org

#Usage:

Add a script import tag to your project:

<script src="node_modules/webpagelogger/dist/webpagelogger.js"></script>

Add the below to your code declaration:

example:

window.onload = async function () {
 let wpl = new Webpagelogger({
     "log_api": "http://couchdb.foo.com/logger", // required  
	 "log_data": "json",  // json(default) or  x-www-form-urlencoded 
	 "log_method": "POST" // POST(default) or PUT(not supported yet)
	 });
 await wpl.logit();
};

Inter Used Javascript Fingerprint

1.1.1

2 years ago

1.1.0

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.3

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago