Main background script.
More...
Main background script.
- Author
- Copyright (C) 2019 Libor Polcak
-
Copyright (C) 2019 Martin Timko
-
Copyright (C) 2023 Martin Zmitko
- License:
- SPDX-License-Identifier: GPL-3.0-or-later
◆ connected()
function async connected |
( |
|
port | ) |
|
◆ cspRequestProcessor()
function cspRequestProcessor |
( |
|
details | ) |
|
◆ if()
if |
( |
|
typeof browser_polyfill_used ! = = "undefined" && browser_polyfill_used | ) |
|
◆ tabUpdate()
function tabUpdate |
( |
|
tabid, |
|
|
|
changeInfo |
|
) |
| |
◆ updateBadge()
function updateBadge |
( |
|
text, |
|
|
|
tabid |
|
) |
| |
◆ queryInfo
Initial value:= {
active: true,
currentWindow: true
}
◆ scriptSrcRegex
const scriptSrcRegex = /script-src\s/ |
◆ tab_status
◆ tab_urls