How do I remove the Menu Bar?
To remove the Menu Bar (the one with File/Edit/View and so on) open opera6.ini in your main Opera folder and insert the line
Show Menu=0
To access the Menu Bar in future, you can amend menu.ini by adding the line under
[Document popup Menu]
Submenu,”Main menu”,Browser Menu Bar,=
or you can amend input.ini to bring up the Menu Bar with f10
[Application]
F10 = Show popup menu,”Browser Menu Bar”
郭爽注:op8没有这个 input.ini,应该是 keyboard.ini。操作步骤为:把 %programfiles% 中 opeara 的 defaults 目录里的 standard_keyboard.ini,拷贝到 %appdata% opera 的profilekeyboard 目录中,然后修改
from :
http://my.opera.com/community/tips/windows/customizing/013.dml
更多官方 opera 设置技巧:
http://my.opera.com/community/tips/windows/customizing/
这个 opera: 很有意思,还可以这样用?有意思…这个功能用来添加一个自定义按钮,用来关闭文件菜单。
BTW:opera for linux 中文输入很麻烦,拷贝过来都是 unicode,直接书写不能用空格键,只能用回车键选词,还必须多输几个字母才行…但 opera 8 在windows下很不错,中文显示也修改过了,不再是原来那种奇怪的样子,速度也很快…
卡壳了半天,原来firefox必须在web环境中才可以,本机不行。顺便拿本站的歌曲列表做了个例子。原来那个好歌推荐 只对 IE 有作用,一直也没有修改。(自己看源代码,都写在一起了)
var req,oXML;
function loadXMLDoc(url) {
if (window.XMLHttpRequest) {
req = new XMLHttpRequest();
req.onreadystatechange = processReqChange;
req.open("GET", url, true);
req.send(null);
} else if (window.ActiveXObject) {
req = new ActiveXObject("Microsoft.XMLHTTP");
if (req) {
req.onreadystatechange = processReqChange;
req.open("GET", url, true);
req.send(null);
}
}
}
function processReqChange() {
if (req.readyState == 4) {
if (req.status == 200) {
oXML=req.responseXML;
initialSonglist();
} else {
alert("There was a problem retrieving the XML data: " + req.statusText);
}
}
}
function initialSonglist(){
oSongs=oXML.getElementsByTagName("song");
oHTML="";
for(i=0;i oHTML+="
alert(document.all("aaa").innerHTML)
alert(document.all("aaa").textContent)
//注意:document.all 并不是标准用法
HTMLElement.prototype.__defineGetter__
(
"innerText",
function ()
{
var anyString = "";
var childS = this.childNodes;
for(var i=0; i { if(childS[i].nodeType==1) anyString += childS[i].tagName=="BR" ? '
' : childS[i].innerText; else if(childS[i].nodeType==3) anyString += childS[i].nodeValue; } return anyString; } ); alert(document.getElementById("aaa").innerText)
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]