chrome-types 0.1.255 → 0.1.256
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/_all.d.ts +12 -12
- package/index.d.ts +4 -4
- package/package.json +2 -2
package/_all.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Thu Feb 01 2024 22:29:17 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at a27c7be7df1fbc81787d15cc27b80384c0269d1a
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -12329,8 +12329,8 @@ declare namespace chrome {
|
|
|
12329
12329
|
/**
|
|
12330
12330
|
* JavaScript or CSS code to inject.
|
|
12331
12331
|
*
|
|
12332
|
-
*
|
|
12333
|
-
* Be careful using the `code` parameter. Incorrect use of it may open your extension to [cross site scripting](https://en.wikipedia.org/wiki/Cross-site_scripting) attacks
|
|
12332
|
+
*
|
|
12333
|
+
* **Warning:** Be careful using the `code` parameter. Incorrect use of it may open your extension to [cross site scripting](https://en.wikipedia.org/wiki/Cross-site_scripting) attacks
|
|
12334
12334
|
*/
|
|
12335
12335
|
code?: string;
|
|
12336
12336
|
|
|
@@ -30769,7 +30769,7 @@ declare namespace chrome {
|
|
|
30769
30769
|
): void;
|
|
30770
30770
|
|
|
30771
30771
|
/**
|
|
30772
|
-
* Injects JavaScript code into a page. For details, see the [programmatic injection](https://developer.chrome.com/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
|
|
30772
|
+
* Injects JavaScript code into a page. For details, see the [programmatic injection](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
|
|
30773
30773
|
*
|
|
30774
30774
|
* @chrome-returns-extra since Chrome 88
|
|
30775
30775
|
* @param tabId The ID of the tab in which to run the script; defaults to the active tab of the current window.
|
|
@@ -30786,7 +30786,7 @@ declare namespace chrome {
|
|
|
30786
30786
|
): Promise<any[] | undefined>;
|
|
30787
30787
|
|
|
30788
30788
|
/**
|
|
30789
|
-
* Injects JavaScript code into a page. For details, see the [programmatic injection](https://developer.chrome.com/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
|
|
30789
|
+
* Injects JavaScript code into a page. For details, see the [programmatic injection](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
|
|
30790
30790
|
*
|
|
30791
30791
|
* @chrome-returns-extra since Chrome 88
|
|
30792
30792
|
* @param details Details of the script to run. Either the code or the file property must be set, but both may not be set at the same time.
|
|
@@ -30800,7 +30800,7 @@ declare namespace chrome {
|
|
|
30800
30800
|
): Promise<any[] | undefined>;
|
|
30801
30801
|
|
|
30802
30802
|
/**
|
|
30803
|
-
* Injects JavaScript code into a page. For details, see the [programmatic injection](https://developer.chrome.com/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
|
|
30803
|
+
* Injects JavaScript code into a page. For details, see the [programmatic injection](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
|
|
30804
30804
|
*
|
|
30805
30805
|
* @param tabId The ID of the tab in which to run the script; defaults to the active tab of the current window.
|
|
30806
30806
|
* @param details Details of the script to run. Either the code or the file property must be set, but both may not be set at the same time.
|
|
@@ -30824,7 +30824,7 @@ declare namespace chrome {
|
|
|
30824
30824
|
): void;
|
|
30825
30825
|
|
|
30826
30826
|
/**
|
|
30827
|
-
* Injects JavaScript code into a page. For details, see the [programmatic injection](https://developer.chrome.com/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
|
|
30827
|
+
* Injects JavaScript code into a page. For details, see the [programmatic injection](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
|
|
30828
30828
|
*
|
|
30829
30829
|
* @param details Details of the script to run. Either the code or the file property must be set, but both may not be set at the same time.
|
|
30830
30830
|
* @param callback Called after all the JavaScript has been executed.
|
|
@@ -30845,7 +30845,7 @@ declare namespace chrome {
|
|
|
30845
30845
|
): void;
|
|
30846
30846
|
|
|
30847
30847
|
/**
|
|
30848
|
-
* Injects CSS into a page. Styles inserted with this method can be removed with {@link scripting.removeCSS}. For details, see the [programmatic injection](https://developer.chrome.com/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
|
|
30848
|
+
* Injects CSS into a page. Styles inserted with this method can be removed with {@link scripting.removeCSS}. For details, see the [programmatic injection](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
|
|
30849
30849
|
*
|
|
30850
30850
|
* @chrome-returns-extra since Chrome 88
|
|
30851
30851
|
* @param tabId The ID of the tab in which to insert the CSS; defaults to the active tab of the current window.
|
|
@@ -30862,7 +30862,7 @@ declare namespace chrome {
|
|
|
30862
30862
|
): Promise<void>;
|
|
30863
30863
|
|
|
30864
30864
|
/**
|
|
30865
|
-
* Injects CSS into a page. Styles inserted with this method can be removed with {@link scripting.removeCSS}. For details, see the [programmatic injection](https://developer.chrome.com/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
|
|
30865
|
+
* Injects CSS into a page. Styles inserted with this method can be removed with {@link scripting.removeCSS}. For details, see the [programmatic injection](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
|
|
30866
30866
|
*
|
|
30867
30867
|
* @chrome-returns-extra since Chrome 88
|
|
30868
30868
|
* @param details Details of the CSS text to insert. Either the code or the file property must be set, but both may not be set at the same time.
|
|
@@ -30876,7 +30876,7 @@ declare namespace chrome {
|
|
|
30876
30876
|
): Promise<void>;
|
|
30877
30877
|
|
|
30878
30878
|
/**
|
|
30879
|
-
* Injects CSS into a page. Styles inserted with this method can be removed with {@link scripting.removeCSS}. For details, see the [programmatic injection](https://developer.chrome.com/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
|
|
30879
|
+
* Injects CSS into a page. Styles inserted with this method can be removed with {@link scripting.removeCSS}. For details, see the [programmatic injection](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
|
|
30880
30880
|
*
|
|
30881
30881
|
* @param tabId The ID of the tab in which to insert the CSS; defaults to the active tab of the current window.
|
|
30882
30882
|
* @param details Details of the CSS text to insert. Either the code or the file property must be set, but both may not be set at the same time.
|
|
@@ -30895,7 +30895,7 @@ declare namespace chrome {
|
|
|
30895
30895
|
): void;
|
|
30896
30896
|
|
|
30897
30897
|
/**
|
|
30898
|
-
* Injects CSS into a page. Styles inserted with this method can be removed with {@link scripting.removeCSS}. For details, see the [programmatic injection](https://developer.chrome.com/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
|
|
30898
|
+
* Injects CSS into a page. Styles inserted with this method can be removed with {@link scripting.removeCSS}. For details, see the [programmatic injection](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
|
|
30899
30899
|
*
|
|
30900
30900
|
* @param details Details of the CSS text to insert. Either the code or the file property must be set, but both may not be set at the same time.
|
|
30901
30901
|
* @param callback Called when all the CSS has been inserted.
|
package/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Thu Feb 01 2024 22:29:12 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at a27c7be7df1fbc81787d15cc27b80384c0269d1a
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -8325,8 +8325,8 @@ declare namespace chrome {
|
|
|
8325
8325
|
/**
|
|
8326
8326
|
* JavaScript or CSS code to inject.
|
|
8327
8327
|
*
|
|
8328
|
-
*
|
|
8329
|
-
* Be careful using the `code` parameter. Incorrect use of it may open your extension to [cross site scripting](https://en.wikipedia.org/wiki/Cross-site_scripting) attacks
|
|
8328
|
+
*
|
|
8329
|
+
* **Warning:** Be careful using the `code` parameter. Incorrect use of it may open your extension to [cross site scripting](https://en.wikipedia.org/wiki/Cross-site_scripting) attacks
|
|
8330
8330
|
*/
|
|
8331
8331
|
code?: string;
|
|
8332
8332
|
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"name": "chrome-types",
|
|
7
7
|
"config": {
|
|
8
|
-
"build-hash": "
|
|
8
|
+
"build-hash": "8625657bd982ec1a"
|
|
9
9
|
},
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"url": "https://github.com/GoogleChrome/chrome-types/issues"
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://github.com/GoogleChrome/chrome-types",
|
|
19
|
-
"version": "0.1.
|
|
19
|
+
"version": "0.1.256"
|
|
20
20
|
}
|