Skip to content

Commit 8ece732

Browse files
committed
fix: allow cloudflare captcha to run
1 parent 8ce474a commit 8ece732

File tree

2 files changed

+57
-42
lines changed

2 files changed

+57
-42
lines changed

changelog.md

Lines changed: 47 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,47 @@
1-
# UnderScript App Changelog
2-
3-
## Version 1.4.1 (2020-03-07)
4-
1. Hopefully fixed automated builds
5-
1. Fixed a bug with tab on the SignIn page
6-
7-
## Version 1.4.0 (2020-03-06)
8-
1. Can now update UnderScript without having to restart
9-
1. URL's now open in browser
10-
1. Remember Me now shows that it does something in the app
11-
12-
## Version 1.3.4 (2020-02-28)
13-
1. Fixed node version (probably)
14-
15-
## Version 1.3.3 (2020-02-28)
16-
### New Features
17-
1. Zoom with CTRL+Scroll
18-
### Bug Fixes
19-
1. Fixed underscript bundler
20-
21-
## Version 1.2.0 (2020-12-31)
22-
Happy New Year!
23-
### New Features
24-
1. App now updates automatically
25-
1. Added right click menu
26-
### Bug Fixes
27-
1. Fixed underscript updater
28-
29-
## Version 1.1.5 (2020-12-25)
30-
1. Start app on login page
31-
32-
## Version 1.1.0 (2020-12-24)
33-
### New Features:
34-
1. Open links in your browser (instead of in app)
35-
1. Can now refresh with F5 or CTRL+R
36-
1. Remember Me button does something amazing!
37-
### Bug Fixes
38-
1. Properly exit for errors
39-
40-
## Version 1.0.0 (2020-12-24)
41-
1. Initial release
1+
# UnderScript App Changelog
2+
3+
## Version 1.5.0 (2023-03-18)
4+
It's been 3 years since this app has needed an update, but the biggest thing is a bug fix thanks to script kiddies being naughty.
5+
1. Fixed the ability to login with new captcha
6+
1. Download new app version automatically and notify when a download has started
7+
1. Automatically go to the sign in screen when you're logged out
8+
9+
## Version 1.4.1 (2020-03-07)
10+
1. Hopefully fixed automated builds
11+
1. Fixed a bug with tab on the SignIn page
12+
13+
## Version 1.4.0 (2020-03-06)
14+
1. Can now update UnderScript without having to restart
15+
1. URL's now open in browser
16+
1. Remember Me now shows that it does something in the app
17+
18+
## Version 1.3.4 (2020-02-28)
19+
1. Fixed node version (probably)
20+
21+
## Version 1.3.3 (2020-02-28)
22+
### New Features
23+
1. Zoom with CTRL+Scroll
24+
### Bug Fixes
25+
1. Fixed underscript bundler
26+
27+
## Version 1.2.0 (2020-12-31)
28+
Happy New Year!
29+
### New Features
30+
1. App now updates automatically
31+
1. Added right click menu
32+
### Bug Fixes
33+
1. Fixed underscript updater
34+
35+
## Version 1.1.5 (2020-12-25)
36+
1. Start app on login page
37+
38+
## Version 1.1.0 (2020-12-24)
39+
### New Features:
40+
1. Open links in your browser (instead of in app)
41+
1. Can now refresh with F5 or CTRL+R
42+
1. Remember Me button does something amazing!
43+
### Bug Fixes
44+
1. Properly exit for errors
45+
46+
## Version 1.0.0 (2020-12-24)
47+
1. Initial release

src/electron.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,16 @@ function createWindow() {
2222
callback({
2323
responseHeaders: {
2424
...details.responseHeaders,
25-
'Content-Security-Policy': ['script-src \'self\' \'unsafe-eval\' \'unsafe-inline\' https://www.google-analytics.com'],
25+
'Content-Security-Policy': [
26+
[
27+
'script-src',
28+
"'self'",
29+
"'unsafe-eval'",
30+
"'unsafe-inline'",
31+
'https://www.google-analytics.com',
32+
'https://*.cloudflare.com',
33+
].join(' '),
34+
],
2635
}
2736
});
2837
});

0 commit comments

Comments
 (0)