browser-base icon indicating copy to clipboard operation
browser-base copied to clipboard

Add support for Chrome APIs

Open sentialx opened this issue 7 years ago • 3 comments

Extensions system is moved to a separate package: https://github.com/sentialx/electron-extensions

Currently supported APIs:

  • [ ] tabs
    • [x] onCreated
    • [x] onUpdated
    • [x] onActivated
    • [ ] onRemoved
    • [x] detectLanguage
    • [x] getZoom
    • [x] setZoom
    • [x] executeScript
    • [x] insertCSS
    • [x] get
    • [x] getCurrent
    • [x] query
    • [x] create
    • [x] sendMessage
  • [ ] webNavigation
    • [x] onBeforeNavigate
    • [x] onCommitted
    • [x] onDOMContentLoaded
    • [x] onCompleted
    • [x] onCreatedNavigationTarget
    • [ ] onReferenceFragmentUpdated
    • [ ] onTabReplaced
    • [ ] onHistoryStateUpdated
  • [ ] extension
    • [ ] getViews
    • [x] getURL
    • [x] getBackgroundPage
    • [x] sendRequest
    • [ ] getExtensionTabs
    • [x] isAllowedIncognitoAccess
    • [x] isAllowedFileSchemeAccess
    • [ ] setUpdateUrlData
  • [ ] browserAction
    • [x] setBadgeText
    • [ ] getBadgeText
    • [x] setBadgeBackgroundColor
    • [ ] getBadgeBackgroundColor
    • [x] setIcon
    • [ ] getIcon
    • [x] setPopup
    • [ ] getPopup
    • [x] setTitle
    • [ ] getTitle
    • [x] onClicked
    • [ ] enable
    • [ ] disable
  • [ ] downloads
    • [ ] search
    • [ ] erase
    • [ ] download
  • [x] webRequest
  • [x] runtime
  • [x] storage
  • [x] i18n
  • [x] alarms
  • [x] declarativeNetRequest
  • [x] declarativeWebRequest
  • [x] displaySource
  • [x] idle
  • [x] power
  • [x] printerProvider
  • [x] system
  • [x] management

sentialx avatar Aug 02 '18 17:08 sentialx

2.0.0-beta.4:

  • tabs
    • [x] onCreated
    • [x] onUpdated
    • [x] onActivated
    • [x] executeScript
    • [x] insertCSS
    • [x] get
    • [x] getCurrent
    • [x] query
    • [x] create
  • webNavigation
    • [x] onBeforeNavigate
    • [x] onCommitted
    • [x] onDOMContentLoaded
    • [x] onCompleted
    • [x] onCreatedNavigationTarget
  • webRequest
    • [x] onBeforeRequest
    • [x] onBeforeSendHeaders
    • [x] onHeadersReceived
    • [x] onSendHeaders
    • [x] onCompleted
    • [x] onErrorOccurred
  • runtime
    • [x] id
    • [x] getManifest
    • [x] getURL
    • [x] reload
    • [x] connect
    • [x] onConnect
  • storage
    • [x] local
    • [x] sync
    • [x] managed
  • i18n
    • [x] getMessage
  • browserAction
    • [x] setBadgeText

sentialx avatar Mar 24 '19 19:03 sentialx

Hi, @sentialx. I just came across your project and wanted to let you know I've been working on adding better support for Chrome extensions in Electron officially with my current wip at electron/electron#17440. If you'd be interested in helping out, please get in touch with my email on my profile or SamM#1270 on Discord.

samuelmaddock avatar Mar 25 '19 05:03 samuelmaddock

Added support for darkreader https://github.com/wexond/electron-extensions/issues/6

sentialx avatar Jul 06 '19 17:07 sentialx