Release: v1.11.1

pull/8/head
Oj18 4 years ago
parent 79064a4002
commit 491a527744

@ -1,5 +1,11 @@
# GooseMod Changelog
## v1.11.1
- ### Fixes
- Fixed CORS bypasser image method not using CORS proxy variable
## v1.11.0
- ### Features

@ -1,5 +1,5 @@
(async function () {
this.version = '1.11.0';
this.version = '1.11.1';
this.modules = {};
@ -472,9 +472,9 @@
});
},
image: (url) => {
image: (url, useCORSProxy = true) => {
return new Promise((res) => {
this.cspBypasser.frame.contentWindow.postMessage({url, type: 'img'});
this.cspBypasser.frame.contentWindow.postMessage({url, type: 'img', useCORSProxy});
window.addEventListener('message', async (e) => {
res(e.data);

Loading…
Cancel
Save