Helpviewer/GreaseMonkey/GreaseMonkeyJavaScript.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module containing some JavaScript resources. 7 Module containing some JavaScript resources.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 bootstrap_js = """ 12 bootstrap_js = """
11 if(typeof GM_xmlhttpRequest === "undefined") { 13 if(typeof GM_xmlhttpRequest === "undefined") {
12 GM_xmlhttpRequest = function(/* object */ details) { 14 GM_xmlhttpRequest = function(/* object */ details) {
13 details.method = details.method.toUpperCase() || "GET"; 15 details.method = details.method.toUpperCase() || "GET";

eric ide

mercurial