minibuffer bookmark commandのdelicious.com対応

Delicious
なんかdel.icio.usでのブクマに失敗する、と思ったら色々変わってた。
というかURL変わっちゃった。
URLは前の方が好きだなー。
という訳で、minibufferbookmarkcommand.user.jsいじってみる。
ブクマ済みかどうかの判断処理が出来てないけどとりあえず。

172c172
< 				"&notes=", encodeURIComponent(self.comment|''),
---
> 				"&notes=", encodeURIComponent(self.comment),
261c261
< 			return $X('id("header-auth-links")/a[@href="/logout"]', html).length;
---
> 			return $X('id("globalnav")//a[@href="http://delicious.com/logout"]', html).length;
268c268
< 				"&description=", encodeURIComponent(opt.description),
---
> 				"&title=", encodeURIComponent(opt.title),
290c290
< 				opt.description = $X('//title', html)[0].text;
---
> 				opt.title = $X('//title', html)[0].text;
310c310
< 				var date = $X('//form[@id="delForm"]//input[@name="date"]', html);
---
> 				var date = $X('//form[@id="saveitem"]//input[@name="date"]', html);
318,319c318,319
< 					var form = $X('//form[@id="delForm"]', html)[0];
< 					var inputs = $X('//form[@id="delForm"]//input', html);
---
> 					var form = $X('//form[@id="saveitem"]', html)[0];
> 					var inputs = $X('//form[@id="saveitem"]//input', html);
325c325
< 					res.action = 'http://del.icio.us/' + form.action.replace(re, '');
---
> 					res.action = 'http://delicious.com/' + form.action.replace(re, '');
331c331
< 			  url: "http://del.icio.us/post?v=4&url="+encodeURIComponent(url),
---
> 			  url: "http://delicious.com/save?v=5&url="+encodeURIComponent(url),

一番最初のはLivedoorClipでコメントが0になっちゃうバグの修正。