update template
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package webextension_polyfill.manifest;
|
||||
|
||||
/**
|
||||
Represents a protocol handler definition.
|
||||
**/
|
||||
typedef ProtocolHandler = {
|
||||
/**
|
||||
A user-readable title string for the protocol handler. This will be displayed to the user in interface objects as needed.
|
||||
**/
|
||||
var name : String;
|
||||
/**
|
||||
The protocol the site wishes to handle, specified as a string. For example, you can register to handle SMS text message
|
||||
links by registering to handle the "sms" scheme.
|
||||
**/
|
||||
var protocol : String;
|
||||
/**
|
||||
The URL of the handler, as a string. This string should include "%s" as a placeholder which will be replaced with the
|
||||
escaped URL of the document to be handled. This URL might be a true URL, or it could be a phone number, email address,
|
||||
or so forth.
|
||||
**/
|
||||
var uriTemplate : String;
|
||||
};
|
Reference in New Issue
Block a user