May
20Internet ExplorerやFirefoxではこれまでプラグインなどでGoogleページランクは表示できましたが、Sleipnirのブラウザーも、それぞれのタブに、Googleページランクを数字で表示させることが可能になりました。
まず、Sleipnirの公式サイトのプラグインページに行き、「SeaHorse」というプラグインを設置します。設置といってもクリックして自動でインストールされます。
http://www.fenrir.co.jp/sleipnir/plugins/
次に、以下のスレの投稿3番目にある「Sleipnir用GooglePageRank表示」と書かれた
http://lukewarm.s151.xrea.com/b/file/1149783578_12.zip
をダウンロードして解凍し、ファイル名を「GooglePageRank.js」から
「GooglePageRank.user.js」に変更します。
そのファイルを、以下のフォルダにコピーして、Sleipnirを再起動すればOKです。
C:\Program Files\Fenrir & Co\Sleipnir\plugins\seahorse
タブの先頭に[R3]とか[R1]と表示されます。
補足:
ページランクを取得できないページは[Rundefined]と表示され長いのと
私は[]が要らない(仕切りは|だけ)のでGooglePageRank.user.jsを
若干修正しました。
「GooglePageRank.user.js」をエディターで開き、7行目辺りのIF文を
if(_document.title.indexOf(”[R”)!=0){
while(_window.busy){
sleipnir.Sleep(10);
}
if(_document.title.indexOf(”[R”)!=0){
var t=_document.title;
var pr=getPageRank(_document.location.href);
if(_document.title.indexOf(”[R”)!=0){
_document.title=”[R”+pr+”]”+t;
}
}
}
から
if(_document.title.indexOf(”R”)!=0){
while(_window.busy){
sleipnir.Sleep(10);
}
if(_document.title.indexOf(”R”)!=0){
var t=_document.title;
var pr=getPageRank(_document.location.href);
if(pr == null){
_document.title=”R”+”|”+t;
}else{
_document.title=”R”+pr+”|”+t;
}
}
}
に変更しました。結果

*************************************************
なゆたビジョン 無料便利Webサービスサイト
なゆたビジョンは無料で便利なWebサービスサイトとして
FlashやCGIやPHPなどで作ったお役立ちコンテンツや
素材集などを紹介します。
*************************************************
Popularity: 23 % [?]



