Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mirzaakhena committed Feb 22, 2021
1 parent 4b7b1f2 commit 08ead85
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions webview.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ const webContents = remote.getCurrentWebContents();
const { session } = webContents;

module.exports = (Franz, config) => {

window.addEventListener("message", (event) => {
if (event.origin !== 'https://hangouts.google.com') {
return
}
}, false);

try {
(async () => {
if (window.location.href.match(/https:\/\/www.google.com\/intl\/(.*)\/gmail\/about\//)) {
Expand Down

0 comments on commit 08ead85

Please sign in to comment.