Skip to main content

Posts

Showing posts with the label firefox

Remove Hidden Fedora Bookmarks in Firefox

My current daily driver is Fedora Silverblue combined with Firefox. It’s a fantastic setup, but there’s a catch: Fedora websites kept showing up in my address bar suggestions. For example, if I typed “get”, Firefox would immediately suggest “getfedora.com.” It was quite annoying and surprisingly difficult to remove. Today, I finally decided to fix it once and for all. My first thought was to simply remove the fedora-bookmarks package, which introduces these bookmarks in the first place. However, the suggestions were still there! After exploring the Firefox settings, I realized these autocomplete suggestions were coming from saved bookmarks. But I don’t have those bookmarks! By checking the Firefox Browser Console (not the web developer console) and using PlacesUtils , I verified that there were still many hidden bookmarks pointing to Fedora websites. Interestingly, these bookmarks were tagged. While the tags themselves were visible in the standard Firefox bookmark manager, the act...

杂记 20120107 | Misc Notes 20120107

1. 让c#程序崩溃时的堆栈信息显示行号: 把相应的pdb文件放到同一目录 2. Ubuntu 莫名启动慢,硬盘无反应 我的原因是这个 https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/839595 需要在 /etc/network/interfaces 文件中删除 "auto eth0" 3 .Firefox 词典插件推荐 Dictionary Tooltip。配合我常用的dict.cn效果不错 参数 site url: http://dict.cn/mini.php?q=$$ scroll to element: word-key 4. Firefox 显示 MathML 最好安装 STIX 字体, 另推荐安装 Asana 字体 5. gnome-raw-thumbnailer 不能给 Nautilus 正确创建缩略图: 根据 https://bugs.launchpad.net/ubuntu/+source/gnome-raw-thumbnailer/+bug/852923 添加/修改文件 /usr/share/thumbnailers/raw.thumbnailer 为 [Thumbnailer Entry] Exec=/usr/bin/gnome-raw-thumbnailer -s %s %u %o MimeType=image/x-canon-cr2; 按自己需要另添加 MimeType 进去 6.GMail 的 Preview Pane 右边阅读区域过于狭窄 在AdBlock里添加规则 mail.google.com##.Bu:last-child 推荐使用 Element Hiding Helper 1. To show line numbers in the backtrace when a C# program crashes: put the corresponding pdb file into the same directory. 2. Ubuntu starts very slow, and seems that it's not working, but simply waiting M...

杂记 | Misc Notes

1. fontregister: Windows 下没有管理员权限时安装字体的小工具 2. 在Windows下Putty用Linux字体时可能需要选上Cleartype选项 3. x11vnc: 可以在终端开一个vnc server连接到一个已有的X会话上去 4. pomodoro: 工作25分钟,休息5分钟。一个有趣的工作模式 5. network-manager的共享网络模式(shared to other computers)似乎变的好用了(以前我这完全不能用) 6. Firefox添加书签时没有“在边栏显示”的选项,但是去书签管理看属性还是有的。 1. fontregister: a tool that allows you to register new fonts in Windows without admin privilege. 2. In putty on Windows, you may need to choose the "Cleartype" option when using Linux fonts 3. x11vnc: to create a vnc server that connects to a existing X session 4. pomodoro: work for 25 minutes, then rest for 5 minutes. A good way of time managing. 5. The "shared to other computers" mode in network-manager works well now. 6. In recent Firefox, there's no "load this bookmark in the sidebar" option when you add a new bookmark. However you can still find it, by checking the properties of an existing bookmark in the bookmark manager.

杂记 | Misc Notes

1. Firefox 全屏时显示地址栏和标签栏,设置browser.fullscreen.autohide=false 2. 禁用一个upstart的服务: echo "manual" >> xxx.conf,natty的upstart版本支持了override文件,于是可以 echo "manual" >> xxx.override 3. bootchart小工具可以分析开机时各程序启动,资源占用等情况,另有pybootchartgui可以将结果转换成图片查看 4. colortest 用于测试终端对颜色支持情况 5. synapse 一个 gnome-do 替代品,不依赖mono,重启compiz也不会崩溃 6. vimperator 最近又用了一下,比以往好了很多,装上以后多了各种快捷键,同时也不影响原来的界面。对gmail和google reader有冲突,之需要按一下ctrl+z 7. solarized 一个很不错的颜色主题,可以用于vim mutt terminal等等,很不错。也有对gnome-teriminal的移植,但是我这里显示效果不是很好 8. Terminus 一个很不错的终端字体,适用于小字号 1. To show the location bar and tab bar when Firefox is in fullscreen mode, set browser.fullscreen.autohide=false 2. To disable an upstart service: echo "manual" >> xxx.conf. Staring from Natty, upstart has supported the override files, so we may use: echo "manual" >> xxx.override 3. bootchart is a small tool to visualize the performance (of programs, resources) in the boot process, and pybootchartgui is availabl...

利用Firefox订阅私人RSS feed | Subscribing private RSS feeds using Firefox

最近想订阅一个RSS feed,然而由于权限设置,需要登录才能拿到内容,未登录的情况下feed url会报错。 这种情况下Google Reader就不好使了,即便可以,总不能把我的用户名密码给它吧。 Google许久无果,最后想到了用Firefox自己订这个feed,因为Firefox里有我的Coookie。 于是成功了。 Now I'd like to subscribe a private RSS feed, where login is necessary, you won't see anything from the feed url without login. In such a situation Google Reader won't work, even if possible, I don't want to reveal my username/password to it. After wasting several minutes in Googling, I came up with an idea, that to subscribe the feed using Firefox, as it's holding my Cookies. Then of course I succeeded.

Firefox 强制显示书签工具栏内容 | Force displaying bookmark item in Firefox toolbars

最近用Firefox订了一个feed,想把它显示出来,然而又不想为此浪费一行显示书签工具栏,于是把bookmark toolbar item拖到了地址栏尾部。 然而这个item是会自动收缩的,于是浪费了一段空白,而且我的feed需要展开才能看。 解决方法,利用stylish #bookmarksBarContent .bookmark-item { visibility: visible !important; } 即可。 Recently I've subscribed a live feed using Firefox, I want it being displayed in my browser all the time, but I don't like the bookmark toolbar which wastes the entire line space. Therefore I drag the bookmark toolbar item to the end of the location bar. However, that item will automatically collapse, resulting in that there's just a blank area, with an expand button, I have to view the item after expand the item, so stupid. The solution is, by stylish: #bookmarksBarContent .bookmark-item { visibility: visible !important; } works like a charm.

Firefox 隐藏 Menu Bar

由于我一直用Firefox 3.7 nightly,很多插件都不支持了 另外我的笔记本是宽屏,Menu Bar占一行还是蛮浪费的,于是决定干掉它 多方google后,得到解法 修改userChrome.js或者利用stylish创建脚本 #toolbar-menubar{ margin-top: -25px !important; opacity: 0 !important; } 当然也可以用display:none,但是那样的话菜单是真正消失了,现在的方法按快捷键还是能用的。

Firefox 与 Apparmor

Ubuntu 9.10 前一阵子突然发现firefox-3.5不能下载了,浏览器,downthemall都不行。并且似乎不是下载目录权限问题。 不知google知:https://bugs.launchpad.net/ubuntu/+source/firefox-3.5/+bug/433362/+index#true 原因是firefox-3.5这个包带了一个apparmor的规则,阻止了firefox对一般目录的访问。 临时解决办法是 sudo ln -s /etc/apparmor.d/usr.bin.firefox-3.5 /etc/apparmor.d/disable/usr.bin.firefox-3.5 禁掉这个规则

软件推荐: Cooliris

Cooliris 是个 Firefox 的插件, 主要特色是以3D Wall的形式观看图片,支持RSS, 以及Google,Flickr等搜索。 我稍微用了一下,惊呼“太爽啦”。 地址: https://addons.mozilla.org/en-US/firefox/addon/5579

赞xulplanet的XPCOM文档

文档中有如下提示 This interface is the type of the following properties: This interface is passed as an argument to the following methods: This interface is returned from the following methods: 比如我想看nsIDOMDocument怎么创建,但是它没有构造函数 在 http://www.xulplanet.com/references/xpcomref/ifaces/nsIDOMDocument.html 中可以发现它是一些函数的返回类型。于是轻松找到nsIDOMParser.parseFromString等函数。 不想Javadoc,有时一见接口和抽象类就傻了眼。 当然了这涉及到语言的架构,二者还是不能这么比的。 但是还是要称赞这个文档: 这才是给人看的文档!

ScribeFire: 发布Blog的Firefox插件

其实以前就知道这个,只是那时blogspot没有解封,似乎这个插件不工作。 现在工作正常了,这一篇和上一篇都是用它发布的,还不错。美中不足是tag要自己指定,不能选。 这个其实也不怪它。我查了查Google的Blogger data API,似乎没有查询所有category的接口。 用这个的确方便了不少。

firefox 拼写检查导致崩溃

最近更新了一下,然后firefox就不正常了,gmail里写不了邮件。 看控制台消息,报 /usr/lib/firefox/firefox-bin: symbol lookup error: /usr/lib/firefox/components/libmyspell.so: undefined symbol: _ZN8Hunspell5spellEPKc 之后在 https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/107340 找到了问题原因,是拼写检查模块libhunspell的问题,解决办法为禁掉firefox的拼写检查(about:config然后设置layout.spellcheckDefault=0),或者把libhunspell降级(我这是1.1.5,据说1.1.4就没问题)

firefox 中 设置 ed2k与amule的关联

参考: http://forum.ubuntu.org.cn/weblog.php?w=646&previous=10 安装 amule-utils包 然后在firefox中利用about:config添加如下两项 新建一个Boolean,名字为network.protocol-handler.external.ed2k,值为true 新建一个String,名字为network.protocol-handler.app.ed2k,值为/usr/bin/ed2k

[转] Firefox 加速技巧

转载请注明出处: www.NiDaYe.orG ,谢谢 作者:Roby Liang 很早很早以前曾经写过一篇“ Firefox 终极加速 ”的文章,可以通过手动修改 user.js 文件来获取理论上的最佳浏览速度,后来发现这种修改方式对于普通用户来说真的有点勉为其难,而且国内的网络环境并不尽如人意,我们所做的 js 优化修改在臃堵的网路上显得那么渺小与无助。 不过聊胜于无,让我们暂且先把这些复杂的优化操作变的简单一点,然后再来亲自感觉一下这些已经在网络上流传了很久的提速技巧吧。下面的操作我们都在 about:config 里进行。在 Firefox 的地址栏中输入 about:config,让我们开始提速吧。 network.http.pipelining 在 Filter 中输入 network.http.pipelining,双击赋值为 true,默认为 false。如果没有找到这个键值,可以右键新建一个 Boolean,把她赋值为 true 就 OK 了。 还 是像我在从前解释过的那样,激活这个键值之后,Pipelining 同时发出成倍数的连接请求,从而达到提升连接速度的效果。网络上的大多数网站都是基于 HTTP 协议,而 HTTP 1.1 可以支持多线程的连接请求,通过这个操作可以减少 Firefox 载入网页的时间。不过并不是所有网页所在的服务器都支持这种操作,所以当你修改键值之后却看不到一点实际效果的时候,请不要对我破口大骂。 network.http.pipelining.maxrequests 在 Filter 中输入 network.http.pipelining.maxrequests,双击并赋值为 8,默认键值为 4。 network.http.proxy.pipelining 在 Filter 中输入 network.http.proxy.pipelining,双击并赋值为 true。 这两条优化的道理同上,这里就不再多解释了。 network.dns.disableIPv6 在 Filter 中输入 network.dns.disableIPv6,双击并赋值为 true。 IPv6 把 IP 地址由 32 位增加到 128 位,从而能够支持更大的地址空间,当用户在终端向一个 IPv6-capable DNS 服务器发送连接请求时...

firefox 中文包

给家里电脑装了个Firefox,但是是英文版的,老妈说如果不是中文就不用。于是我去找中文包 官方页面上竟然找不到,google下发现了个ftp ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/ / /xpi/zh-CN.xpi 如: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.1/win32/xpi/zh-CN.xpi 顺便说一下,在这个ftp上转了转,还挺不错,mozilla的软件和插件应有尽有,相见恨晚啊。