Code Monkey home page Code Monkey logo

robadler / bond.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jackstonedev/bond.js

0.0 2.0 0.0 20.45 MB

Bond.js is a demo showing how much information companies can track on the web, and also serves as a warning to all internet users. It records everything you do on a web page, such as mouseclicks, keystrokes, and scrolls, and plays them back to you in exact order. You're essentially watching every move you made.

Home Page: http://jackstonedev.com/portfolio/bond/

CSS 2.61% JavaScript 97.39%

bond.js's Introduction

Bond.js

Bond.js is a demo showing how much information companies can track on the web, and also serves as a warning to all internet users. It records everything you do on a web page, such as mouseclicks, keystrokes, and scrolls, and plays them back to you in exact order. You're essentially watching every move you made.

Why is this important, you ask? A social network could use a script like this to see exactly where their users go, how long they spend on various posts, etc. Hackers could embed a script like this to get all the information they could about an individual. Usernames, passwords, and sensitive information would no longer be safe.

We often falsely assume that we are protected if we disable cookies. This website is all JavaScript, which many web sites rely on for core functionality.

This is not intended to be used for commercial purposes. Instead, Bond.js demonstrates how much information companies can get about you on the web.

Features:

  • User actions are played back exactly as they occurred.
  • Fully-functional Flickr search implementation is included for demo's sake.
  • All actions are processed into a single array, so your information can be easily sold.
  • No Flash or cookie dependency.

Under the Hood

Bond.js captures DOM events as they occur, and inserts them into an array that contains the time and type of each event, the target element, the target value (if applicable), and the mouse and scrollbar position at that time. The array is then iterated over, and scheduled actions are performed based on the time of each event, so everything fires exactly as it did for the user. The mouse and scrollbar positions are also updated continually.

License

Bond.js is licensed under the MIT license.

Copyright (c) 2014 Jack Stone.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

bond.js's People

Contributors

jackstonedev avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.