Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chrome-secret-js

chrome-secret-js is an extension that provides true private state within Chrome without the use of networking or cryptography, as defined per my blog https://arhan.sh/blog/true-private-state-in-javascript-a-chromium-rabbit-hole/.

Installation

  1. Change the path key in secret.json to the absolute path of main.py
  2. Move secret.json to the appropriate directory as specified here https://developer.chrome.com/docs/extensions/develop/concepts/native-messaging#native-messaging-host-location
  3. Load extension as an unpacked extension https://developer.chrome.com/docs/extensions/get-started/tutorial/hello-world#load-unpacked

Usage

let secret = new Secret(Math.random());
// The only way to get back the original value is to call this
await secret.get(); // 0.14619830395889677

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages