mirror of
https://github.com/twofas/2fas-browser-extension.git
synced 2024-11-23 10:39:57 +01:00
78 lines
2.3 KiB
Plaintext
78 lines
2.3 KiB
Plaintext
//
|
|
// This file is part of the 2FAS Browser Extension (https://github.com/twofas/2fas-browser-extension)
|
|
// Copyright © 2023 Two Factor Authentication Service, Inc.
|
|
// Contributed by Grzegorz Zając. All rights reserved.
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program. If not, see <https://www.gnu.org/licenses/>
|
|
//
|
|
|
|
// GENERAL
|
|
0 - Undefined Error
|
|
|
|
// BACKGROUND
|
|
1 - onStartup
|
|
2 - onTabRemoved
|
|
3 - onTabUpdated
|
|
4 - browserAction
|
|
5 - initBEAction
|
|
6 - updateBrowserInfo
|
|
7 - handleConfigurationRequest
|
|
8 - handleLoginRequest
|
|
9 - onInstalled
|
|
10 - sendNotificationInfo
|
|
11 - subscribeChannel - channel.onerror
|
|
12 - subscribeChannel - browser_extensions.pairing.failure
|
|
13 - subscribeChannel - subscribeChannel event default
|
|
26 - updateIncognitoAccess
|
|
27 - updateBrowserExtension
|
|
28 - generateDefaultStorage
|
|
29 - verifyStorageIntegrity
|
|
30 - closeRequest
|
|
35 - checkSafariStorage
|
|
37 - storageReset
|
|
|
|
// CONTENT
|
|
33 - content_script
|
|
14 - getTabData
|
|
15 - createObserver
|
|
16 - inputFocus
|
|
17 - contentOnMessage
|
|
18 - neverShowNotificationInfo
|
|
*19 - openOptionsPage [deprecated]
|
|
*39 - removedNodes - loadFromLocalStorage [deprecated]
|
|
*40 - removedNodes - saveToLocalStorage [deprecated]
|
|
*41 - hiddenNodes - loadFromLocalStorage [deprecated]
|
|
*42 - hiddenNodes - saveToLocalStorage [deprecated]
|
|
*43 - pageLoadComplete - loadFromLocalStorage [deprecated]
|
|
*44 - pageLoadComplete - saveToLocalStorage [deprecated]
|
|
46 - clickSubmit - loadFromLocalStorage
|
|
|
|
// INSTALL PAGE
|
|
20 - installPage
|
|
34 - regenerate QR
|
|
|
|
// OPTIONS PAGE
|
|
21 - optionsPage
|
|
22 - removeDevice
|
|
31 - removeDevice - wrong deviceID or deviceName
|
|
36 - handleSafariReset
|
|
38 - storageValidationReload
|
|
45 - domainModalFormSubmit
|
|
47 - handleImportDefaultExcludedDomains
|
|
|
|
// PARTIALS
|
|
*23 - openShortcutEdit [redundant]
|
|
32 - openShortcutEdit - empty URL
|
|
*24 - handleTargetBlank [redundant]
|
|
25 - extNameUpdate |