Skip to content

Commit 3f90921

Browse files
committed
fix: new selector for hiding the cookie pop-up, fixes #38
1 parent b59fe55 commit 3f90921

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/middleware/bot.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ export default (store: Store) => (next: (action: Action) => void) => async (
2929

3030
const { puppet } = store.getState().electron.views;
3131

32+
// hide cookie pop-up
3233
puppet.browserView.webContents.insertCSS(`
33-
#cmp-faktor-io-brand-consent-notice {
34+
body > div:first-child:not(.page-wrapper) {
3435
display: none !important;
3536
}
3637
`);

0 commit comments

Comments
 (0)