Code Monkey home page Code Monkey logo

fybridjs's Introduction

fybridjs

fybridjs is an open source browser fingerprinting (or fingerprinting) library. Fingerprinting can be used for identifying the user's browser and is useful for fraud detection and delivering more personalized services to the users (e.g., targeted advertisement).

Conventional browser identification methods mainly rely on client-side identifiers such as browser and Flash cookies. However, a careful or attentive user can see the list of client-side identifiers on her browser and simply delete them. Or, she can operate in the private mode of the modern browsers to block the cookies.

In contrast, fingerprinting is invisible to users and does not leave any footprint on the browser, making it hard to detect and prevent and a powerful means of identification.

fybridjs first exploits the following Web technologies for collecting information through the browser and generating a unique identifier for the browser [1]:

  • Browser built-in JavaScript objects (jsobj) // jsobj is an argument for calling fybrid
  • HTML5 canvas element (canvas)
  • Flash plugin (flash)
  • JavaScript-based font detection (jsfonts)

##How to use it:

In order to use fybridjs, simply add the JavaScript file of fybridjs to your project:

<script src="fybridjs.js"></script>

Then, add the following codes to the body of your webpage:

<script>
    document.addEventListener("fingerprint_is_ready", function(e) {
        console.log('id -> ' + e.detail.id); // here is the generated id by fybridjs
    });

    window.onload = function() {
        var ID = new fybridjs();
        ID.setID('canvas', 'flash', 'jsobj', 'jsfonts', 'encrypt'); // arugements are comming from [1]
    };
</script>

if you want to remove a method from fybrid, just remove the related argument. For example, if you want to remove the Flash plugin from fybrid, remove the 'flash' argument from the setID method:

ID.setID('canvas', 'jsobj', 'jsfonts', 'encrypt'); // 'flash' is removed

fybridjs's People

Contributors

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