chore: update links of documentation of chromes (#30959)

chrome now use developer.chrome.com/docs/extensions/* instead of developer.chrome.com/extensions/*
This commit is contained in:
祈緒ちゃん - Kiochan 2021-09-17 03:53:28 +02:00 committed by GitHub
parent 4576d9d23e
commit ad98f4707f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -288,7 +288,7 @@ declare namespace ElectronInternal {
declare namespace Chrome {
namespace Tabs {
// https://developer.chrome.com/extensions/tabs#method-executeScript
// https://developer.chrome.com/docs/extensions/tabs#method-executeScript
interface ExecuteScriptDetails {
code?: string;
file?: string;
@ -301,7 +301,7 @@ declare namespace Chrome {
type ExecuteScriptCallback = (result: Array<any>) => void;
// https://developer.chrome.com/extensions/tabs#method-sendMessage
// https://developer.chrome.com/docs/extensions/tabs#method-sendMessage
interface SendMessageDetails {
frameId?: number;
}