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;
|
||||
XHR.prototype.open = function (method, url, async, user, pass) {
|
||||
this._url = url;
|
||||
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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user