github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/userscripts/apis.js.wasm.yaml (about)

     1  - File: webext/user_scripts.idl
     2    Callback:
     3      Name: GetScriptsCallback
     4      Args:
     5        - Name: scripts
     6          Type:
     7            Name: sequence
     8            Params:
     9              - Name: RegisteredUserScript
    10                ExtAttrs:
    11                  - Name: Namespace
    12                    Values:
    13                      - chrome
    14                      - userScripts
    15            ExtAttrs:
    16              - Name: Namespace
    17                Values:
    18                  - chrome
    19                  - userScripts
    20          ExtAttrs:
    21            - Name: Namespace
    22              Values:
    23                - chrome
    24                - userScripts
    25      Returns:
    26        - Name: void
    27          ExtAttrs:
    28            - Name: Namespace
    29              Values:
    30                - chrome
    31                - userScripts
    32      ExtAttrs:
    33        - Name: Namespace
    34          Values:
    35            - chrome
    36            - userScripts
    37  - File: webext/user_scripts.idl
    38    Callback:
    39      Name: RegisterCallback
    40      Returns:
    41        - Name: void
    42          ExtAttrs:
    43            - Name: Namespace
    44              Values:
    45                - chrome
    46                - userScripts
    47      ExtAttrs:
    48        - Name: Namespace
    49          Values:
    50            - chrome
    51            - userScripts
    52  - File: webext/user_scripts.idl
    53    Dict:
    54      Name: RegisteredUserScript
    55      ExtAttrs:
    56        - Name: Namespace
    57          Values:
    58            - chrome
    59            - userScripts
    60      Fields:
    61        - Name: allFrames
    62          Type:
    63            Name: boolean
    64            Nullable: true
    65            ExtAttrs:
    66              - Name: Namespace
    67                Values:
    68                  - chrome
    69                  - userScripts
    70          ExtAttrs:
    71            - Name: Namespace
    72              Values:
    73                - chrome
    74                - userScripts
    75        - Name: excludeMatches
    76          Type:
    77            Name: sequence
    78            Params:
    79              - Name: DOMString
    80                ExtAttrs:
    81                  - Name: Namespace
    82                    Values:
    83                      - chrome
    84                      - userScripts
    85            Nullable: true
    86            ExtAttrs:
    87              - Name: Namespace
    88                Values:
    89                  - chrome
    90                  - userScripts
    91          ExtAttrs:
    92            - Name: Namespace
    93              Values:
    94                - chrome
    95                - userScripts
    96        - Name: id
    97          Type:
    98            Name: DOMString
    99            ExtAttrs:
   100              - Name: Namespace
   101                Values:
   102                  - chrome
   103                  - userScripts
   104          ExtAttrs:
   105            - Name: Namespace
   106              Values:
   107                - chrome
   108                - userScripts
   109        - Name: js
   110          Type:
   111            Name: sequence
   112            Params:
   113              - Name: ScriptSource
   114                ExtAttrs:
   115                  - Name: Namespace
   116                    Values:
   117                      - chrome
   118                      - userScripts
   119            ExtAttrs:
   120              - Name: Namespace
   121                Values:
   122                  - chrome
   123                  - userScripts
   124          ExtAttrs:
   125            - Name: Namespace
   126              Values:
   127                - chrome
   128                - userScripts
   129        - Name: matches
   130          Type:
   131            Name: sequence
   132            Params:
   133              - Name: DOMString
   134                ExtAttrs:
   135                  - Name: Namespace
   136                    Values:
   137                      - chrome
   138                      - userScripts
   139            Nullable: true
   140            ExtAttrs:
   141              - Name: Namespace
   142                Values:
   143                  - chrome
   144                  - userScripts
   145          ExtAttrs:
   146            - Name: Namespace
   147              Values:
   148                - chrome
   149                - userScripts
   150        - Name: runAt
   151          Type:
   152            Name: RunAt
   153            Nullable: true
   154            ExtAttrs:
   155              - Name: Namespace
   156                Values:
   157                  - chrome
   158                  - extensionTypes
   159          ExtAttrs:
   160            - Name: Namespace
   161              Values:
   162                - chrome
   163                - extensionTypes
   164  - File: webext/user_scripts.idl
   165    Dict:
   166      Name: ScriptSource
   167      ExtAttrs:
   168        - Name: Namespace
   169          Values:
   170            - chrome
   171            - userScripts
   172      Fields:
   173        - Name: code
   174          Type:
   175            Name: DOMString
   176            Nullable: true
   177            ExtAttrs:
   178              - Name: Namespace
   179                Values:
   180                  - chrome
   181                  - userScripts
   182          ExtAttrs:
   183            - Name: Namespace
   184              Values:
   185                - chrome
   186                - userScripts
   187        - Name: file
   188          Type:
   189            Name: DOMString
   190            Nullable: true
   191            ExtAttrs:
   192              - Name: Namespace
   193                Values:
   194                  - chrome
   195                  - userScripts
   196          ExtAttrs:
   197            - Name: Namespace
   198              Values:
   199                - chrome
   200                - userScripts
   201  - File: webext/user_scripts.idl
   202    Callback:
   203      Name: UnregisterCallback
   204      Returns:
   205        - Name: void
   206          ExtAttrs:
   207            - Name: Namespace
   208              Values:
   209                - chrome
   210                - userScripts
   211      ExtAttrs:
   212        - Name: Namespace
   213          Values:
   214            - chrome
   215            - userScripts
   216  - File: webext/user_scripts.idl
   217    Dict:
   218      Name: UserScriptFilter
   219      ExtAttrs:
   220        - Name: Namespace
   221          Values:
   222            - chrome
   223            - userScripts
   224      Fields:
   225        - Name: ids
   226          Type:
   227            Name: sequence
   228            Params:
   229              - Name: DOMString
   230                ExtAttrs:
   231                  - Name: Namespace
   232                    Values:
   233                      - chrome
   234                      - userScripts
   235            Nullable: true
   236            ExtAttrs:
   237              - Name: Namespace
   238                Values:
   239                  - chrome
   240                  - userScripts
   241          ExtAttrs:
   242            - Name: Namespace
   243              Values:
   244                - chrome
   245                - userScripts
   246  - File: webext/user_scripts.idl
   247    WebextFunc:
   248      Name: getScripts
   249      Modifier: static
   250      Args:
   251        - Name: filter
   252          Optional: true
   253          Type:
   254            Name: UserScriptFilter
   255            ExtAttrs:
   256              - Name: Namespace
   257                Values:
   258                  - chrome
   259                  - userScripts
   260          ExtAttrs:
   261            - Name: Namespace
   262              Values:
   263                - chrome
   264                - userScripts
   265      Returns:
   266        - Name: Promise
   267          Params:
   268            - Name: sequence
   269              Params:
   270                - Name: RegisteredUserScript
   271                  ExtAttrs:
   272                    - Name: Namespace
   273                      Values:
   274                        - chrome
   275                        - userScripts
   276              ExtAttrs:
   277                - Name: Namespace
   278                  Values:
   279                    - chrome
   280                    - userScripts
   281      ExtAttrs:
   282        - Name: supportsPromises
   283        - Name: Namespace
   284          Values:
   285            - chrome
   286            - userScripts
   287  - File: webext/user_scripts.idl
   288    WebextFunc:
   289      Name: register
   290      Modifier: static
   291      Args:
   292        - Name: scripts
   293          Type:
   294            Name: sequence
   295            Params:
   296              - Name: RegisteredUserScript
   297                ExtAttrs:
   298                  - Name: Namespace
   299                    Values:
   300                      - chrome
   301                      - userScripts
   302            ExtAttrs:
   303              - Name: Namespace
   304                Values:
   305                  - chrome
   306                  - userScripts
   307          ExtAttrs:
   308            - Name: Namespace
   309              Values:
   310                - chrome
   311                - userScripts
   312      Returns:
   313        - Name: Promise
   314          Params:
   315            - Name: void
   316      ExtAttrs:
   317        - Name: supportsPromises
   318        - Name: Namespace
   319          Values:
   320            - chrome
   321            - userScripts
   322  - File: webext/user_scripts.idl
   323    WebextFunc:
   324      Name: unregister
   325      Modifier: static
   326      Args:
   327        - Name: filter
   328          Optional: true
   329          Type:
   330            Name: UserScriptFilter
   331            ExtAttrs:
   332              - Name: Namespace
   333                Values:
   334                  - chrome
   335                  - userScripts
   336          ExtAttrs:
   337            - Name: Namespace
   338              Values:
   339                - chrome
   340                - userScripts
   341      Returns:
   342        - Name: Promise
   343          Params:
   344            - Name: void
   345      ExtAttrs:
   346        - Name: supportsPromises
   347        - Name: Namespace
   348          Values:
   349            - chrome
   350            - userScripts