File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ var toolbar_hide = `
7979
8080function init ( ) {
8181
82-
8382 var hide_toolbar = localStorage . getItem ( 'h4ck3r.hide' ) ;
8483 if ( ! hide_toolbar ) {
8584 localStorage . setItem ( 'h4ck3r.hide' , true ) ;
@@ -96,7 +95,7 @@ function init() {
9695
9796 var elmnt = document . getElementById ( "toolbar_id_" ) ;
9897 elmnt . style . top = localStorage . getItem ( 'h4ck3r_position_top' ) ?? '10px' ;
99- elmnt . style . left = localStorage . getItem ( 'h4ck3r_position_bottom' ) ?? '-120px ' ;
98+ elmnt . style . left = localStorage . getItem ( 'h4ck3r_position_bottom' ) ?? '0px ' ;
10099
101100 var reload_config = localStorage . getItem ( 'h4ck3r.reload' ) ;
102101
@@ -129,7 +128,18 @@ function init() {
129128
130129( function ( ) {
131130
132- init ( ) ;
131+ var toolbar_needed = localStorage . getItem ( 'h4ck3r.toolbar.needed' ) ;
132+ if ( ! toolbar_needed ) {
133+ localStorage . setItem ( 'h4ck3r.toolbar.needed' , false ) ;
134+ toolbar_needed = false ;
135+ }
136+ console . log ( toolbar_needed , toolbar_needed == 'true' ) ;
137+
138+ if ( toolbar_needed == 'true' ) {
139+
140+ init ( ) ;
141+
142+ }
133143
134144} ) ( )
135145
Original file line number Diff line number Diff line change 11{
22 "manifest_version" : 2 ,
33 "name" : " h4ck3r" ,
4- "version" : " 0.0.7 " ,
4+ "version" : " 0.0.8 " ,
55 "description" : " All in one Red Team Developer Tool Kit" ,
66
77 "browser_action" : {
You can’t perform that action at this time.
0 commit comments