Skip to content

noodlelover1/cloak.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloak.js

A JavaScript framework for tab cloaking

Integration

Include the script with the following CDN tag in your HTML page :

<script src="https://cdn.jsdelivr.net/gh/noodlelover1/cloak.js@main/main.min.js"></script>

Features

about:blank Cloaking

Function : aboutBlankCloak()

Cloak the actual URL in about:blank

Blob Cloaking

Function : blobCloak()

Cloak the actual URL in a blob: page

Panic key

You need to define 2 variables :

  • PANIC_KEY : The panic key (e.g. Enter, KeyP ...)
  • PANIC_REDIRECT_URL : URL to redirect when panic key is pressed.

If both variables are not defined, the panic key script wont be active.

About

A JavaScript framework for tab cloaking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors