ブックマークレットをかんたんに作成・公開できるラボサービス、その名も Hatena::Let を作りました。 http://let.hatelabo.jp/ 未だにブックマークレットを作るときには、アドレスバーに javascritp:... を打ち込んで実行したり、 Firebug で実行して試しつつも外部の bookmarklet 化サービスを使って文字列削ったり、IE対策のため500ちょい文字を超えると gist にファイルを置きつつもおきまりの var script = document.createElement('scrit');... で JS のローダー書いたり、とやりたいことは同じなのにめんどくさい手順を毎回行っていたました。 ここらへんの手順を毎回繰り返すことなくさくっと作って公開したい!と思い id:cho45 と半年ぐらい前の開発合宿*1で作って眠らせていたのを、ち
勉強会とかでプレゼンした後、同じ内容をブログにまとめ直すの、めんどくさいなあ〜と思ったことありません? ブログを書いたら、それがそのままプレゼンになればいいのに…… というわけで。 はてなダイアリーに書いた記事がそのままプレゼンテーションになるブックマークレット(以下「はてP」)を、iVoca のサイトの片隅でお盆休みに こっそり公開。 はてなダイアリーにブックマークレットが貼れたら良かったのだけど。 「はてP」ブックマークレットの紹介ページ 「はてP」ブックマークレットは、はてなダイアリーの記事が、あら不思議! プレゼンテーションに早変わり! というもの。 簡単に動作を説明すると、はてなダイアリーの本文を取り出し、<BR>(=改行2個)で区切ってページを作り、1画面に収まるように文字の大きさを自動調整、カーソルの左右でページを送れるようにしてある。 その他詳しいことは、「はてP」紹介ペー
はじめに Twitter 経由で、読んだ本を紹介しあえるサイト yonda4.com がリリースされましたね! twitterで読書記録。読んだ4! このサイトは @yonda4 に本の名前をつぶやくだけで、本の紹介ページが生成されるという「本格書籍紹介サイト」です! すごいですね!きゃっふきゃふですね! というわけで このサイトに本を紹介しやすくするために、 twitter のページから本を検索するブックマークレットを作ってみました。 javascript:(function(s){s.src="http://amachang.sakura.ne.jp/misc/amazon/search.js";document.body.appendChild(s)})(document.createElement('script')) twitter のホームに行って、このコードをブラウザのロケー
Amazon.co.jp(Amazon.comでも)の商品個別ページのDOMにはwindow.productTagsというオブジェクトがあり、その中にASINをはじめ商品のタイトルや商品画像のURL、著者名(CDとかならアーティスト名)など基本的な情報が格納されている。これを使えば簡単な商品紹介リンクならば外部のサービスを介することなく作成することが出来る。 window.productTagsオブジェクトは商品個別ページにあるタグをつける機能のために用意されているものみたい。Perlクックブック〈VOLUME1〉のページを例にwindow.productTagsオブジェクトを探してみると、 productTags: { asin: "4873112028", image: "http://ec2.images-amazon.com/images/I/51FHW5B8GQL._SL75_P
出力する表を色を背景にしたシンプルな表になるようにした。文字色は明度(ブライトネス)をチェックして明るい色なら黒、暗い色なら白を設定するようにしたので、文字が読めないって事はないと思う。まぁ満足のいくものが出来たのでこれで終わり。 Bookmarklet: List Colors ちょっとすっきりする感じ。 明度差のチェックは、Techniques For Accessibility Evaluation And Repair ToolsのCheckpoint 2.2 - Ensure that foreground and background color combinations provide sufficient contrast when viewed by someone having color deficits or when viewed on a black and w
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く