Displaying posts tagged with Safari.

GlimmerBlocker

Web ads, a controversial subject. While they’re useful for making things free (as in gratis) that would otherwise require payment, many people outright hate them. In general, I have nothing against them. Take Google AdSense for example, those things don’t bother me in the slightest (unless some page has them randomly and prominently littered throughout the main content). It’s these brightly colored, flashy, animated ads that do annoy me.

Until some time ago, I used Safari AdBlock to get rid of those annoying ads. But since Mac OS X Snow Leopard, Safari runs in 64 bits mode. Makes it a lot faster, and also more stable when a plugin crashes (Flash has that tendency sometimes). Safari AdBlock, however, only works when Safari is running in 32 bits mode. I’m not eager to make that sacrifice, so I went looking for something else.

That’s when I found GlimmerBlocker. It’s an open source ad blocker that’s implemented as a local proxy. I’ve been using it for about two weeks now, and it does it’s job quite well. Other than its expected behavior, one hardly notices it’s there.

Apart from ad blocking, GlimmerBlocker offers some bonus features, like throwing unrecognized URL’s (such as a search phrase) entered into the address bar at Google to perform a search, or keyword expansion (i.e. typing “gi something” in the address bar could initiate a Google Image search), that sort of stuff. It also allows pages to be altered arbitrarily, including JavaScript to traverse the DOM, before they’re sent to the browser, and it allows requests to be altered before they’re sent out to the server. It contains multiple filters by default, from not so aggressive to extremely aggressive (potentially breaking sites).

A drawback is that ads that slipped through the filters cannot be blocked directly from within the browser. Filters and rules are maintained from a System Preferences pane. A major advantage is that it works systemwide, for all applications, and even across the local network. When I have my iPhone connected to the local WiFi network, it too can and does use GlimmerBlocker running on my iMac.

After resorting to user CSS files for ad blocking temporarily (which doesn’t work very well), I’m happy that I now have a decent ad blocker again, one that doesn’t oppose any restrictions on the software or device using it. If it can connect through a proxy (I’ve never seen a networked device that can’t) it works.

Just some word-spreading, as the GlimmerBlocker web site asked me to do. ;)

Update (January 12th, 2010)

I did find that GlimmerBlocker uses quite a large amount of memory for what is ultimately merely a proxy server. Consumes about 85 MiB here.

Safari 4 public beta

Well, I’ve used the Safari 4 public beta for a day now. I’m not very impressed with the UI changes. In fact, the tab bar is a shameless rip-off from Google Chrome. The Top Sites feature isn’t exactly original either. Apple should tuck its tail between its legs and go be ashamed of itself. They’re the ones always accusing Microsoft of copying their ideas. :evil:

So, I’ve reverted most of these “enhancements” so my Safari looks like it used to again. The one thing I left intact is Cover Flow. Being able to visually identify pages from the history is actually a very handy feature. Also worth noting is the fact that it will not store thumbnails for secure (https:) web sites. Nor will it allow you to add such sites to the Top Pages screen. So they did actually think about what they were doing. Nice to know that they haven’t lost that touch. :)

The thing I am very impressed about, though, is the new version of WebKit, Safari’s rendering engine. That thing is awesome. It will now actually let you animate any HTML element in a page using only CSS. No JavaScript or Flash required. I’m not talking about animated transitions from one state to the other, which Safari 3 could already do. I’m talking about true keyframe animations here.

Aside from the animations, it can also do pure CSS gradients, anywhere an image could otherwise be used. It also supports alpha masks, reflections, rounded corners, text and box shadows, transformations (scale, rotate, skew, translate) and more fancy stuff. It’s a shame a lot of these features don’t work in more browsers, because with some creativity, they would allow the most fantastic things to be created. Another nice feature is that it also allows SVG images to be actually used as images in CSS as well as <img> tags.

The new Web Inspector and JavaScript debugger/profiler are also very sweet. It’s a pity that it doesn’t seem to dynamically update its DOM tree view as it changes. That means I’ll probably keep using Firebug for web debugging. Its Resources view is very useful though. It uses colors to differentiate between file types, and it also shows latency in addition to the actual file transfer times.

To sum up, now that I’ve tamed it down somewhat, I’m pretty pleased with Safari 4. Can’t wait to see what the final version will be like.