82034 Bookmarklets! Create

Hatena::Let でブックマークレットをかんたんに作成・公開しよう!

RNatori ListUpTweets2014-03-09

ページ内のTweetリンクをリストアップしテキストエリアに書き出します

var result='';var x,i;x=document.links;for(i=0;i<x.length;i++){if(x[i].href.match(/.*twitter\.com...

各ブックマークのtimestampをブックマークのパーマリンクにする

var style=document.createElement("style");style.textContent=".bookmark-list .timestamp {text-deco...
yuta25 平等にスター2014-03-02

みんなに一個ずつ黄色スターをプレゼント

(function($){$('#all-bookmarks .hatena-star-add-button').click()})(jQuery);
sugargoodman createMarkdownPre2014-03-01

テキストエリアの選択範囲の行頭にスペースを4つ入れる

var bef=$('textarea').selection();var aft=bef.replace(/^/g,'    ');aft=aft.replace(/\n/g,'\n    '...
taizooo $X2014-02-28

XPath

(function(urls){urls.forEach((function(u){var scr=document.createElement("script");scr.src=u;docu...
taizooo say2014-02-21

@KoichiroEto wedata結局どうなるんですか?

(function say(t){function randlen(x,l){var n=Math.floor(l*Math.random());var s='';for(var i=0;i<n...
taizooo <->WebArchive2014-02-20

WebArchive⇔閲覧ページ間を行き来する。Based On http://d.hatena.ne.jp/Nos/20091028/1256679357

var peep=location.href;if(/^https?:\/\/(wayback|web)\.archive\.org\/web/.test(peep)){var paap=pee...
inoue64 ZIP日付2014-02-19

ZIP-FM曲目リスト日付指定

javascript:go=prompt("yyyy/mm/dd",top.viewer.listdata.location.href.split("?vd=")[1]);if(go!=null...
sugargoodman AlwaysOpenNewTab2014-02-17

実行するとそのページのリンクが全て新しいタブで開かれるようになる

a=document.getElementsByTagName('a');l=a.length;for(var i=0;i<l;i++){a[i].setAttribute('target','...
taizooo saveWebArchive2014-02-12

save web page to WebArchive

(function(){document.createElement("img").src="http://web.archive.org/save/"+encodeURI(document.l...

Googleマップで表示されている場所を全国地価マップで開きます。

(function(s,lat,lng){var ln=lng*1+lat*46047e-9+lng*83049e-9-.010041;var la=lat*1+lat*10696e-8-lng...
noromanba N -info2014-02-11

hidden header info on nicovideo

(function(){if(!/nicovideo\.jp$/.test(location.hostname))return;var addStyle=function(){var paren...
maRk view-source2014-02-09

Open the page in the View-source URI scheme for Fx.

(function(n,w,l){if(n.userAgent.toLowerCase().indexOf("firefox")!=-1&&l.hostname.toLowerCase()===...
efcl WhatDateIs.js2014-02-05

Selecting date text

(function(){var selectText=getSelectingText();var parsingDates=chrono.parse(selectText);var dates...

はてなスターページのURIで{domain}.s.hatena.ne.jp/{my}/entriesなページの星の付いていないエントリを...

(function(){var loc=location.href;var pattern=/s\.hatena\.ne\.jp.+\/entries/i;if(!pattern.test(lo...
taizooo Informal Retweet2014-02-04

古典的なフォーマットによって Retweet する( いわゆる非公式 Retweet )

(function(){var tweet_author=location.pathname.split('/')[1];var original_tweet_message=document....
taizooo transg2twit2014-02-04

google translate から tweet

(function(){v=document.getElementById('result_box').textContent+" "+location.href;u='http://twitt...
mino90 MiiverseSS2014-01-31

Miiverseのスクショをとれるようにする

(function(){var s=document.createElement('style');s.setAttribute('type','text/css');s.setAttribut...

start.io のサブメニューを title に表示する

(function(){var n=document.querySelector('.group>a').textContent;document.title=n+" : "+document....

うごキャラクラブではてなスターを追加するボタンが消されるという改悪が行われたのでそれを修正するた...

function urlHenkan(){$("img").each((function(){var url2=$(this).attr('src').replace("http://cdn.b...
<< 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048