Socket
Socket
Sign inDemoInstall

castle.js

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

castle.js

Castle Tracking Script


Version published
Weekly downloads
564
decreased by-14.8%
Maintainers
2
Weekly downloads
 
Created
Source

Castle Tracking Script

Packaged version of Castle tracking script.

Introduction

The Castle JavaScript automatically captures every user action in your web application, including clicks, taps, swipes, form submissions, and page views. We use this data to build profiles of good user behavior in order to detect the bad.

Minimal Requirements

  • Chrome 4
  • Edge 12
  • Firefox 3.5+
  • IE 8+ (must be in standards mode), IE 9 (by default)
  • Safari 4 (iOS Safari 4.1)
  • Opera 11.5
  • All other browsers are supported for all versions

Installation

npm install castle.js

Include the JavaScript

<script type="text/javascript" src='dist/c.js'></script>
<script type="text/javascript">
  _castle('setAppId', 'YOUR_CASTLE_APP_ID');
</script>

Be sure to replace YOUR_CASTLE_APP_ID with your site identifier provided after registration.

Usage

See Castle Docs for more information

License

MIT

This software includes code from PluginDetect, www.pinlady.net/PluginDetect/license

FAQs

Package last updated on 12 Jun 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc