getstation / electron-chrome-extension

Implementation of Chrome extension APIs for Electron
139 stars 26 forks source link

Mixmax #23

Open alexstrat opened 6 years ago

alexstrat commented 6 years ago

Implementation notes:

Mixmax is using chrome.storage.onChanged.addListener, but looks like using a shim is enough. Overide user-agent to remove any mention of Electron: session.setUserAgent(userAgent.replace(/Electron\/\S*\s/, ''))

I had to dummy-implement various APIs:

  • chrome.storage.onChanged.addListener
  • chrome.tabs.query
  • chrome.browserAction (no real sense in context of electron)
  • chrome.notifications
  • chrome.webRequest => not sure how it impactcs the execution of the app but seems to work

Related issues: #2 #3

hugomano commented 5 years ago

Missing Enable my productivity button

HipTest Test QA Video Record Console Screenshot HAR File

Hypothesis

On March 15, the Chromium team fixed the original problem that Mixmax encountered https://bugs.chromium.org/p/chromium/issues/detail?id=408932#c35