File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -46,14 +46,10 @@ function updateTrackerMessage(url) {
4646 trackerInfoElement . textContent = '' ;
4747 trackerInfoElement . appendChild ( newDiv ) ;
4848
49- if (
50- brws . storage . local . get (
51- 'options' ,
52- ( result ) => result . options . optionInstantNavigationTrackers
53- )
54- ) {
49+ brws . storage . local . get ( 'options' ) . then ( ( result ) => {
50+ if ( ! result . options . optionInstantNavigationTrackers ) return ;
5551 window . location . replace ( url ) ;
56- }
52+ } ) ;
5753}
5854
5955async function resolveTracker ( url ) {
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ function clearCrowdIgnoredURLs() {
1919}
2020
2121function firstrun ( details ) {
22- if ( details . reason == 'install' ) {
22+ if ( details . reason == 'install' || details . reason == 'update' ) {
2323 brws . tabs . create ( { url : 'https://fastforward.team/firstrun' } ) ;
2424 ffclipboardClear ( ) ;
2525 brws . storage . local . set ( { tempDisableCrowd : 'false' } ) ;
You can’t perform that action at this time.
0 commit comments