api.js

Summary
api.js
Variables
counterThe counter before user can validate access
translationThe translation of the ‘Can access’ button
theLocationThe current location
Functions
onLoadFunction called when the window is loaded
updateWaringShow the warning about https if need
decraseCounterDecrase the counter who force user to read what it’s written
ignoreIngore the request -> close the window
cannotFor the selected thing to be ignored in the futur
canLets the selected thing to use the api and return the api key

Variables

counter

var counter

The counter before user can validate access

translation

var translation

The translation of the ‘Can access’ button

theLocation

var theLocation

The current location

Functions

onLoad

function onLoad(d)

Function called when the window is loaded

Parameters

dThe window

updateWaring

function updateWaring()

Show the warning about https if need

decraseCounter

function decraseCounter()

Decrase the counter who force user to read what it’s written

ignore

function ignore()

Ingore the request -> close the window

cannot

function cannot()

For the selected thing to be ignored in the futur

can

function can()

Lets the selected thing to use the api and return the api key

var counter
The counter before user can validate access
var translation
The translation of the ‘Can access’ button
var theLocation
The current location
function onLoad(d)
Function called when the window is loaded
function updateWaring()
Show the warning about https if need
function decraseCounter()
Decrase the counter who force user to read what it’s written
function ignore()
Ingore the request -> close the window
function cannot()
For the selected thing to be ignored in the futur
function can()
Lets the selected thing to use the api and return the api key
Close