Commit c1f112ee authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

limit picasso for metager.org before disabing it

parent 10eecdcf
......@@ -3,7 +3,9 @@ require('fetch-ie8');
import picassoCanvas from '../picasso';
checkPicasso();
if (document.location.href.match(/\/\/metager\.org/i) !== null) {
checkPicasso();
}
document.querySelectorAll("div.user input, div.user select").forEach(element => {
element.addEventListener("change", event => {
......
......@@ -4,7 +4,9 @@ require('fetch-ie8');
import picassoCanvas from './picasso';
// This is the result of the picasso canvas fingerprint that we'll submit back to our server
const canvasValue = picassoCanvas();
if (document.location.href.match(/\/\/metager\.org/i) !== null) {
const canvasValue = picassoCanvas();
}
// Find the key id for the browser-verification
document.querySelectorAll("link").forEach(element => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment