value | get title and goo.gl short url |
---|---|
map | |
label | titleAndGoo.gl |
custom | function(){var ret="";var xhr=util.httpGet("http://ggl-shortener.appspot.com/?url="+encodeURIComponent(buffer.URL));if(xhr&&xhr.status===200){ret=JSON.parse(xhr.responseText).short_url;}return buffer.title+" "+ret;} |
Database: vimp copy
copy.js(vimperator plugin)のexample
Last Update: 2010-05-01T13:58:42+09:00 History
Item List
-
titleAndGoo.gl 2012-09-22T14:03:06+09:00
last update: 2012-09-22T14:03:06+09:00
-
bitly 2012-09-22T14:02:42+09:00
value bitlyURL map label GetbitlyURL custom function() { return util.httpGet('http://bit.ly/api?url=' + encodeURIComponent(buffer.URL)).responseText; } last update: 2012-09-22T14:02:42+09:00
-
tinyArro.wsURL 2012-09-22T14:01:56+09:00
value function() { return util.httpGet('http://tinyarro.ws/api-create.php?url=' + encodeURIComponent(buffer.URL)).responseText; map label Get URL use ➡ ➨ ➯ ➔ ➞ ➽ ➹ ✩ ✿ ❥ › ⌘ ‽ ☁ custom last update: 2012-09-22T14:01:56+09:00
-
Hatena::ImageMax 650px 2012-09-22T14:01:52+09:00
value Hatena::ImageMax 650px label H::D(Image2) custom function() { let [, width, height] = buffer.title.match(/\(PNG\s\S+,\s([0-9]+)x([0-9]+)\spx\)/); const MAX_W = 650; let maxWidth = width > MAX_W ? ":w" + MAX_W: ""; return '[' + buffer.URL + ':image' + maxWidth + ']'; } last update: 2009-06-08T07:12:29+09:00
-
selected img alt 2012-09-22T14:00:57+09:00
value %HTMLSEL% label selimgalt custom function(v, v2) { var m; var doc = window.content.document; while ((m = /(<img.[^>]+>)/ig(v2)) != null) { try { let dom = (new DOMParser()).parseFromString(m[1], "text/xml"); if (dom.firstChild && dom.firstChild.getAttribute("alt")) { return dom.firstChild.getAttribute("alt"); } } catch (e) {}} } last update: 2009-02-05T00:59:56+09:00
-
HTML Blockquote in Anchor with Hatena 2012-09-22T14:00:56+09:00
value <blockquote cite="%URL%" title="%TITLE%">%HTMLSEL%\n<a href="%URL%" title="%TITLE%">%TITLE%</a> <a href="http://b.hatena.ne.jp/entry/%URL%" title="はてなブックマーク数" alt="はてなブックマーク数"><img src="http://b.hatena.ne.jp/entry/image/%URL%" title="はてなブックマーク数" alt="はてなブックマーク数" border="0"></a></blockquote> label htmlblockquote2 last update: 2009-02-22T05:05:56+09:00
-
Anchor With Hatena 2012-09-22T14:00:56+09:00
value <a href="%URL%" title="%TITLE%">%TITLE%</a> <a href="http://b.hatena.ne.jp/entry/%URL%" title="はてなブックマーク数" alt="はてなブックマーク数"><img src="http://b.hatena.ne.jp/entry/image/%URL%" title="はてなブックマーク数" alt="はてなブックマーク数" border="0"></a> label anchorWithHatena last update: 2009-02-22T04:39:07+09:00
-
Anchor 2012-09-22T14:00:56+09:00
value <a href=\"%URL%\" title=\"%TITLE%\">%TITLE%</a> label anchor last update: 2012-09-22T14:00:56+09:00
-
YouTube Video Link 2012-09-22T14:00:56+09:00
value copy Video Link from YouTube map label youtube custom function() {return content.document.getElementById('watch-url-field').value;} last update: 2012-09-22T14:00:56+09:00
-
PathTraq Normalize 2012-09-22T14:00:56+09:00
value Normalized Permalink from PathTraq API label pathtraqnormalize custom function() { return util.httpGet('http://api.pathtraq.com/normalize_url2?url=' + encodeURIComponent(buffer.URL)).responseText; } last update: 2009-01-26T10:15:38+09:00
-
Hatena CITE 2012-09-22T14:00:56+09:00
value >%URL%:title=%TITLE%>\n%SEL%\n<< label hatenacite last update: 2009-01-26T10:15:27+09:00
-
markdown 2012-09-22T14:00:56+09:00
value [%SEL%](%URL% "%TITLE%") label markdown last update: 2009-01-26T10:15:14+09:00
-
HTML Blockquote 2012-09-22T14:00:56+09:00
value <blockquote cite="%URL%" title="%TITLE%">%HTMLSEL%</blockquote> label htmlblockquote last update: 2009-01-26T19:24:30+09:00
-
tinyURL 2012-09-22T14:00:56+09:00
value Get Tiny URL label tinyURL custom function() { return util.httpGet('http://tinyurl.com/api-create.php?url=' + encodeURIComponent(buffer.URL)).responseText; } last update: 2009-01-26T10:14:20+09:00
-
ASIN 2012-09-22T14:00:56+09:00
value copy ASIN code from Amazon label ASIN custom function(){return content.document.getElementById('ASIN').value;} last update: 2009-01-26T10:14:03+09:00
-
hatena 2012-09-22T14:00:56+09:00
value [%URL%:title=%TITLE%] label hatena last update: 2009-01-26T10:13:46+09:00
-
title and URL 2012-09-22T14:00:56+09:00
value %TITLE%\n%URL% label titleAndURL last update: 2009-01-26T10:13:24+09:00
-
title 2012-09-22T14:00:56+09:00
value %TITLE% label title last update: 2009-01-26T10:12:56+09:00