The new security panel for Chrome/Chromium from v48

Google announced the new security panel for Chrome from v48 in Chrome’s DevTools, this feature can help users easily know the security information for every network connection/request in a certain website, including the certificate info, now it’s been easier to debug what’s the reason why a website didn’t get a green lock on the url bar(A website using https with enough strengh will have a green lock icon).

Screenshots as example (using my blog):




Security Panel debuts in Chrome DevTools

Introducing the Security Panel in DevTools – Chromium Blog

Mute certain tab in Google Chrome/Chromium

Open chrome://flags/#enable-tab-audio-muting and enable “Enable tab audio muting UI control” option, then restart your browser.

Now we can have mute option on each tab:

After that, there will be a muted icon on the tab, and if you want to unmute it, there is also an unmute option in the menu of the tab.

Very useful when surfing to some noisy websites!

BTW , the demo screenshots came from the trailer of Transcendence, a very very awesome movie!

Flush local dns cache on browser and system

Browser(application) level:

For Google Chrome/Chromium, open the link below:
and click “Clear host cache

For Firefox, open the link below:
and click “I’ll be careful, I promise!“,
and find network.dnsCacheExpiration, set its value to 0 (create one if it didn’t exist).
Now the cache should be flushed, and set network.dnsCacheExpiration back to 3600, or you the cache will not work at all.

Operating system level:

ipconfig /flushdns

Depends on the dns service:
sudo /etc/init.d/dns-clean restart
sudo /etc/init.d/nscd restart
sudo /etc/init.d/dnsmasq restart
/etc/init.d/named restart

Mac OS X(after 10.5):
dscacheutil -flushcache

Build Chromium OS from source [notes]

Environment: Ubuntu server 14.04.2 LTS x86_64 with Xeon E3-1230 V2 and 8G ram

Reference: Chromium OS Quick Start Guide

Step by step:

Install the necessary packages:

Install depot_tools:

Add depot_tools to your PATH:

Tweak sudoers config:

Create directory for chromiumos:

Get the source code:

Create(and enter) a chroot(still in the directory for chromiumos):

Choose a board you want to build for, from ~/trunk/src/overlays, and export it to environment:

(I selected amd64 arch)
Setup board:

Setup password:

(if you want to config kernel, you can try to configure it now, via ~/trunk/src/third_party/kernel/v3.4/chromeos/scripts/kernelconfig, place v3.4 with your kernel version here)
Build packages:

Build image(we are almost there):

Copy image to a usb drive:

or copy to file:

or create a imgage for virtual machine
(default for kvm, for other vm you can pass parameters –format=vmware or –format=virtualbox):

(image will be here : ~/trunk/src/build/images/${BOARD}/latest/)

If you copy image to a file, you can use dd to write to a usb disk like this:

And then you can boot a computer via this usb disk now.

If you got kernel panic, you may need to press Esc and try this command to boot

, X may be a~e

If you want to install Chromium OS to your hard disk, try this command when your usb disk boot up:

, PS, it’ll wipe your disk!!!

Don’t know what’s the reason why it’ll keep getting deadly segment fault and hang, but it works on my acer Aspire one D150, a super old notebook, the performance is not so good, and I don’t know how to remap the keyboard on it(there are 3 broken keys orz …), so I just quit, ha!

Only 2 screenshots this time … took by my low-end phone.


Google終於出手了, Chrome被綁架的救星? Software removal tool (beta)

Google終於看不下去瀏覽器被綁架的亂象了? 最近推出了 Software removal tool (beta),貌似是用來移除Chrome上面各種有害軟體的工具,既然是Google親自出馬,想必很有看頭?

之前筆記了一篇 “電腦好人必備之清除瀏覽器綁架及廣告軟體“,沒想到前陣子遇到一台被綁架到用了Junkware Removal Tool + AdwCleaner + avast! Browser Cleanup 都還是對付不了的怪物,看來要拿Google的工具出馬了,也許真的是Chrome被綁架的救星啊 …