File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11# UnderScript App Changelog
22
3+ ## Version 1.5.5 (2024-08-12)
4+ 1 . Fixed cloudflare (again)
5+
36## Version 1.5.4 (2023-07-10)
471 . Fixed cloudflare captcha
58
Original file line number Diff line number Diff line change @@ -30,8 +30,11 @@ function createWindow() {
3030 "'unsafe-eval'" ,
3131 "'unsafe-inline'" ,
3232 'https://www.google-analytics.com' ,
33+ 'https://www.googletagmanager.com' ,
3334 'https://*.cloudflare.com' ,
34- 'worker-src blob:'
35+ ';' ,
36+ 'worker-src' ,
37+ 'blob:' ,
3538 ] . join ( ' ' ) ,
3639 ] ,
3740 }
@@ -47,7 +50,7 @@ function createWindow() {
4750 click : ( ) => win . setFullScreen ( ! win . isFullScreen ( ) ) ,
4851 } ] ,
4952 } ) ;
50-
53+
5154 win . loadURL ( 'https://undercards.net/SignIn' ) ;
5255 win . setMenu ( null ) ;
5356 win . maximize ( ) ;
@@ -88,7 +91,7 @@ function createWindow() {
8891 if ( process . env . LOCAL_DIR ) checkVersion ( ) . catch ( console . error ) ;
8992 const { host, protocol } = new URL ( url ) ;
9093 if ( host === 'undercards.net' ) return ;
91-
94+
9295 event . preventDefault ( ) ;
9396 if ( protocol !== 'http:' && protocol !== 'https:' ) return ;
9497 if ( host === 'www.undercards.net' ) {
You can’t perform that action at this time.
0 commit comments