fixed typos and took current URL as default parameter
This commit is contained in:
@@ -17,7 +17,7 @@ RemoteSourceUrl="http://self/trained_classifier/";
|
||||
|
||||
GM_xmlhttpRequest({
|
||||
method: "GET",
|
||||
url: wikiUrl+,
|
||||
url: RemoteURL+"?q="+document.URL,
|
||||
onload: function(response) {
|
||||
parsed = response.responseText;
|
||||
GM_setValue("parsedLastResult",responseCheck(parsed));
|
||||
@@ -34,7 +34,7 @@ Renderer = GM_getValue("parsedLastResult",'No classified result for this object'
|
||||
|
||||
var myDiv = document.createElement('div');
|
||||
myDiv.id = "GM_Window";
|
||||
myDiv.innerHTML += "<p class=\"parsed_render\">"Renderer+"<ul>";
|
||||
myDiv.innerHTML = "<p class=\"parsed_render\">"Renderer+"<ul>";
|
||||
boxcss = 'position:fixed; right:5px; top:50px; background-color:white; z-index:1; opacity:0.9;';
|
||||
myDiv.style.cssText = boxcss;
|
||||
document.body.appendChild(myDiv);
|
||||
|
||||
Reference in New Issue
Block a user