@types/chrome 0.0.295 → 0.0.296
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.
- chrome/README.md +1 -1
- chrome/index.d.ts +145 -37
- chrome/package.json +2 -2
chrome/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for chrome (http://developer.chrome.com/e
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated: Tue, 14 Jan 2025
|
11
|
+
* Last updated: Tue, 14 Jan 2025 21:02:51 GMT
|
12
12
|
* Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)
|
13
13
|
|
14
14
|
# Credits
|
chrome/index.d.ts
CHANGED
@@ -7322,53 +7322,161 @@ declare namespace chrome {
|
|
7322
7322
|
* The IP handling policy of WebRTC.
|
7323
7323
|
* @since Chrome 48
|
7324
7324
|
*/
|
7325
|
-
export
|
7326
|
-
|
7327
|
-
|
7328
|
-
|
7329
|
-
|
7330
|
-
|
7331
|
-
|
7332
|
-
|
7333
|
-
|
7334
|
-
|
7325
|
+
export enum IPHandlingPolicy {
|
7326
|
+
DEFAULT = "default",
|
7327
|
+
DEFAULT_PUBLIC_AND_PRIVATE_INTERFACES = "default_public_and_private_interfaces",
|
7328
|
+
DEFAULT_PUBLIC_INTERFACE_ONLY = "default_public_interface_only",
|
7329
|
+
DISABLE_NON_PROXIED_UDP = "disable_non_proxied_udp",
|
7330
|
+
}
|
7331
|
+
|
7332
|
+
/** Settings that enable or disable features that require third-party network services provided by Google and your default search provider. */
|
7333
|
+
export const services: {
|
7334
|
+
/**
|
7335
|
+
* If enabled, Chrome uses a web service to help resolve navigation errors.
|
7336
|
+
* This preference's value is a boolean, defaulting to `true`.
|
7337
|
+
*/
|
7335
7338
|
alternateErrorPagesEnabled: chrome.types.ChromeSetting<boolean>;
|
7336
|
-
|
7337
|
-
/**
|
7339
|
+
|
7340
|
+
/**
|
7341
|
+
* If enabled, Chrome offers to automatically fill in addresses and other form data.
|
7342
|
+
* This preference's value is a boolean, defaulting to `true`.
|
7343
|
+
* @since Chrome 70
|
7344
|
+
*/
|
7345
|
+
autofillAddressEnabled: chrome.types.ChromeSetting<boolean>;
|
7346
|
+
|
7347
|
+
/**
|
7348
|
+
* If enabled, Chrome offers to automatically fill in credit card forms.
|
7349
|
+
* This preference's value is a boolean, defaulting to `true`.
|
7350
|
+
* @since Chrome 70
|
7351
|
+
*/
|
7352
|
+
autofillCreditCardEnabled: chrome.types.ChromeSetting<boolean>;
|
7353
|
+
|
7354
|
+
/**
|
7355
|
+
* If enabled, Chrome offers to automatically fill in forms.
|
7356
|
+
* This preference's value is a boolean, defaulting to `true`.
|
7357
|
+
* @deprecated since Chrome 70. Please use privacy.services.autofillAddressEnabled and privacy.services.autofillCreditCardEnabled. This remains for backward compatibility in this release and will be removed in the future */
|
7338
7358
|
autofillEnabled: chrome.types.ChromeSetting<boolean>;
|
7339
|
-
|
7340
|
-
/**
|
7359
|
+
|
7360
|
+
/**
|
7361
|
+
* If enabled, the password manager will ask if you want to save passwords.
|
7362
|
+
* This preference's value is a boolean, defaulting to `true`.
|
7363
|
+
*/
|
7341
7364
|
passwordSavingEnabled: chrome.types.ChromeSetting<boolean>;
|
7342
|
-
|
7365
|
+
|
7366
|
+
/**
|
7367
|
+
* If enabled, Chrome does its best to protect you from phishing and malware.
|
7368
|
+
* This preference's value is a boolean, defaulting to `true`.
|
7369
|
+
*/
|
7370
|
+
safeBrowsingEnabled: chrome.types.ChromeSetting<boolean>;
|
7371
|
+
|
7372
|
+
/**
|
7373
|
+
* If enabled, Chrome will send additional information to Google when SafeBrowsing blocks a page, such as the content of the blocked page.
|
7374
|
+
* This preference's value is a boolean, defaulting to `false`.
|
7375
|
+
*/
|
7343
7376
|
safeBrowsingExtendedReportingEnabled: chrome.types.ChromeSetting<boolean>;
|
7344
|
-
/** @since Chrome 70 */
|
7345
|
-
autofillAddressEnabled: chrome.types.ChromeSetting<boolean>;
|
7346
|
-
/** @since Chrome 70 */
|
7347
|
-
autofillCreditCardEnabled: chrome.types.ChromeSetting<boolean>;
|
7348
|
-
}
|
7349
7377
|
|
7350
|
-
|
7378
|
+
/**
|
7379
|
+
* If enabled, Chrome sends the text you type into the Omnibox to your default search engine, which provides predictions of websites and searches that are likely completions of what you've typed so far.
|
7380
|
+
* This preference's value is a boolean, defaulting to `true`.
|
7381
|
+
*/
|
7382
|
+
searchSuggestEnabled: chrome.types.ChromeSetting<boolean>;
|
7383
|
+
|
7384
|
+
/**
|
7385
|
+
* If enabled, Chrome uses a web service to help correct spelling errors.
|
7386
|
+
* This preference's value is a boolean, defaulting to `false`.
|
7387
|
+
*/
|
7388
|
+
spellingServiceEnabled: chrome.types.ChromeSetting<boolean>;
|
7389
|
+
|
7390
|
+
/**
|
7391
|
+
* If enabled, Chrome offers to translate pages that aren't in a language you read.
|
7392
|
+
* This preference's value is a boolean, defaulting to `true`.
|
7393
|
+
*/
|
7394
|
+
translationServiceEnabled: chrome.types.ChromeSetting<boolean>;
|
7395
|
+
};
|
7396
|
+
|
7397
|
+
/** Settings that influence Chrome's handling of network connections in general. */
|
7398
|
+
export const network: {
|
7399
|
+
/**
|
7400
|
+
* If enabled, Chrome attempts to speed up your web browsing experience by pre-resolving DNS entries and preemptively opening TCP and SSL connections to servers.
|
7401
|
+
* This preference only affects actions taken by Chrome's internal prediction service. It does not affect webpage-initiated prefectches or preconnects.
|
7402
|
+
* This preference's value is a boolean, defaulting to `true`.
|
7403
|
+
*/
|
7351
7404
|
networkPredictionEnabled: chrome.types.ChromeSetting<boolean>;
|
7352
|
-
/** @since Chrome 48 */
|
7353
|
-
webRTCIPHandlingPolicy: chrome.types.ChromeSetting<IPHandlingPolicy>;
|
7354
|
-
}
|
7355
7405
|
|
7356
|
-
|
7357
|
-
|
7358
|
-
|
7406
|
+
/**
|
7407
|
+
* Allow users to specify the media performance/privacy tradeoffs which impacts how WebRTC traffic will be routed and how much local address information is exposed.
|
7408
|
+
* This preference's value is of type IPHandlingPolicy, defaulting to `default`.
|
7409
|
+
* @since Chrome 48
|
7410
|
+
*/
|
7411
|
+
webRTCIPHandlingPolicy: chrome.types.ChromeSetting<`${IPHandlingPolicy}`>;
|
7412
|
+
};
|
7413
|
+
|
7414
|
+
/** Settings that determine what information Chrome makes available to websites. */
|
7415
|
+
export const websites: {
|
7416
|
+
/**
|
7417
|
+
* If disabled, the Attribution Reporting API and Private Aggregation API are deactivated.
|
7418
|
+
* The value of this preference is of type boolean, and the default value is `true`.
|
7419
|
+
* Extensions may only disable these APIs by setting the value to `false`. If you try setting these APIs to `true`, it will throw an error.
|
7420
|
+
* @since Chrome 111
|
7421
|
+
*/
|
7422
|
+
adMeasurementEnabled: chrome.types.ChromeSetting<boolean>;
|
7423
|
+
|
7424
|
+
/**
|
7425
|
+
* If enabled, Chrome sends 'Do Not Track' (`DNT: 1`) header with your requests.
|
7426
|
+
* The value of this preference is of type boolean, and the default value is `false`.
|
7427
|
+
* @since Chrome 65
|
7428
|
+
*/
|
7429
|
+
doNotTrackEnabled: chrome.types.ChromeSetting<boolean>;
|
7430
|
+
|
7431
|
+
/**
|
7432
|
+
* If disabled, the Fledge API is deactivated.
|
7433
|
+
* The value of this preference is of type boolean, and the default value is `true`.
|
7434
|
+
* Extensions may only disable this API by setting the value to `false`. If you try setting this API to `true`, it will throw an error.
|
7435
|
+
* @since Chrome 111
|
7436
|
+
*/
|
7437
|
+
fledgeEnabled: chrome.types.ChromeSetting<boolean>;
|
7438
|
+
|
7439
|
+
/**
|
7440
|
+
* If enabled, Chrome sends auditing pings when requested by a website (`<a ping>`).
|
7441
|
+
* The value of this preference is of type boolean, and the default value is `true`.
|
7442
|
+
*/
|
7359
7443
|
hyperlinkAuditingEnabled: chrome.types.ChromeSetting<boolean>;
|
7360
|
-
|
7444
|
+
|
7445
|
+
/**
|
7446
|
+
* If enabled, Chrome provides a unique ID to plugins in order to run protected content.
|
7447
|
+
* The value of this preference is of type boolean, and the default value is `true`.
|
7448
|
+
* @platform Windows and ChromeOS only
|
7449
|
+
*/
|
7361
7450
|
protectedContentEnabled: chrome.types.ChromeSetting<boolean>;
|
7362
|
-
/** @since Chrome 65 */
|
7363
|
-
doNotTrackEnabled: chrome.types.ChromeSetting<boolean>;
|
7364
|
-
}
|
7365
7451
|
|
7366
|
-
|
7367
|
-
|
7368
|
-
|
7369
|
-
|
7370
|
-
|
7371
|
-
|
7452
|
+
/**
|
7453
|
+
* If enabled, Chrome sends `referer` headers with your requests. Yes, the name of this preference doesn't match the misspelled header. No, we're not going to change it.
|
7454
|
+
* The value of this preference is of type boolean, and the default value is `true`.
|
7455
|
+
*/
|
7456
|
+
referrersEnabled: chrome.types.ChromeSetting<boolean>;
|
7457
|
+
|
7458
|
+
/**
|
7459
|
+
* If disabled, Related Website Sets is deactivated.
|
7460
|
+
* The value of this preference is of type boolean, and the default value is `true`.
|
7461
|
+
* Extensions may only disable this API by setting the value to `false`. If you try setting this API to `true`, it will throw an error.
|
7462
|
+
* @since Chrome 121
|
7463
|
+
*/
|
7464
|
+
relatedWebsiteSetsEnabled: chrome.types.ChromeSetting<boolean>;
|
7465
|
+
|
7466
|
+
/**
|
7467
|
+
* If disabled, Chrome blocks third-party sites from setting cookies.
|
7468
|
+
* The value of this preference is of type boolean, and the default value is `true`.
|
7469
|
+
*/
|
7470
|
+
thirdPartyCookiesAllowed: chrome.types.ChromeSetting<boolean>;
|
7471
|
+
|
7472
|
+
/**
|
7473
|
+
* If disabled, the Topics API is deactivated.
|
7474
|
+
* The value of this preference is of type boolean, and the default value is `true`.
|
7475
|
+
* Extensions may only disable this API by setting the value to `false`. If you try setting this API to `true`, it will throw an error.
|
7476
|
+
* @since Chrome 111
|
7477
|
+
*/
|
7478
|
+
topicsEnabled: chrome.types.ChromeSetting<boolean>;
|
7479
|
+
};
|
7372
7480
|
}
|
7373
7481
|
|
7374
7482
|
////////////////////
|
chrome/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/chrome",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.296",
|
4
4
|
"description": "TypeScript definitions for chrome",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
|
6
6
|
"license": "MIT",
|
@@ -94,6 +94,6 @@
|
|
94
94
|
"@types/har-format": "*"
|
95
95
|
},
|
96
96
|
"peerDependencies": {},
|
97
|
-
"typesPublisherContentHash": "
|
97
|
+
"typesPublisherContentHash": "999ff4d60b69ac0ee833f7049626c775531484690ead9d8d48734293298f7583",
|
98
98
|
"typeScriptVersion": "5.0"
|
99
99
|
}
|