File tree 11 files changed +27
-13
lines changed
11 files changed +27
-13
lines changed Original file line number Diff line number Diff line change 1
1
2
- @license p3x-onenote v2020.10.128
2
+ @license p3x-onenote v2020.10.155
3
3
4
4
📚 P3X OneNote Linux
5
5
Original file line number Diff line number Diff line change 11
11
12
12
13
13
14
- # 📚 P3X OneNote Linux v2020.10.128
14
+ # 📚 P3X OneNote Linux v2020.10.155
15
15
16
16
17
17
@@ -232,7 +232,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://
232
232
233
233
---
234
234
235
- [ ** P3X-ONENOTE** ] ( https://corifeus.com/onenote ) Build v2020.10.128
235
+ [ ** P3X-ONENOTE** ] ( https://corifeus.com/onenote ) Build v2020.10.155
236
236
237
237
[ ![ Donate for Corifeus / P3X] ( https://img.shields.io/badge/Donate-Corifeus-003087.svg )] ( https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6 ) [ ![ Contact Corifeus / P3X] ( https://img.shields.io/badge/Contact-P3X-ff9900.svg )] ( https://www.patrikx3.com/en/front/contact ) [ ![ Like Corifeus @ Facebook] ( https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg )] ( https://www.facebook.com/corifeus.software )
238
238
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://
25
25
26
26
---
27
27
28
- [ ** P3X-ONENOTE** ] ( https://corifeus.com/onenote ) Build v2020.10.128
28
+ [ ** P3X-ONENOTE** ] ( https://corifeus.com/onenote ) Build v2020.10.155
29
29
30
30
[ ![ Donate for Corifeus / P3X] ( https://img.shields.io/badge/Donate-Corifeus-003087.svg )] ( https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6 ) [ ![ Contact Corifeus / P3X] ( https://img.shields.io/badge/Contact-P3X-ff9900.svg )] ( https://www.patrikx3.com/en/front/contact ) [ ![ Like Corifeus @ Facebook] ( https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg )] ( https://www.facebook.com/corifeus.software )
31
31
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://
25
25
26
26
---
27
27
28
- [ ** P3X-ONENOTE** ] ( https://corifeus.com/onenote ) Build v2020.10.128
28
+ [ ** P3X-ONENOTE** ] ( https://corifeus.com/onenote ) Build v2020.10.155
29
29
30
30
[ ![ Donate for Corifeus / P3X] ( https://img.shields.io/badge/Donate-Corifeus-003087.svg )] ( https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6 ) [ ![ Contact Corifeus / P3X] ( https://img.shields.io/badge/Contact-P3X-ff9900.svg )] ( https://www.patrikx3.com/en/front/contact ) [ ![ Like Corifeus @ Facebook] ( https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg )] ( https://www.facebook.com/corifeus.software )
31
31
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://
38
38
39
39
---
40
40
41
- [ ** P3X-ONENOTE** ] ( https://corifeus.com/onenote ) Build v2020.10.128
41
+ [ ** P3X-ONENOTE** ] ( https://corifeus.com/onenote ) Build v2020.10.155
42
42
43
43
[ ![ Donate for Corifeus / P3X] ( https://img.shields.io/badge/Donate-Corifeus-003087.svg )] ( https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6 ) [ ![ Contact Corifeus / P3X] ( https://img.shields.io/badge/Contact-P3X-ff9900.svg )] ( https://www.patrikx3.com/en/front/contact ) [ ![ Like Corifeus @ Facebook] ( https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg )] ( https://www.facebook.com/corifeus.software )
44
44
Original file line number Diff line number Diff line change 7
7
8
8
## Change log
9
9
10
- ### v2020.10.125
10
+ ### v2020.10.155
11
+ * BUILD: Fix newer build from ` electron-builder ` .
12
+
13
+ ### v2020.10.132
11
14
* CHORE: Updated deps.
12
15
13
16
### v2020.10.123
@@ -189,7 +192,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://
189
192
190
193
---
191
194
192
- [ ** P3X-ONENOTE** ] ( https://corifeus.com/onenote ) Build v2020.10.128
195
+ [ ** P3X-ONENOTE** ] ( https://corifeus.com/onenote ) Build v2020.10.155
193
196
194
197
[ ![ Donate for Corifeus / P3X] ( https://img.shields.io/badge/Donate-Corifeus-003087.svg )] ( https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6 ) [ ![ Contact Corifeus / P3X] ( https://img.shields.io/badge/Contact-P3X-ff9900.svg )] ( https://www.patrikx3.com/en/front/contact ) [ ![ Like Corifeus @ Facebook] ( https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg )] ( https://www.facebook.com/corifeus.software )
195
198
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " p3x-onenote" ,
3
- "version" : " 2020.10.128 " ,
3
+ "version" : " 2020.10.155 " ,
4
4
"description" : " 📚 P3X OneNote Linux" ,
5
5
"main" : " src/electron/app.js" ,
6
6
"corifeus" : {
59
59
"electron" : " ^10.1.3"
60
60
},
61
61
"devDependencies" : {
62
- "corifeus-builder" : " ^2020.10.113 " ,
62
+ "corifeus-builder" : " ^2020.10.116 " ,
63
63
"electron-builder" : " ^22.8.1"
64
64
},
65
65
"engines" : {
Original file line number Diff line number Diff line change @@ -15,3 +15,13 @@ app.on('activate', function () {
15
15
}
16
16
} ) ;
17
17
18
+
19
+ //FIXME: webview new-window changed
20
+ app . on ( 'web-contents-created' , function ( webContentsCreatedEvent , contents ) {
21
+ if ( contents . getType ( ) === 'webview' ) {
22
+ contents . on ( 'new-window' , function ( newWindowEvent , url ) {
23
+ newWindowEvent . preventDefault ( ) ;
24
+ } ) ;
25
+ }
26
+ } ) ;
27
+
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ function createWindow() {
11
11
autoHideMenuBar : true ,
12
12
webPreferences : {
13
13
enableRemoteModule : true ,
14
+ worldSafeExecuteJavaScript : true ,
14
15
nodeIntegration : true ,
15
16
webviewTag : true ,
16
17
}
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ const handler = (options) => {
103
103
104
104
} ) ;
105
105
106
- webview . addEventListener ( 'new-window' , async function ( event ) {
106
+ webview . addEventListener ( 'new-window' , function ( event ) {
107
107
108
108
event . preventDefault ( )
109
109
//p3x.onenote.toast.action(p3x.onenote.lang.label.unknownLink)
Original file line number Diff line number Diff line change 5
5
6
6
< meta charset ="utf-8 ">
7
7
< meta name ="viewport " content ="initial-scale=1, maximum-scale=1, user-scalable=no ">
8
-
8
+ < meta http-equiv =" Content-Security-Policy " content =" unsafe-inline " >
9
9
< link rel ="stylesheet " href ="../../../../node_modules/typeface-roboto/index.css "/>
10
10
< link rel ="stylesheet " href ="../../../../node_modules/angular/angular-csp.css ">
11
11
< link rel ="stylesheet " href ="../../../../node_modules/angular-material/angular-material.css ">
50
50
51
51
52
52
</ div >
53
- < webview id ="p3x-onenote-webview " webpreferences ="nativeWindowOpen=true ">
53
+ < webview id ="p3x-onenote-webview " webpreferences ="nativeWindowOpen=true " allowpopups >
54
54
</ webview >
55
55
56
56
You can’t perform that action at this time.
0 commit comments