aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormitsugu oyama2011-07-28 07:44:36 +0900
committermitsugu oyama2011-07-28 07:44:36 +0900
commitbe944522e55c21460fae614cc06c8bd874e9d603 (patch)
tree45c5e177eb95dc72b892fddbb33b64f7ea0b3b9b
parentd1e2b94bd10c50ce56b9f1a3b172287be9223455 (diff)
downloadvimperator-plugins-be944522e55c21460fae614cc06c8bd874e9d603.tar.bz2
modified for site renewal ( mid-flow )
-rw-r--r--tinami.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/tinami.js b/tinami.js
index fbf00ff..c96bb9a 100644
--- a/tinami.js
+++ b/tinami.js
@@ -1,6 +1,6 @@
// INFO //
var INFO =
-<plugin name="tinami.js" version="0.2"
+<plugin name="tinami.js" version="0.3"
summary="Download image from tinami"
href="http://github.com/vimpr/vimperator-plugins/blob/master/tinami.js"
xmlns="http://vimperator.org/namespaces/liberator">
@@ -168,7 +168,7 @@ commands.addUserCommand(
return false;
};
- if(0<contents.getElementsByClassName('bigger').length){
+// if(0<contents.getElementsByClassName('bigger').length){
xhrImgInfo=Cc["@mozilla.org/xmlextras/xmlhttprequest;1"].createInstance();
xhrImgInfo.QueryInterface(Ci.nsIDOMEventTarget);
xhrImgInfo.addEventListener("load",trueImgInfo,false);
@@ -178,10 +178,12 @@ commands.addUserCommand(
xhrImgInfo.setRequestHeader('Referer',contents.URL);
xhrImgInfo.setRequestHeader('Cookie',cookie);
xhrImgInfo.send(null);
+/*
}else{
imgUrl=contents.getElementsByClassName('draggable_img').item(0)
.firstChild.getAttribute('src');
saveImag();
}
+*/
}
);