chore: Update @zen-browser/surfer dependency to version 1.2.12
BIN
configs/branding/alpha/firefox.ico
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
configs/branding/alpha/firefox64.ico
Normal file
After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 624 B |
Before Width: | Height: | Size: 634 B After Width: | Height: | Size: 951 B |
Before Width: | Height: | Size: 697 B After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 890 B After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
configs/branding/beta/firefox.ico
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
configs/branding/beta/firefox64.ico
Normal file
After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 624 B |
Before Width: | Height: | Size: 634 B After Width: | Height: | Size: 951 B |
Before Width: | Height: | Size: 697 B After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 890 B After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 2.6 KiB |
@@ -27,6 +27,6 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/zen-browser/core#readme",
|
"homepage": "https://github.com/zen-browser/core#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@zen-browser/surfer": "^1.2.9"
|
"@zen-browser/surfer": "^1.2.12"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
10
pnpm-lock.yaml
generated
@@ -9,8 +9,8 @@ importers:
|
|||||||
.:
|
.:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@zen-browser/surfer':
|
'@zen-browser/surfer':
|
||||||
specifier: ^1.2.9
|
specifier: ^1.2.12
|
||||||
version: 1.2.9
|
version: 1.2.12
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
@@ -109,8 +109,8 @@ packages:
|
|||||||
'@types/node@17.0.45':
|
'@types/node@17.0.45':
|
||||||
resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==}
|
resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==}
|
||||||
|
|
||||||
'@zen-browser/surfer@1.2.9':
|
'@zen-browser/surfer@1.2.12':
|
||||||
resolution: {integrity: sha512-XDEG80YOiQd0kl0PX0WzdYDwdOJ5hhrU0bcohBeK68my3nOXTIiuM26FXh3/2+feNzr/Of7Y6Qfmmdf0YCAvgw==}
|
resolution: {integrity: sha512-TfJrUc7P3pu0pf79UF3kL5fSjB5lVl5mqNnV+aOJWRsotvujlfX2tIVuIKTtCJvDeoZwvoAwlpogMZh3V5dcmQ==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
ansi-regex@5.0.1:
|
ansi-regex@5.0.1:
|
||||||
@@ -786,7 +786,7 @@ snapshots:
|
|||||||
|
|
||||||
'@types/node@17.0.45': {}
|
'@types/node@17.0.45': {}
|
||||||
|
|
||||||
'@zen-browser/surfer@1.2.9':
|
'@zen-browser/surfer@1.2.12':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@resvg/resvg-js': 1.4.0
|
'@resvg/resvg-js': 1.4.0
|
||||||
async-icns: 1.0.2
|
async-icns: 1.0.2
|
||||||
|
@@ -18,7 +18,6 @@ ChromeUtils.defineModuleGetter(
|
|||||||
|
|
||||||
Services.scriptloader.loadSubScript("chrome://browser/content/ZenUIManager.mjs");
|
Services.scriptloader.loadSubScript("chrome://browser/content/ZenUIManager.mjs");
|
||||||
|
|
||||||
const kWelcomeURL = 'https://www.zen-browser.app/welcome';
|
|
||||||
const kWelcomeSeenPref = 'zen.welcomeScreen.seen'
|
const kWelcomeSeenPref = 'zen.welcomeScreen.seen'
|
||||||
|
|
||||||
// =============================================================================
|
// =============================================================================
|
||||||
@@ -288,19 +287,12 @@ class Pages {
|
|||||||
Services.prefs.setBoolPref(kWelcomeSeenPref, true)
|
Services.prefs.setBoolPref(kWelcomeSeenPref, true)
|
||||||
|
|
||||||
close();
|
close();
|
||||||
this._openWelcomePage();
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
this._displayCurrentPage()
|
this._displayCurrentPage()
|
||||||
}
|
}
|
||||||
|
|
||||||
_openWelcomePage() {
|
|
||||||
gZenUIManager.openAndChangeToTab(kWelcomeURL, {
|
|
||||||
inBackground: true,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
_displayCurrentPage() {
|
_displayCurrentPage() {
|
||||||
let progress = document.getElementById('circular-progress');
|
let progress = document.getElementById('circular-progress');
|
||||||
progress.style.setProperty('--progress', ((this.currentPage + 1) / this.pages.length) * 100);
|
progress.style.setProperty('--progress', ((this.currentPage + 1) / this.pages.length) * 100);
|
||||||
|