kotlin-webextensions-declarations icon indicating copy to clipboard operation
kotlin-webextensions-declarations copied to clipboard

Generated Kotlin JS declarations for the Firefox WebExtensions API

Results 10 kotlin-webextensions-declarations issues
Sort by recently updated
recently updated
newest added

It takes `filter` and `extraInfoSpec`. Also, the function in the listener should return a [webRequest.BlockingResponse](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/BlockingResponse) or a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) The current declarations only allow adding a listener that returns nothing.

https://github.com/square/kotlinpoet/pull/493, appearing in 1.2.0 causes a lot of unnessecary and invalid imports

Hi [Regarding to documentation](https://developer.mozilla.org/ru/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onBeforeRequest) ` web​Request​.onBefore​Request.addListener` takes multiple parameters. How can i configure [BlockingResponse](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/BlockingResponse) ? used extension version 0.4

Hello Kirill, I tried and failed to port the extension to Chrome in this commit https://github.com/jmfayard/webextension-search-kotlin-docs/commit/0bc78b05037bdd8c993cf4c0ec932a9fa19a2996 Things I have done: - Read https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Porting_a_Google_Chrome_extension - Read https://github.com/mozilla/webextension-polyfill - Added `src/main/resources/browser-polyfill.js` to...