browser-extension-manager 0.0.1 → 1.0.1

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.
Files changed (34) hide show
  1. package/dist/assets/themes/bootstrap/5.3.3/css/bootstrap.css +12057 -0
  2. package/dist/assets/themes/bootstrap/5.3.3/css/bootstrap.css.map +1 -0
  3. package/dist/assets/themes/bootstrap/5.3.3/js/bootstrap.bundle.js +6314 -0
  4. package/dist/assets/themes/bootstrap/5.3.3/js/bootstrap.bundle.js.map +1 -0
  5. package/dist/assets/themes/bootstrap/5.3.3/js/bootstrap.js +4494 -0
  6. package/dist/assets/themes/bootstrap/5.3.3/js/bootstrap.js.map +1 -0
  7. package/dist/background.js +82 -0
  8. package/dist/build.js +19 -1
  9. package/dist/commands/clean.js +1 -0
  10. package/dist/config/manifest.json +8 -0
  11. package/dist/defaults/src/assets/css/options.scss +9 -0
  12. package/dist/defaults/src/assets/css/popup.scss +12 -0
  13. package/dist/defaults/src/assets/js/options.js +10 -0
  14. package/dist/defaults/src/assets/js/popup.js +3 -0
  15. package/dist/defaults/src/manifest.json +14 -0
  16. package/dist/defaults/src/pages/options.html +6 -1
  17. package/dist/defaults/src/pages/popup.html +6 -1
  18. package/dist/gulp/main.js +2 -1
  19. package/dist/gulp/tasks/_importer.js +35 -0
  20. package/dist/gulp/tasks/_package.js +171 -0
  21. package/dist/gulp/tasks/developmentRebuild.js +3 -2
  22. package/dist/gulp/tasks/distribute.js +3 -1
  23. package/dist/gulp/tasks/icons.js +14 -41
  24. package/dist/gulp/tasks/package.js +95 -46
  25. package/dist/gulp/tasks/sass.js +29 -3
  26. package/dist/gulp/tasks/serve.js +15 -164
  27. package/dist/gulp/tasks/test.js +2 -0
  28. package/dist/gulp/tasks/themes.js +75 -0
  29. package/dist/gulp/tasks/webpack.js +4 -1
  30. package/package.json +3 -3
  31. package/dist/assets/js copy/base.js +0 -7
  32. package/dist/assets/js copy/core.js +0 -81
  33. package/dist/assets/js copy/main.js +0 -10
  34. package/dist/defaults/src/assets/images/icons/icon.png +0 -0
@@ -1,81 +0,0 @@
1
- // Manager.log('Init main.js');
2
-
3
- // var dom = Manager.dom();
4
- // var url = window.location.href;
5
-
6
- // // Load page specific scripts
7
- // if (url.includes('/pricing')) {
8
- // dom.loadScript({src: 'https://cdn.itwcreativeworks.com/assets/general/js/pricing-page-handler/index.js'})
9
- // } else if (url.includes('/download')) {
10
- // dom.loadScript({src: 'https://cdn.itwcreativeworks.com/assets/general/js/download-page-handler/index.js'})
11
- // } else if (url.includes('/browser-extension') || url.includes('/extension')) {
12
- // dom.loadScript({src: 'https://cdn.itwcreativeworks.com/assets/general/js/browser-extension-page-handler/index.js'})
13
- // } else if (window.location.pathname.endsWith('.html')) {
14
- // // Redirect and remove .html
15
- // window.location.pathname = window.location.pathname.replace('.html', '');
16
- // }
17
-
18
- // // Load Slapform
19
- // var slapform;
20
- // dom.select('form.slapform')
21
- // .each(function (el, i) {
22
-
23
- // dom.select(el).on('submit', function (event) {
24
- // event.preventDefault();
25
- // import('./slapform-processor.js')
26
- // .then(function (mod) {
27
- // slapform = slapform || new mod.default;
28
- // slapform.process(event);
29
- // })
30
- // });
31
-
32
- // dom.select(el.querySelector('button[type="submit"]'))
33
- // .removeAttribute('disabled')
34
- // .removeClass('disabled');
35
- // })
36
-
37
- // // Setup Tracking
38
- // var storage = Manager.storage();
39
- // var auth = storage.get('user.auth') || {};
40
- // var setup = false;
41
-
42
- // if (auth && auth.uid && auth.email) {
43
- // setupTracking(auth);
44
- // }
45
-
46
- // // Save user auth data
47
- // Manager.auth().ready(function (user) {
48
- // setupTracking(user);
49
-
50
- // storage.set('user.auth.uid', user.uid);
51
- // storage.set('user.auth.email', user.email);
52
- // })
53
-
54
- // function setupTracking(config) {
55
- // if (setup) { return; }
56
-
57
- // var tracking = window.Configuration.global.tracking;
58
- // var phone = config.phone ? parseInt(config.phone.replace(/\+/ig, '')) : null;
59
-
60
- // // Google Analytics
61
- // gtag('set', 'user_id', config.uid);
62
-
63
- // // Facebook Pixel
64
- // fbq('init', tracking.facebookPixel, {
65
- // external_id: config.uid,
66
- // em: config.email,
67
- // ph: phone,
68
- // // fn: 'first_name',
69
- // // ln: 'last_name',
70
- // });
71
-
72
- // // TikTok Pixel
73
- // ttq.identify({
74
- // external_id: config.uid || '',
75
- // email: config.email || '',
76
- // phone_number: phone ? '+' + phone : '',
77
- // })
78
-
79
- // setup = true;
80
- // }
81
-
@@ -1,10 +0,0 @@
1
- // // Initiate the web manager
2
- // Manager = new (require('web-manager'));
3
-
4
- // Manager.init(Configuration, function() {
5
- // // Initialize core.js
6
- // require('./core.js');
7
-
8
- // // Require app.js
9
- // require('../app/app.js');
10
- // });