File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -1014,12 +1014,15 @@ function onExtensionInstalled(details) {
1014
1014
} ;
1015
1015
1016
1016
if ( details . reason === "install" ) {
1017
- show (
1018
- "installed" ,
1019
- "browserpass: Install native host app" ,
1020
- "Remember to install the complementary native host app to use this extension.\n" +
1021
- "Instructions here: https://github.com/browserpass/browserpass-native"
1022
- ) ;
1017
+ if ( localStorage . getItem ( "installed" ) === null ) {
1018
+ localStorage . setItem ( "installed" , Date . now ( ) ) ;
1019
+ show (
1020
+ "installed" ,
1021
+ "browserpass: Install native host app" ,
1022
+ "Remember to install the complementary native host app to use this extension.\n" +
1023
+ "Instructions here: https://github.com/browserpass/browserpass-native"
1024
+ ) ;
1025
+ }
1023
1026
} else if ( details . reason === "update" ) {
1024
1027
var changelog = {
1025
1028
3000000 :
You can’t perform that action at this time.
0 commit comments