TL;DR: Prepend "about:reader?url=" to any website URL to force reader view in Firefox I'm in love with Firefox' reader view. It not only removes ads, nag-screens, subscription prompts and other clutter from articles but it's typographical choices often are better than the (well-intended) choices of the author. I also value the consistent look and feel … Continue reading Force-enabling Firefox’ reader view
Show and hide pages and page elements with declarative CSS instead of imperative code
A quick note to myself the next time I stumble over this: when you instruct Blogger to map the blog to a 3rd party (custom) domain it basically instructs you to add three entries to your domain's zone file: 1. a mapping from the domain to ghs.google.com 2. a mapping from some weird subdomain you'll … Continue reading Using Blogger with a custom domain: the zonefile dot problem
Resizing a window in Unity/Ubuntu 12.04 is quite a pain as one needs to target the 1 pixel border of the lower right corner. Fortunately the width can be increased: Edit /usr/share/themes/Ambiance/metacity-1/metacity-theme-1.xml and increase the widths, i.e.: <distance name="left_width" value="8"/> <distance name="right_width" value="8"/> <distance name="bottom_height" value="8"/> Log out and in again.
Disabling clicks on a webpage should be easy: put a div in front of it with a fixed position which should get all clicks. With IE that is not easy because a completely transparent element will forward clicks to the underlying element. Some solutions I found: Alpha filter with background Adding these CSS properties (IE8 … Continue reading Internet Explorer: Disabling clicks on a page
The port of Super Star Trek  to an HTML 5 mobile app involves some times dealing with the fact that the app does not have full control over the device but runs inside a browser. One of the restrictions thus applied is the omnipresent address bar in the browser. For many applications that is … Continue reading Hiding the address bar in mobile browsers
In older Ubuntu releases one could change the sub-pixel rendering in the system settings, but that option was unfortunately removed in newer releases. Fortunately it is still accessible via gnome settings : Open dconf-editor In the left pane, go to /org/gnome/settings-daemon/plugins/xsettings In the right pane, change the value of the rgba-order key to bgr: or … Continue reading Changing sub-pixel rendering in Ubuntu 12.04
Noteworthy as Unity's turn away from the desktop towards the launcher might be, I'm an old dog and like my screen crowded. The (manual) way to create a new desktop shortcut icon to an application is to create a shortcut file in the Desktop directory, i.e: /home/george/Desktop/Firefox8.desktop And the contents: [Desktop Entry] Encoding=UTF-8 Version=1.0 Name=Firefox … Continue reading Shortcut icons on Unity desktop