Re-assign search.ini search engine section numbers automatically w/ sed or awk

If you, like me, have a soft spot for tweaking search.ini using a plain text editor to customize that file to suite your personal needs in terms of searching, then you certainly came across the time consuming and unpleasant necessity to re-assign consecutive numbers to the search engines' .ini sections.

If you have the *nixish stream editor sed at hand (it is also available as pre-compiled windows binaries), then you can use the attached sed-script to automate the process of giving numbers to search engines. …

Continue reading “Re-assign search.ini search engine section numbers automatically w/ sed or awk”

”Recover“ localStorage and Widgets’ settings for Next 12.00 builds 1317|1325

This script was solely interesting together with builds Opera Next v12.00 1317 and 1325, not earlier or later builds!

If you install Opera 12.00 Next builds 1317 and 1325 over earlier 12.00 Next builds, due to bug DSK-358417 you lose any localStorage data as well as all individual Widgets setting (widgets.storage).

This happens, because formerly mentioned builds expect this data in the ”local“ part of an Opera profile, not in the ”roaming“ (as it is called in Windows Vista). You can fix this by moving the old data to the new location.

Continue reading “”Recover“ localStorage and Widgets’ settings for Next 12.00 builds 1317|1325”

choppr – flic.kr short urls (nex,oex)

Choppr ins an extension for Opera and that adds a short flic.kr-url to the right hand column on a Flickr™ photo page.

This short url is calculated from the photo's unique id (actually, the calculation is ”bijective“, thus could be inverted) – there is no web service contacted during that process.

You find the short url behind a little ☆-icon below the photo's license statement and above its privacy information in the right hand info column.

Continue reading “choppr – flic.kr short urls (nex,oex)”

xaNoCTA – No Click-to-Activate (patch)

Legal considerations around the U.S. Patent No. 5,838,906, currently held by infamous Eolas company for the single purpose of "defending" it, forces Opera to abstain from implementing any measures that could be interpreted as ”invoking external application providing interaction and display of embedded objects“.

Therefore the user of Opera has to take the burden to ”click-to-activate“ a Flash applet in a web page first, before he is able to use it and interact with it.

This ”click-to-activate“-hassle can be removed individually by an Opera-user on his end (and in his own responsibility!) by patching the Opera binary code.

Continue reading “xaNoCTA – No Click-to-Activate (patch)”

Google Analytics IP Masking (UserJS)

The Google Analytics-API provides a new feature, that allows a webmaster to instruct the Google Analytics tracker (that is constructed by of a tiny piece of Javascript code embedded in the web page's markup) not to store the last 8 bits of the IP address of you, the visitor.

This UserScript checks each inline script embedded in a web page, whether a Google Analytics Tracker is constructed therein. If that is the case, it surgically 😉 inserts an Analytics-API call to the _anonymizeIp() function, thus requesting the masquerade of the IP.

New: As an experimental feature you can also enable the handling of asynchronous trackers. A call to _anonymizeIp() is pushed into the _gaq command queue in these cases.

You may consider it one step in direction of an alternative to the Google Analytics Opt-Out Addons available for other major browsers. …

Continue reading “Google Analytics IP Masking (UserJS)”

Re-assign search.ini search engine section numbers automatically w/ UltraEdit script

If you do not want to use a full-fletched search.ini editor to customize that file to suite your personal needs in terms of searching, then you can certainly use a plain text editor. it is time consuming and unpleasant, though, to re-assign consecutive numbers to the search engines' .ini sections.

If UltraEdit™ (as of versions 15+, I guess) is your editor, then you can use the attached UltraEdit-Javascript to automate the process of giving numbers to search engines. …

Continue reading “Re-assign search.ini search engine section numbers automatically w/ UltraEdit script”

xaGeolocationAPI – HTML5 Geolocation API emulation layer (UserJS)

Opera v10.60+ has built-in Geolocation support. But you may perhaps want to modify this UserJS script to report static coordinates for your desktop machine…

As of version 10.50 and 10.51 there is still no Geolocation API support built into Opera – the short intermezzo in some development snapshots left aside.

Thus I wrote a UserJS to address this issue. It returns a hard coded geographic position via a standard Geolocation API if requested by the browser and if permitted (on a case-by-case basis) by the user. So it's mostly useful for peoples hardly-moving desktop machines. 😉

It supports the geolocation methods getCurrentPosition(…), watchPosition(…) and clearWatch(…) as well as the interfaces Position and Coordinates for the returned objects up to the point it's reasonable for a static, ie non-moving, geographic location. Thus it virtually emulates the W3C Geolocation API Specification (Editor's Draft 10 February 2010). …

Continue reading “xaGeolocationAPI – HTML5 Geolocation API emulation layer (UserJS)”