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