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.
- 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.
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.
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.