🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

webpagelogger

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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 PO

latest
npmnpm
Version
1.1.4
Version published
Maintainers
1
Created
Source

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

Keywords

usage

FAQs

Package last updated on 01 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts