2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-09-28 04:19:01 +00:00
nativefier/app
shun e00f08e5d6 Fix filter exception when injecting CSS (PR #837)
When injecting CSS, an `onBeforeRequest paramater 'filter' must have property 'urls'` error is thrown.

![image](https://user-images.githubusercontent.com/599164/63574823-a3dd6180-c5c3-11e9-89c0-a9debdd4f696.png)

This is caused by [Electron PR #19337: Throw on invalid webRequest filters](https://github.com/electron/electron/pull/19337).

So, pass filter argument properly, like Electron expects it strictly.
2019-08-28 07:28:18 -04:00
..
inject Fix bug where css is always injected 2016-02-25 15:25:14 +08:00
src Fix filter exception when injecting CSS (PR #837) 2019-08-28 07:28:18 -04:00
.eslintrc.yml Update eslint and use Airbnb style 2017-04-29 22:52:12 +08:00
.npmrc Upgrade dependencies and default to latest Electron 1.7.9 (PR #483) 2017-11-14 08:05:01 -05:00
nativefier.json Fix placeholder for electron app to google 2016-05-26 16:50:42 +08:00
package.json Support packaging nativefier applications into Squirrel-based installers (#744) 2019-02-08 09:57:32 -05:00