Greasemonkey, JavaScript今、Greasemonkeyのソースを読んでる。実際にどうやってuser scriptを実装させているかの辺りを読んだ。しかし、物凄い量のグローバル関数だ...."GM_"と接頭辞が付いたものは、まぁ許そう。しかし、Config関数(というかクラス?)は止... 続きを読む
Greasemonkeyのスクリプトで、 function callback(data) { ... } (function() { var script = document.createElement('script'); script.type = 'text/javascript'; script.src = ' http://foo.com/bar.json?callback=callback'; document.b... 続きを読む
ldr, greasemonkey昨日作ったフィードのタイトルに"※※※※※"が含まれるエントリを除外するグリモンを汎用的な作りにした。これで、広告エントリとか見たくないエントリを除外することができる。使用例除外されたエントリは一覧の最後に疑似エントリとしてま... 続きを読む
greasemonkey, ldrMOONGIFT MOONGIFTプレミアムについて オープンソース・ソフトウェア/フリーウェアを毎日紹介MOONGIFT のフィードに大量の伏せ字エントリが混入してて目障りだったのでグリモン書いた。タイトルに伏せ字("※※※※※※")が含まれるエントリを... 続きを読む
ldr_relative_rate http://yagi.xrea.jp/2007/11/ldr_relative_rate.user.js Use Markdown format. Paragraph Text before empty line become a paragraph. Emphasis Wrap the part to be emphasized with "*". Code Wrap the part to be emphasized with "*". ... 続きを読む
次のような例を考えてみる。 webページを見ていて、ページ内のリンクを辿って他のページへ遷移する マウスの場合 マウスをリンクの上に持って行く マウスカーソルの形が変わることを確認する(変わらないかも知れないが) クリックするタッチパネルのインターフ... 続きを読む
ブラウザで,リンクとかボタンとかをクリックするときに,マウスカーソルをリンクの上まで持っていくのがめんどうで,困ってた.なにもないところでクリックしたときは,勝手に近くのクリックできそうな要素をクリックしてくれればよいと思ったので,Greasemonk... 続きを読む
Scriptish Beta! A New Greasemonkey - Erik Vold’s BlogScriptish :: Add-ons for FirefoxHome - scriptish - GitHubついにというべきか何というべきか、Greasemonkeyのフォーク版が登場した。因みに対象は Firefox 4.0beta5 〜 4.0beta7 彼曰く、Greasemonke... 続きを読む
PBTweet+ By trauma2u — Last update Jan 18, 2010 — Installed 173 times. === Summary === - Twitter Client For Web - Enrich Your Twitter Web === Author === - Original by @t_trace's 'PBTweet' - Improved and Coded by @trauma2u === Features === -... 続きを読む
ldR: Go prev/next feed with wheel By hail2u — Last update Nov 19, 2009 — Installed 33 times. About Source Code Reviews 0 Discussions 0 Fans 1 Issues Share // ==UserScript== // @name ldR: Go prev/next feed with wheel // @namespace http://hai... 続きを読む
Greasemonkey, JavaScript | 17:15 | 先日, API Checkすごいよとか書いといてなんですが, これ, つまりは発生由来がweb上のscriptかどうかをcheckしているので, 例えば, いままでLDR上で書いていた var win = unsafeWindow; win.Keybind.add('J', function(){ v... 続きを読む
Google検索の上位に表示されているページが元ページへのリンクを貼っただけのサイトでイラッとしたのでグリモン書いた - 今日もスミマセン。深江直人(カッペ)さんのサイトは邪魔だよね、という話 - 隠れん坊将軍の隠れ蓑常日頃からウザいと思ってました。 いや... 続きを読む
JavaScript, Greasemonkey | 22:13 | なんか解説を待たれていたらしいので, Twitter上だけでなく, 詳しく.該当記事はこれ.http://www.greasespot.net/2009/09/greasemonkey-082-released.html * Do not inject scripts into file: and about: URLs by default, ... 続きを読む
This gist is private. All pages are served over SSL and all pushing and pulling is done over SSH. No one may fork, clone, or view it unless they are given this private URL. Every gist with this icon () is private. This gist is public. Anyone ... 続きを読む
AutoPagerize昔から使われている方法から順番に見ていきます。ページの高さの監視setIntervalでページの高さを監視して、増えていたらAutoPagerizeが動いたとみなして処理を行う var THRESHOLD = 300; var _height = window.innerHeight; setInterval(function(... 続きを読む
hey, thanks for the useful script. however, there's one thing i hope to change in this script. in the recorded web history, the title of the link is NOT the title of the webpage. for example, i visited yahoo news, the page title is "Raul Cast... 続きを読む
In some organization, like my company, has a proxy between intranet and internet. the proxy checks sites you access, blocks these accesses if a domain is in its black list, and then reports to your boss. This script replaces hyperlinks to spe... 続きを読む
さくらです♡こんばんわ☆彡 今日はグリモンスクリプトから対象のウェブページに設定されたイベントハンドラを呼び出す方法を簡単にご紹介したいと思います。 例えば以下のような HTML をグリモンの処理対象とした場合、 <a href="http://www.example.com" id="... 続きを読む
htmlDoc(GM_xmlhttpRequestで取得したソースを元に作成したDocumentオブジェクト), this.requestURL (次のページとして取得したURL), this.info (使用しているSITEINFO) 続きを読む
greasemonkey, javascriptはてブ関連のGreasemonkeyスクリプトを見てみると、そのほとんどに自前のポスト機構があります一番オーソドックスな方法にはてなブックマークAtomAPIとは - はてなダイアリーを使う方法がありますが、これを使うのが結構やっかい認証に... 続きを読む
元ネタ Greasemonkeyに、はてブポスト機構を追加するGreasemonkeyスクリプト http://d.hatena.ne.jp/nastack/20080610/1213100873 はてなダイアリー版が有れば結構便利そうなので、作成してみた。 単体では特に意味はないGreasemonkeyなので、他のGreasemonkey... 続きを読む
「どのブラウザ向けに作られたのか」を目安にGreasemonkeyとUserJSでまとめていますが、各項目ごとにも対応しているか否かを書いております。 日記に書かれているだけのスクリプトをインストールするには、以下のGreasemonkeyを利用すると便利です。 そのへんに... 続きを読む
This gist is private. All pages are served over SSL and all pushing and pulling is done over SSH. No one may fork, clone, or view it unless they are given this private URL. Every gist with this icon () is private. This gist is public. Anyone ... 続きを読む
This gist is private. All pages are served over SSL and all pushing and pulling is done over SSH. No one may fork, clone, or view it unless they are given this private URL. Every gist with this icon () is private. This gist is public. Anyone ... 続きを読む
javascriptno title有害っぽいサイトにアクセスすると、のようにぼかしをかけて見えなくする。未成年の僕は是非入れるといいですね。インストールするとWebサイトを見るたび「調べる」ウェブサイトのカテゴリ登録を確認|ネットスター株式会社にアクセスするの... 続きを読む
Greasemonkey, .jsGreasemonkey チュートリアル読書会 (Kanasan.JS) Kanasan.JS : JavaScript Workshop in Kansai (at Lingr) > Archives > February 22, 2009 一時間ほど遅刻…。「参加者ブログ一覧」は止めたのかな。 Dive Into Greasemonkey古すぎて鵜呑みに... 続きを読む
What is Trixie? Trixie is to Internet Explorer as Greasemonkey is to Firefox. It lets you remix the Web via scripts. You may do this to either make it more readable, fix bugs or to even add little features to make the site more usable to yo... 続きを読む
D-Pagerize 分散型AutoPagerize。Firefox3+Greasemonkey0.8で動作。 SITEINFOはXMLで記述され、rel-siteinfoを指定したHTMLファイルからインポートされます。 SITEINFOを書く際の注意 XPath式を書く際は text/htmlで配信されているページには名前空間接頭辞を指... 続きを読む
It’s been a while since I’ve posted anything. I’ve been swamped with life and work. As a result, I’ve tried to get more organized by applying GTD techniques to my day (even though I haven’t read David Allen’s book yet). One thing I’m b... 続きを読む
https://addons.mozilla.org/ja/firefox/addon/6777 http://www.ieaddons.com/jp/accelerators/ // ==UserScript== // @name fake IE8 // @namespace http://ma.la/ // @include http://www.ieaddons.com/* // ==/UserScript== location.href="javascript:nitob... 続きを読む
MDC ja のリンクで en なページも表示する GM 12:44 | まだ ja のほうには作られてないページで en にはあるページにすぐ飛びたかったので作った。あと en の方の情報を参照したいことも多々あるのでそれらへんも全部。 http://gist.github.com/57286.txt?.user... 続きを読む
Greasemonkey, JavaScript | 22:43 | 20080406 21:50 キーコードについての説明を追記しました。Greasemonkeyを使ってる人ならたいていの人が知ってるMinibufferとLDRize(偏見?)ただ、なんというかMinibufferについての説明がMinibuffer 2007.11.15 の変更点 ... 続きを読む
dev, JavaScript, Firefox, Greasemonkeyhttp://d.hatena.ne.jp/janus_wel/20090105/1231172789 でどうにかならないかと言ってた unsafeWindow 内から GM_xmlhttpRequest を使う方法なんだけど、 http://wiki.greasespot.net/0.7.20080121.0_compatibility の最... 続きを読む
本, livedoor Reader, Pipes, GreasemonkeyYahoo! Pipes、livedoor Reader、Greasemonkeyを使った、新刊情報の収集テクニックを晒してみます。日々の新刊データを収集したい拙作のリリースチェッカーでは、指定のキーワードに合致する新刊情報がRSSフィードで収... 続きを読む
そのうち設定インターフェースができるんじゃないかと思いますが、待ちきれない方はGreasemonkeyスクリプトでカスタマイズできます。 Google readerみたいにj/kだけで全部読みたいControl.go_nextに次のエントリまたは次のフィード、という機能を当ててます。 h... 続きを読む
Greasemonkey, LDR, LDRFullFeed | 22:56 | 「z」で本文を取得するGoogle Reader用Greasemonkeyスクリプト - F.Ko-Jiの「一秒後は未来」がとても便利で、livedoor ReaderでもXPathで本文箇所を指定したいと思ったので「g」で本文を取得するLDR用Greasemonkey Sc... 続きを読む
痒いところに手が届くGreasemonkey 愛用のRSSリーダーlivedoor Readerはそのままでも十分使いやすいのですが(個人的にピン機能が1番便利)痒いところに手が届くように便利な機能を追加できるGreasemonkeyスクリプトがたくさん公開されています。 最近もかなり便... 続きを読む
tumblrにはdashboardというインターフェースが用意されていて、そこからfollowしているtumblrを見ることができます。が、あれは「tumblrのイマ!」を見るものと思っているのでほとんどはRSSリーダから見ているid:hogelogです。おはようございます。というわけで... 続きを読む
つまらんと感じたら q でレート--、面白いと感じたら w でレート++。ちょうナチュラル!http://yagi.xrea.jp/2007/11/ldr_relative_rate.user.js ごたくlivedoor Readerは本当に素晴らしいんだけど、レート周りの運用は悩みのタネでした。「最近レート4が増え... 続きを読む
Greasemonkey, JavaScriptfeed の少ないこの時期に feed reader まわりをいじろうと思ってまずは前々から気になっていた LDR Full Feed を試してみた。http://d.hatena.ne.jp/Constellation/20080212/1202824589http://userscripts.org/scripts/show/22702全文... 続きを読む
これはなに? あなたの開発したGreasemonkeyスクリプト(ぐりもん)に、簡単に自動更新機能を付けるためのライブラリです。 Greasemonkey-0.8以降で使える@requireで読み込んで、呼び出しスクリプトを記述するだけで冒頭のイメージのように自動更新機能を付ける... 続きを読む
少し前にFirefox3 beta1がリリースされたものの、いろいろ拡張機能が動かないから使えないもんねーと思ってスルーしていたけれど、ちょっと移行してみようかと試してみたら、まずGreasemonkeyがFirefox3に対応していませんでした... が、検索してみるとGreasemo... 続きを読む
JavaScript, Greasemonkey有るようで無かった、はてな記法をアシストするGreasemonkey用のスクリプトを作ってみました。IDEのコードアシスト依存症の方をターゲットにしています...って俺の事かい!Webの入力画面でコードアシストってどうよ?って前々から考え... 続きを読む
Greasemonkeyの過去においてのセキュリティ上の問題の解説。Greasemonkeyだけに限らず、JavaScriptによるユーザ拡張を作成している全ての方に対して一読の価値があるドキュメントだと思われます。原文:O’Reilly Network -- Avoid Common Pitfalls in Greasemo... 続きを読む
Tag: script firefox greasemonkey javascript 最終更新日: 2008-01-17 概要 * LivedoorReaderやFastLadderのようなショートカットキーを色々な場所で利用可能にするGreasemonkeyです http://userscripts.org/scripts/show/11562 Minibufferに依存しているので... 続きを読む