browser-extension-manager 1.1.3 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/themes/classy/_theme.js +10 -14
- package/dist/assets/themes/classy/js/_index.js +0 -0
- package/dist/content.js +22 -28
- package/dist/gulp/tasks/webpack.js +1 -0
- package/dist/options.js +6 -5
- package/dist/page.js +6 -5
- package/dist/popup.js +6 -5
- package/dist/sidepanel.js +6 -5
- package/firebase-debug.log +84 -0
- package/package.json +4 -2
- package/dist/assets/themes/classy/js/logo-scroll.js +0 -83
- package/dist/assets/themes/classy/js/navbar-scroll.js +0 -65
|
@@ -11,19 +11,15 @@ window.bootstrap = bootstrap;
|
|
|
11
11
|
}
|
|
12
12
|
/* @dev-only:end */
|
|
13
13
|
|
|
14
|
-
// Import navbar scroll functionality
|
|
15
|
-
import
|
|
16
|
-
// Import logo scroll functionality
|
|
17
|
-
import setupLogoScroll from './js/logo-scroll.js';
|
|
14
|
+
// // Import navbar scroll functionality
|
|
15
|
+
// import index from './js/_index.js';
|
|
18
16
|
|
|
19
|
-
// Initialize navbar scroll effect when DOM is ready
|
|
20
|
-
if (document.readyState === 'loading') {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
setupLogoScroll();
|
|
28
|
-
}
|
|
17
|
+
// // Initialize navbar scroll effect when DOM is ready
|
|
18
|
+
// if (document.readyState === 'loading') {
|
|
19
|
+
// document.addEventListener('DOMContentLoaded', () => {
|
|
20
|
+
// index();
|
|
21
|
+
// });
|
|
22
|
+
// } else {
|
|
23
|
+
// index();
|
|
24
|
+
// }
|
|
29
25
|
|
|
File without changes
|
package/dist/content.js
CHANGED
|
@@ -1,37 +1,31 @@
|
|
|
1
1
|
// Libraries
|
|
2
|
+
import extension from './lib/extension.js';
|
|
3
|
+
import LoggerLite from './lib/logger-lite.js';
|
|
2
4
|
|
|
3
5
|
// Class
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
// Properties
|
|
8
|
-
self.extension = null;
|
|
9
|
-
self.messenger = null;
|
|
10
|
-
self.logger = null;
|
|
11
|
-
self.affiliatizer = null;
|
|
12
|
-
|
|
13
|
-
// Return
|
|
14
|
-
return self;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// Initialize
|
|
18
|
-
Manager.prototype.initialize = function () {
|
|
19
|
-
const self = this;
|
|
20
|
-
|
|
21
|
-
return new Promise(function(resolve, reject) {
|
|
6
|
+
class Manager {
|
|
7
|
+
constructor() {
|
|
22
8
|
// Properties
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
9
|
+
this.extension = null;
|
|
10
|
+
this.messenger = null;
|
|
11
|
+
this.logger = null;
|
|
12
|
+
this.affiliatizer = null;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
async initialize() {
|
|
16
|
+
// Set properties
|
|
17
|
+
this.extension = extension;
|
|
18
|
+
this.messenger = null;
|
|
19
|
+
this.logger = new LoggerLite('content');
|
|
20
|
+
this.affiliatizer = (await import('./lib/affiliatizer.js')).default.initialize(this);
|
|
27
21
|
|
|
28
22
|
// Log
|
|
29
|
-
|
|
23
|
+
this.logger.log('Initialized!', this);
|
|
30
24
|
|
|
31
|
-
// Return
|
|
32
|
-
return
|
|
33
|
-
}
|
|
34
|
-
}
|
|
25
|
+
// Return manager instance
|
|
26
|
+
return this;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
35
29
|
|
|
36
30
|
// Export
|
|
37
|
-
|
|
31
|
+
export default Manager;
|
|
@@ -43,6 +43,7 @@ const watchInput = [
|
|
|
43
43
|
|
|
44
44
|
// Core JS - watch for changes but don't compile as entry points
|
|
45
45
|
`${rootPathPackage}/dist/assets/js/**/*.js`,
|
|
46
|
+
`${rootPathProject}/src/assets/js/**/*.js`,
|
|
46
47
|
|
|
47
48
|
// Theme js - watch for changes but don't compile as entry points
|
|
48
49
|
`${rootPathPackage}/dist/assets/themes/**/*.js`,
|
package/dist/options.js
CHANGED
|
@@ -3,6 +3,9 @@ import { Manager as WebManager } from 'web-manager';
|
|
|
3
3
|
import extension from './lib/extension.js';
|
|
4
4
|
import LoggerLite from './lib/logger-lite.js';
|
|
5
5
|
|
|
6
|
+
// Import theme (exposes Bootstrap to window.bootstrap)
|
|
7
|
+
import '__theme__/_theme.js';
|
|
8
|
+
|
|
6
9
|
// Class
|
|
7
10
|
class Manager {
|
|
8
11
|
constructor() {
|
|
@@ -26,14 +29,12 @@ class Manager {
|
|
|
26
29
|
// Initialize
|
|
27
30
|
await this.webManager.initialize(configuration);
|
|
28
31
|
|
|
32
|
+
// Log
|
|
33
|
+
this.logger.log('Initialized!', this);
|
|
34
|
+
|
|
29
35
|
// Return manager instance
|
|
30
36
|
return this;
|
|
31
37
|
}
|
|
32
|
-
|
|
33
|
-
library(name) {
|
|
34
|
-
// Dynamic import for libraries
|
|
35
|
-
return import(`./lib/${name}.js`);
|
|
36
|
-
}
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
// Export
|
package/dist/page.js
CHANGED
|
@@ -3,6 +3,9 @@ import { Manager as WebManager } from 'web-manager';
|
|
|
3
3
|
import extension from './lib/extension.js';
|
|
4
4
|
import LoggerLite from './lib/logger-lite.js';
|
|
5
5
|
|
|
6
|
+
// Import theme (exposes Bootstrap to window.bootstrap)
|
|
7
|
+
import '__theme__/_theme.js';
|
|
8
|
+
|
|
6
9
|
// Class
|
|
7
10
|
class Manager {
|
|
8
11
|
constructor() {
|
|
@@ -26,14 +29,12 @@ class Manager {
|
|
|
26
29
|
// Initialize
|
|
27
30
|
await this.webManager.initialize(configuration);
|
|
28
31
|
|
|
32
|
+
// Log
|
|
33
|
+
this.logger.log('Initialized!', this);
|
|
34
|
+
|
|
29
35
|
// Return manager instance
|
|
30
36
|
return this;
|
|
31
37
|
}
|
|
32
|
-
|
|
33
|
-
library(name) {
|
|
34
|
-
// Dynamic import for libraries
|
|
35
|
-
return import(`./lib/${name}.js`);
|
|
36
|
-
}
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
// Export
|
package/dist/popup.js
CHANGED
|
@@ -3,6 +3,9 @@ import { Manager as WebManager } from 'web-manager';
|
|
|
3
3
|
import extension from './lib/extension.js';
|
|
4
4
|
import LoggerLite from './lib/logger-lite.js';
|
|
5
5
|
|
|
6
|
+
// Import theme (exposes Bootstrap to window.bootstrap)
|
|
7
|
+
import '__theme__/_theme.js';
|
|
8
|
+
|
|
6
9
|
// Class
|
|
7
10
|
class Manager {
|
|
8
11
|
constructor() {
|
|
@@ -26,14 +29,12 @@ class Manager {
|
|
|
26
29
|
// Initialize
|
|
27
30
|
await this.webManager.initialize(configuration);
|
|
28
31
|
|
|
32
|
+
// Log
|
|
33
|
+
this.logger.log('Initialized!', this);
|
|
34
|
+
|
|
29
35
|
// Return manager instance
|
|
30
36
|
return this;
|
|
31
37
|
}
|
|
32
|
-
|
|
33
|
-
library(name) {
|
|
34
|
-
// Dynamic import for libraries
|
|
35
|
-
return import(`./lib/${name}.js`);
|
|
36
|
-
}
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
// Export
|
package/dist/sidepanel.js
CHANGED
|
@@ -3,6 +3,9 @@ import { Manager as WebManager } from 'web-manager';
|
|
|
3
3
|
import extension from './lib/extension.js';
|
|
4
4
|
import LoggerLite from './lib/logger-lite.js';
|
|
5
5
|
|
|
6
|
+
// Import theme (exposes Bootstrap to window.bootstrap)
|
|
7
|
+
import '__theme__/_theme.js';
|
|
8
|
+
|
|
6
9
|
// Class
|
|
7
10
|
class Manager {
|
|
8
11
|
constructor() {
|
|
@@ -26,14 +29,12 @@ class Manager {
|
|
|
26
29
|
// Initialize
|
|
27
30
|
await this.webManager.initialize(configuration);
|
|
28
31
|
|
|
32
|
+
// Log
|
|
33
|
+
this.logger.log('Initialized!', this);
|
|
34
|
+
|
|
29
35
|
// Return manager instance
|
|
30
36
|
return this;
|
|
31
37
|
}
|
|
32
|
-
|
|
33
|
-
library(name) {
|
|
34
|
-
// Dynamic import for libraries
|
|
35
|
-
return import(`./lib/${name}.js`);
|
|
36
|
-
}
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
// Export
|
package/firebase-debug.log
CHANGED
|
@@ -376,3 +376,87 @@
|
|
|
376
376
|
[debug] [2025-11-14T04:28:29.866Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
377
377
|
[debug] [2025-11-14T04:28:29.867Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
378
378
|
[debug] [2025-11-14T04:28:29.867Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
379
|
+
[debug] [2025-11-14T06:32:32.754Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
380
|
+
[debug] [2025-11-14T06:32:32.758Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
381
|
+
[debug] [2025-11-14T06:32:32.756Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
382
|
+
[debug] [2025-11-14T06:32:32.756Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
383
|
+
[debug] [2025-11-14T06:32:32.756Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
384
|
+
[debug] [2025-11-14T06:32:32.765Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
385
|
+
[debug] [2025-11-14T06:32:32.766Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
386
|
+
[debug] [2025-11-14T06:32:32.760Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
387
|
+
[debug] [2025-11-14T06:32:32.760Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
388
|
+
[debug] [2025-11-14T06:32:32.760Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
389
|
+
[debug] [2025-11-14T06:32:32.777Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
390
|
+
[debug] [2025-11-14T06:32:32.778Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
391
|
+
[debug] [2025-11-14T06:32:32.839Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
392
|
+
[debug] [2025-11-14T06:32:32.839Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
393
|
+
[debug] [2025-11-14T06:32:32.840Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
394
|
+
[debug] [2025-11-14T06:32:32.840Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
395
|
+
[debug] [2025-11-14T06:32:32.842Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
396
|
+
[debug] [2025-11-14T06:32:32.842Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
397
|
+
[debug] [2025-11-14T06:32:32.843Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
398
|
+
[debug] [2025-11-14T06:32:32.843Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
399
|
+
[debug] [2025-11-14T06:32:32.854Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
400
|
+
[debug] [2025-11-14T06:32:32.855Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
401
|
+
[debug] [2025-11-14T06:32:32.855Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
402
|
+
[debug] [2025-11-14T06:32:32.856Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
403
|
+
[debug] [2025-11-14T06:32:32.857Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
404
|
+
[debug] [2025-11-14T06:32:32.857Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
405
|
+
[debug] [2025-11-14T06:32:32.857Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
406
|
+
[debug] [2025-11-14T06:32:32.857Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
407
|
+
[debug] [2025-11-14T22:04:25.057Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
408
|
+
[debug] [2025-11-14T22:04:25.125Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
409
|
+
[debug] [2025-11-14T22:04:25.064Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
410
|
+
[debug] [2025-11-14T22:04:25.065Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
411
|
+
[debug] [2025-11-14T22:04:25.065Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
412
|
+
[debug] [2025-11-14T22:04:25.178Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
413
|
+
[debug] [2025-11-14T22:04:25.179Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
414
|
+
[debug] [2025-11-14T22:04:25.254Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
415
|
+
[debug] [2025-11-14T22:04:25.254Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
416
|
+
[debug] [2025-11-14T22:04:25.255Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
417
|
+
[debug] [2025-11-14T22:04:25.255Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
418
|
+
[debug] [2025-11-14T22:04:25.256Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
419
|
+
[debug] [2025-11-14T22:04:25.256Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
420
|
+
[debug] [2025-11-14T22:04:25.257Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
421
|
+
[debug] [2025-11-14T22:04:25.257Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
422
|
+
[debug] [2025-11-14T22:04:25.128Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
423
|
+
[debug] [2025-11-14T22:04:25.128Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
424
|
+
[debug] [2025-11-14T22:04:25.128Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
425
|
+
[debug] [2025-11-14T22:04:25.283Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
426
|
+
[debug] [2025-11-14T22:04:25.285Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
427
|
+
[debug] [2025-11-14T22:04:25.444Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
428
|
+
[debug] [2025-11-14T22:04:25.445Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
429
|
+
[debug] [2025-11-14T22:04:25.446Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
430
|
+
[debug] [2025-11-14T22:04:25.446Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
431
|
+
[debug] [2025-11-14T22:04:25.456Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
432
|
+
[debug] [2025-11-14T22:04:25.456Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
433
|
+
[debug] [2025-11-14T22:04:25.456Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
434
|
+
[debug] [2025-11-14T22:04:25.456Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
435
|
+
[debug] [2025-11-14T22:30:26.450Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
436
|
+
[debug] [2025-11-14T22:30:26.452Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
437
|
+
[debug] [2025-11-14T22:30:26.452Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
438
|
+
[debug] [2025-11-14T22:30:26.453Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
439
|
+
[debug] [2025-11-14T22:30:26.453Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
440
|
+
[debug] [2025-11-14T22:30:26.462Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
441
|
+
[debug] [2025-11-14T22:30:26.463Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
442
|
+
[debug] [2025-11-14T22:30:26.454Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
443
|
+
[debug] [2025-11-14T22:30:26.454Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
444
|
+
[debug] [2025-11-14T22:30:26.454Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
445
|
+
[debug] [2025-11-14T22:30:26.463Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
446
|
+
[debug] [2025-11-14T22:30:26.463Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
447
|
+
[debug] [2025-11-14T22:30:26.534Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
448
|
+
[debug] [2025-11-14T22:30:26.534Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
449
|
+
[debug] [2025-11-14T22:30:26.535Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
450
|
+
[debug] [2025-11-14T22:30:26.535Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
451
|
+
[debug] [2025-11-14T22:30:26.536Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
452
|
+
[debug] [2025-11-14T22:30:26.537Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
453
|
+
[debug] [2025-11-14T22:30:26.537Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
454
|
+
[debug] [2025-11-14T22:30:26.537Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
455
|
+
[debug] [2025-11-14T22:30:26.537Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
456
|
+
[debug] [2025-11-14T22:30:26.537Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
457
|
+
[debug] [2025-11-14T22:30:26.538Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
458
|
+
[debug] [2025-11-14T22:30:26.538Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
459
|
+
[debug] [2025-11-14T22:30:26.540Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
460
|
+
[debug] [2025-11-14T22:30:26.540Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
461
|
+
[debug] [2025-11-14T22:30:26.540Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
462
|
+
[debug] [2025-11-14T22:30:26.540Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "browser-extension-manager",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "Browser Extension Manager dependency manager",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"./popup": "./dist/popup.js",
|
|
12
12
|
"./sidepanel": "./dist/sidepanel.js",
|
|
13
13
|
"./options": "./dist/options.js",
|
|
14
|
-
"./page": "./dist/page.js"
|
|
14
|
+
"./page": "./dist/page.js",
|
|
15
|
+
"./lib/affiliatizer": "./dist/lib/affiliatizer.js"
|
|
15
16
|
},
|
|
16
17
|
"scripts": {
|
|
17
18
|
"start": "npm run prepare:watch",
|
|
@@ -62,6 +63,7 @@
|
|
|
62
63
|
"dependencies": {
|
|
63
64
|
"@babel/core": "^7.28.5",
|
|
64
65
|
"@babel/preset-env": "^7.28.5",
|
|
66
|
+
"@popperjs/core": "^2.11.8",
|
|
65
67
|
"babel-loader": "^10.0.0",
|
|
66
68
|
"chalk": "^4.1.2",
|
|
67
69
|
"fs-jetpack": "^5.1.0",
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
// Setup speed
|
|
2
|
-
const SCROLL_SPEED_PX_PER_SECOND = 40; // Pixels per second
|
|
3
|
-
|
|
4
|
-
// Logo scroll animation setup
|
|
5
|
-
export default function setupLogoScroll() {
|
|
6
|
-
const scrollTracks = document.querySelectorAll('.logo-scroll-track');
|
|
7
|
-
|
|
8
|
-
scrollTracks.forEach(track => {
|
|
9
|
-
if (!track) {
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// Get original logos
|
|
14
|
-
const originalLogos = Array.from(track.children);
|
|
15
|
-
if (originalLogos.length === 0) {
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// Calculate total width of original logos
|
|
20
|
-
let totalWidth = 0;
|
|
21
|
-
originalLogos.forEach(logo => {
|
|
22
|
-
totalWidth += logo.getBoundingClientRect().width;
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
// Calculate how many sets we need to fill the screen plus extra for smooth scrolling
|
|
26
|
-
const viewportWidth = window.innerWidth;
|
|
27
|
-
const setsNeeded = Math.ceil((viewportWidth * 2.5) / totalWidth);
|
|
28
|
-
|
|
29
|
-
// Clone logo sets
|
|
30
|
-
for (let i = 0; i < setsNeeded; i++) {
|
|
31
|
-
originalLogos.forEach(logo => {
|
|
32
|
-
const clone = logo.cloneNode(true);
|
|
33
|
-
track.appendChild(clone);
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// Calculate animation duration based on total width
|
|
38
|
-
// Slower speed for better visibility
|
|
39
|
-
const allLogos = track.children;
|
|
40
|
-
let animationWidth = 0;
|
|
41
|
-
|
|
42
|
-
// Calculate width of half the logos (for the 50% translation)
|
|
43
|
-
const halfCount = Math.floor(allLogos.length / 2);
|
|
44
|
-
for (let i = 0; i < halfCount; i++) {
|
|
45
|
-
animationWidth += allLogos[i].getBoundingClientRect().width;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// Set CSS variables for animation
|
|
49
|
-
const duration = animationWidth / SCROLL_SPEED_PX_PER_SECOND;
|
|
50
|
-
track.style.setProperty('--logo-scroll-duration', `${duration}s`);
|
|
51
|
-
track.style.setProperty('--logo-scroll-distance', `-${animationWidth}px`);
|
|
52
|
-
|
|
53
|
-
// Restart animation when it completes to ensure seamless loop
|
|
54
|
-
track.addEventListener('animationiteration', () => {
|
|
55
|
-
// Reset the animation to prevent accumulation of drift
|
|
56
|
-
track.style.animation = 'none';
|
|
57
|
-
track.offsetHeight; // Trigger reflow
|
|
58
|
-
track.style.animation = `scroll-logos var(--logo-scroll-duration, ${duration}s) linear infinite`;
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
// Recalculate on window resize
|
|
63
|
-
let resizeTimeout;
|
|
64
|
-
window.addEventListener('resize', () => {
|
|
65
|
-
clearTimeout(resizeTimeout);
|
|
66
|
-
resizeTimeout = setTimeout(() => {
|
|
67
|
-
// Reset and recalculate
|
|
68
|
-
scrollTracks.forEach(track => {
|
|
69
|
-
// Remove cloned logos
|
|
70
|
-
const logos = Array.from(track.children);
|
|
71
|
-
const originalCount = logos.length / (Math.ceil(logos.length / 8)); // Estimate original count
|
|
72
|
-
|
|
73
|
-
// Keep only estimated original logos
|
|
74
|
-
while (track.children.length > 8) { // Assuming max 8 original logos
|
|
75
|
-
track.removeChild(track.lastChild);
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
// Re-run setup
|
|
80
|
-
setupLogoScroll();
|
|
81
|
-
}, 250);
|
|
82
|
-
});
|
|
83
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
// Navbar scroll effect for Classy theme
|
|
2
|
-
export default function setupNavbarScroll() {
|
|
3
|
-
const navbar = document.querySelector('.navbar-floating');
|
|
4
|
-
if (!navbar) return;
|
|
5
|
-
|
|
6
|
-
let scrollThreshold = 50; // Pixels to scroll before showing background
|
|
7
|
-
let isGlassy = false;
|
|
8
|
-
let currentOpacity = 0;
|
|
9
|
-
let targetOpacity = 0;
|
|
10
|
-
let animationFrame = null;
|
|
11
|
-
|
|
12
|
-
// Set initial custom property for ::before opacity
|
|
13
|
-
navbar.style.setProperty('--navbar-before-opacity', '0');
|
|
14
|
-
|
|
15
|
-
function animateOpacity() {
|
|
16
|
-
const diff = targetOpacity - currentOpacity;
|
|
17
|
-
|
|
18
|
-
if (Math.abs(diff) > 0.01) {
|
|
19
|
-
currentOpacity += diff * 0.1;
|
|
20
|
-
navbar.style.setProperty('--navbar-before-opacity', currentOpacity);
|
|
21
|
-
animationFrame = requestAnimationFrame(animateOpacity);
|
|
22
|
-
} else {
|
|
23
|
-
currentOpacity = targetOpacity;
|
|
24
|
-
navbar.style.setProperty('--navbar-before-opacity', currentOpacity);
|
|
25
|
-
animationFrame = null;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
function updateNavbar() {
|
|
30
|
-
const shouldBeGlassy = window.scrollY > scrollThreshold;
|
|
31
|
-
|
|
32
|
-
if (shouldBeGlassy !== isGlassy) {
|
|
33
|
-
isGlassy = shouldBeGlassy;
|
|
34
|
-
|
|
35
|
-
if (isGlassy) {
|
|
36
|
-
navbar.classList.add('bg-glassy', 'shadow-sm');
|
|
37
|
-
targetOpacity = 0.25;
|
|
38
|
-
} else {
|
|
39
|
-
navbar.classList.remove('bg-glassy', 'shadow-sm');
|
|
40
|
-
targetOpacity = 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
if (!animationFrame) {
|
|
44
|
-
animateOpacity();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// Initial check
|
|
50
|
-
updateNavbar();
|
|
51
|
-
|
|
52
|
-
// Listen for scroll events with requestAnimationFrame
|
|
53
|
-
let ticking = false;
|
|
54
|
-
function requestTick() {
|
|
55
|
-
if (!ticking) {
|
|
56
|
-
ticking = true;
|
|
57
|
-
window.requestAnimationFrame(() => {
|
|
58
|
-
updateNavbar();
|
|
59
|
-
ticking = false;
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
window.addEventListener('scroll', requestTick, { passive: true });
|
|
65
|
-
}
|