v1.1.0-beta/fix form
This commit is contained in:
@@ -1,10 +1,9 @@
|
|||||||
// CREATED BY http://googleformrestyler.apixml.net/
|
(function (XHR) {
|
||||||
(function (XHR) {
|
|
||||||
var open = XHR.prototype.open;
|
var open = XHR.prototype.open;
|
||||||
XHR.prototype.open = function (method, url, async, user, pass) {
|
XHR.prototype.open = function (method, url, async, user, pass) {
|
||||||
this._url = url;
|
this._url = url;
|
||||||
if (url.indexOf('gstatic.com') !== -1 || url.indexOf('docs.google.com') !== -1) {
|
if (url.indexOf('gstatic.com') !== -1 || url.indexOf('docs.google.com') !== -1) {
|
||||||
url = 'http://googleformrestyler.apixml.net/corsProxy.aspx?base64Url=' + btoa(url);
|
url = 'https://googleformrestyler.apixml.net/corsProxy.aspx?base64Url=' + btoa(url);
|
||||||
}
|
}
|
||||||
open.call(this, method, url, async, user, pass);
|
open.call(this, method, url, async, user, pass);
|
||||||
};
|
};
|
||||||
|
|||||||
+8
-5488
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user