このページは基本的に管理人のための備忘録です。
気が向いたら他の人のためになるようなことも掲載するかもしれません。
管理人による管理人のためのオリジナルボタン集。(下のリンクはOpera専用ですよ)Operaのみリンク化されます。
ちなみに下記の分類は管理人の使用時の配置によるもので、使用時はどこに置いても問題はありません。
Opera Preferences version 2.1
; Do not edit this file while Opera is running
; This file is stored in UTF-8 encoding
[Version]
File Version=2
[Info]
Description=Opera Standard menu setup
Author=Opera Software ASA
Version=1
NAME=Standard
[Link Popup Menu]
Item, "Internet Archive" = Go to page, "http://web.archive.org/web/*/%l"
Item, 67389=Open link
Item, 53018=Open link in new page
Item, 53019=Open link in background page
--------------------1
Item, 54020=Open link in new window
Item, 67633=Open link in background window
--------------------2
Item, 70463=Add link to bookmarks
Item, 50216=Copy link
Item, 50761=Save link
Item, 581357748=Download url
[Bookmarklet]
Item, "ここまで読んだ" = Go to page, "javascript:marker.add();", 1
Item, "擬似ナビゲートロック" = Go to page, "javascript:(function(){var a,i;a=document.getElementsByTagName('a');for(i=0;i<a.length;i++){if(!a.item(i).href.match(/^mailto:|^javascript/i))a.item(i).setAttribute('target','_blank');}})()", 1
; ------------------
Item, "ナビゲートロック解除" = Go to page, "javascript:(function(){var a,i;a=document.getElementsByTagName('a');for(i=0;i<a.length;i++){if(!a.item(i).href.match(/^mailto:|^javascript/i))a.item(i).setAttribute('target','_self');}})()", 1
; ------------------
Item, "訪問済みリンク差別化" = Go to page, "javascript:(function(){var style = document.createElement('style');var head = document.getElementsByTagName('head');style.innerHTML = 'a:visited { text-decoration: line-through !important; }';head[0].appendChild(style);})();"
; ------------------
Item, "標準文字サイズ" = Go to page, "javascript:(function(){var style = document.createElement('style');var head = document.getElementsByTagName('head');style.innerHTML = '* { font-size: 1em !important; }';head[0].appendChild(style);})();"
; ------------------
Item, alltheweb リンク元検索= Go to page,"javascript:(function(){open('http://www.alltheweb.com/search?cat=web&cs=utf8&q=link:'+encodeURIComponent(location.href)+'&_sb_lang=pref')})()"
; ------------------
Item, "BloglinesにFeedを登録" = Go to page, "javascript:location.href='http://www.bloglines.com/sub/'+location.href"
Item, "BloglinesにFeedを登録[new tab]" = Go to page, "javascript:(function(){open('http://www.bloglines.com/sub/'+location.href)})()"
; ------------------
Item, "Firebug Lite" = Go to page, "javascript:(function(){var s=document.createElement('script');s.type='text/javascript';s.src='http://gpages.webos-goodies.jp/firebug.js';document.body.appendChild(s);})();",1
; ------------------
Item, "アンカー作成" = Go to page, "javascript:(function(t,u,s){var h=s?s:t;prompt('','<a href=\x22'+u+'\x22>'+h+'</a>')})(document.title,document.location.href,document.getSelection())",1
[Opera]
Item, "プロファイル" = Execute program, "explorer", "%%appdata%%\opera\Opera9\profile"
Item, "スクリプト" = Execute program, "explorer", "%%appdata%%\opera\Opera9\profile\script"
Item, "スタイル" = Execute program, "explorer", "%%appdata%%\opera\Opera9\profile\styles"
[Charset]
Item, 51750="Set encoding, """
--------------------1
Submenu, 157510, Unicode Encoding Menu
--------------------2
Submenu, 157880, Japanese Encoding Menu
[Document Popup Menu]
Item, "menu.ini" = Execute program, "notepad", "%%appdata%%\Opera\Opera9\profile\menu\standard_menu (1).ini"
Item, "fastforward.ini" = Execute program, "notepad", "%%appdata%%\Opera\Opera9\profile\fastforward.ini"
Item, "user.css" = Execute program, "notepad", "%%appdata%%\Opera\Opera9\profile\styles\user.css"
Item, "Internet Archive" = Go to page, "http://web.archive.org/web/*/%u"
--------------------1
Submenu, "メインメニュー", Browser Menu Bar
--------------------2
Submenu, "Bookmarklet", Bookmarklet
--------------------3
Submenu, "Opera フォルダ", Opera
--------------------
Submenu, "UserCSS", Internal Style List
--------------------4
Submenu, 157500, Charset
--------------------5
Item, 44002=View document source
Item, 70465=Validate frame source
--------------------6
Include, Internal Frame
Include, Internal Document Background
--------------------7
Item, -1745751818=Content block mode on | Content block mode off
Item, 385004252=Edit site preferences
--------------------8
[Hotclick Popup Menu]
Item, 50872=Copy
Item, 67652=Copy to note
Item, "アンカー作成" = Go to page, "javascript:(function(t,u,s){var h=s?s:t;prompt('','<a href=\x22'+u+'\x22>'+h+'</a>')})(document.title,document.location.href,document.getSelection())",1
Item, "引用" = Go to page, "javascript:(function(u,s){prompt('','<q cite=\x22'+u+'\x22>'+s+'</q>')})(document.location.href,document.getSelection())", 1
--------------------1
Item, 65184=Hotclick search, 200
Submenu, 291920, Internal Search With
Item, 65187=Hotclick search, 50
Item, 65188=Hotclick search, 51
--------------------2
Submenu, 291960, Translate menu
--------------------3
Item, 67394="Go to page, "%t""
Item, "選択範囲のソースを表示"="Go to page, "javascript:opera.getSelectionSource()""
[Quick Preferences Menu]
Submenu, "メインメニュー", Browser Menu Bar
--------------------0
Item, 52200=Enable popup windows
Item, 52202=Enable popup windows in background
Item, 67424=Enable requested popup windows
Item, 52201=Disable popup windows
--------------------1
Item, 52203=Enable gif animation | Disable gif animation
Item, 52205=Enable embedded audio | Disable embedded audio
Item, 52206=Enable Java | Disable Java
Item, 52207=Enable plugins | Disable plugins
Item, 52208=Enable javascript | Disable javascript
--------------------2
Item, 52209=Enable cookies | Disable cookies
Item, 52215=Enable referrer logging| Disable referrer logging
Item, 52216=Enable proxy servers | Disable proxy servers
--------------------4
Item, 385004252=Edit site preferences
[Style Menu]
Item, 67445=Select author mode
Item, 67446=Select user mode
--------------------2
Item, -926762484=Manage modes,1
Item, "UserCSSの更新" = Reload stylesheets & Refresh display
--------------------1
Include, Internal Style List
[Tags]
Item, "<span class>" = Cut & Insert, "<span class='njw'>" & Paste & Insert, "</span>"
--------------------1
Item, "<p>" = Cut & Insert, "<p>" & Paste & Insert, "</p>"
Item, "<q>" = Cut & Insert, "<q>" & Paste & Insert, "</q>"
Item, "<del>" = Cut & Insert, "<del>" & Paste & Insert, "</del>"
Item, "<ins>" = Cut & Insert, "<ins>" & Paste & Insert, "</ins>"
Item, "<pre>" = Cut & Insert, "<pre>" & Paste & Insert, "</pre>"
--------------------2
Item, "<li>" = Cut & Insert, "<li>" & Paste & Insert, "</li>"
Item, "<ol>" = Cut & Insert, "<ol>" & Paste & Insert, "</ol>"
Item, "<ul>" = Cut & Insert, "<ul>" & Paste & Insert, "</ul>"
[Hatena Diary Menu]
Item, "強調1"="Cut & Insert,"<strong>" & Paste & Insert,"</strong>""
Item, "強調2"="Cut & Insert,"<em>" & Paste & Insert,"</em>""
Item, "削除部"="Cut & Insert,"<del>" & Paste & Insert,"</del>""
Item, "挿入部"="Cut & Insert,"<ins>" & Paste & Insert,"</ins>""
----------------1
Item, "見出し"="Cut & Insert,"*" & Paste""
Item, "リスト"="Cut & Insert,"-" & Paste""
Item, "数字リスト"="Cut & Insert,"+" & Paste""
----------------2
Item, "引用"="Cut & Insert,">>" & Paste & Insert,"<<""
Item, "脚注"="Cut & Insert,"((" & Paste & Insert,"))""
Item, "キーワード"="Cut & Insert,"[[" & Paste & Insert,"]]"
[Edit Widget Popup Menu]
Submenu, 67653, Edit Widget Insert Menu
Submenu, 67654, Internal Note List
Submenu, "HTML Elements", Tags
Submenu,"はてなダイアリー入力支援", Hatena Diary Menu
--------------------1
Item, 50864=Undo
Item, 68116=Redo
--------------------2
Item, 50865=Cut
Item, 50866=Copy
Item, 50867=Paste
Item, 50868=Delete
--------------------3
Item, 67652=Copy to note
--------------------4
Item, 67655=Clear
Item, 50869=Select all
--------------------5
Item, 69620=Spell check
--------------------6
Item, 1560773594=Create search
Opera Preferences version 2.1 ; Do not edit this file while Opera is running ; This file is stored in UTF-8 encoding [Version] File Version=1 [Info] Description=Opera Standard mouse setup Author=Opera Software ASA Version=1 NAME=Standard [Application] GestureDown, GestureLeft, GestureUp=Focus search field GestureRight, GestureUp=Go to start GestureRight, GestureDown=Go to end GestureLeft, GestureUp, GestureDown=Zoom to, 100 GestureLeft, GestureUp=Zoom in, 10 GestureDown, GestureRight, GestureLeft=Undo GestureLeft=Back GestureLeft shift=Rewind GestureLeft, GestureDown=Rewind GestureRight=Forward | Fast forward GestureRight shift=Fast forward GestureUp=Go to parent directory GestureUp, GestureDown=Reload GestureUp, GestureLeft=Go to parent directory GestureUp, GestureRight=Maximize page, 1 | Restore page, 1 GestureDown, GestureLeft=Hotclick search, 200 GestureDown, GestureRight=Close page, 1 & Switch to previous page GestureDown, GestureLeft, GestureDown=Show preferences GestureDown=Hide opera GestureDown, GestureUp=Open link in background page | Duplicate page FlipBack=Back FlipBack shift=Rewind FlipForward=Forward | Fast forward FlipForward shift=Fast forward Button6=Back Button7=Forward [Tree Widget] GestureLeft=Close all items GestureRight=Open all items FlipBack=Close all items FlipForward=Open all items
今更変更点だけ探して抜き出すのが面倒だからまるごとup
日本語部分以外にも色々弄ってるから丸ごとup
行数多いからリンク先参照
search.ini
基本的に適用して弊害が出たら無効にする方向で
常時適用するCSS
@charset "utf-8";
blink { text-decoration: none !important; }
font[face] { font-family: sans-serif !important; }
em { font-weight: bold; font-style : normal; }
strong { font-size: 120%; }
body,table,caption,th,td,h1,h2,h3,h4,p,div,span,form {
font-family: sans-serif;
}
www.google.com(co.jp) に適用するCSS。元が杜撰な上手入れしてないから他人には非推奨
お供は dokodemo-preview.js がよろし
@charset "utf-8";
/* Google専用CSS */
body[onload][topmargin] {
margin: 0px 0px;
padding: 0px 0px;
background-color: #aabbcc;
}
body > div { margin-left: 0.5em; }
body > noscript + div {
margin-left: 0em;
padding-top: 0.5em;
padding-right: 1em;
width: auto !important;
}
body > div + table {
padding: 0em 1em;
}
body > noscript + div,
body > div + table {
background-color: white;
}
body > div + table {
width: 100% !important;
}
body > div + table + table {
padding-left: 0.5em;
padding-right: 0.5em;
}
table#mbEnd { display: none; }
table#mbEnd + p {
margin-left: 1em !important;
}
div.g {
display: inline-block;
padding: 1em 0.5em;
max-width: 700px;
background-color: white;
border-top: solid 1px #556677;
border-left: solid 1px #556677;
border-right: solid 3px #556677;
border-bottom: solid 4px #556677;
}
div.g td {
width: auto !important
}
div.g > h2 {
padding-left: 0.5em;
}
div.g td.j {
padding-left: 1.2em;
}
div#navbar.n {
margin-left: -3em !important;
}
div#navbar {
padding-top: 1em;
border-top: solid 2px #556677;
}
div#navbar,
center {
margin: 0em 0em !important;
background-color: white;
}
center + center {
padding-top: 1em;
padding-bottom: 1em;
}
過去に使用したデザイン修正用のCSSの詰め合わせ。
@importルールを使って各CSSを組み合わせ、サイト設定で該当サイトにのみ適用するがよろし。
問題発生時に適用するCSS
@charset "utf-8";
/* 物理タグ無効化(割といい加減ver) */
i { font-style : normal !important; }
b { font-weight: normal !important; }
font[size] { font-size: medium !important; }
/* 横スクロールバー回避 */
body {
max-width: 800px !important;
min-width: auto !important;
}
body * {
max-width: 99% !important;
min-width: inherit !important;
}
table { width: 750px !important; }
最近オミトロンに頼って修正とかしてないから使えなくなってるの多そう
/* 汎用広告カット */
a[href*="a8.net"],
a[href*="valueclick"],
a[href*="valuecommerce"],
a[href*="linksynergy.com"],
a[href*="trafficgate.net"],
a[href*="custom-click.net"],
a[href*="accesstrade.net"],
a[href*="webcashing.com"]{
display:none;}
/* infoseekの広告カット */
.isweb,
[href*="http://www.infoseek.co.jp/redirect"],
[src*="http://www.infoseek.co.jp/images/isj00/"],
form[action*="http://www.infoseek.co.jp/Titles"] *,
iframe[src*="http://hpad.www.infoseek.co.jp:80/Fhp"],
iframe[src*="http://hpad.www.infoseek.co.jp:80/Fhp"] + font{
display:none;}
/* aaa!cafeの広告カット */
center>form[action*="aaacafe.ne.jp/jump.php"] *{
display:none;}
/* shinobi.jpのアクセス解析カット */
[src*="shinobi.jp"],
script[src*="shinobi.jp"] + noscript{
display:none;}
/* Geocities */
*[href*="http://www.geocities.jp/js_source/"],
*[src*="http://www.geocities.jp/js_source/"] {
display : none !important; }
/* TOK2 */
#TOK2-SIDE-BANNER {display:none !important;}
/* amazon */
iframe[src*="http://rcm-jp.amazon.co.jp/"] { display:none !important; }
iframe[src*="http://rcm-jp.amazon.co.jp/"]:after {
display: block !important;
content: attr(src);}
/* Google ad */
*[href*="googlesyndication.com"],
*[src*="googlesyndication.com"] {
display: none !important; }
2次配布やら転載とかの問題起こると面倒だからパス付きZIPでうpuserJS
出展元(思い出したものからら順次追加)
その他備忘録。雑学程度の小ネタ。
opera:config#Use Integrated Search のチェックをつけて保存。
opera:config#Use Thumbnails in Tab Tooltips のチェックを外して保存。
opera:config#StrikeThrough を開いて Visited Link の StrikeThrough にチェックを入れて保存。
※ この方法で打ち消し線を入れるより、ユーザースタイルシートにa:visited { text-decoration: line-through; }と記述したほうが切り替えが簡単でいい。この方法を使う場合は常に必ず打ち消し線を表示させたい人にのみ推奨。
opera:config#CompatMode Override の値が、
となる。まあ一般の方にはどうでもいい話。
ただ、常に標準、または互換モードで Web を閲覧しているとおもしろかったりするので一度試すのもいいかもしれない。
opera:config#User Prefs|History Navigation Mode の値が2か3だと早いらしい。
ちなみに、
という具合。各モードの詳細はよくわからん。
詳しくは http://www.opera.com/support/search/view/827/ を参照のこと。
opera:config#SecurityPrefs|OCSPValidateCertificates のチェックを外す。
opera:config#SecurityPrefs|EnableTrustButton のチェックを外す。
ツール > 設定 > 詳細設定 > タブ > タブなしウインドウの表示を許可するにチェック。
Save document As だけだと保存しようとしているドキュメントのタイトルで保存。
Save document As, 1 だとそのドキュメントのファイル名で保存。