All Terrain Search is a mobile widget that provides shortcuts to your favourite search engines, or general sites. if you type something in the text box, clicking a link will perform a search in that website. if you don’t, it goes to the homepage. the idea is that you can customize it to your needs and preferences (tested and developed for the samsung wave only!). you’re supposed to configure your favorite engines! to do so, follow these simple steps:
- first, download the example widget, which has my configuration. unpack it. it is just a zip file, but the phone should interpret only the wgt extension.
- then, you have to decide which engines you would like to configure. you need to gather an image for it, that will be displayed at 84×84 pixels. consider scaling it yourself instead of letting the browser do it, to prevent quality loss during realtime rendering.
- place that image in the images folder.
- go to the js folder, and open the file user.js with a text editor. you don’t need to worry about the file system.js, but you can take a look at it if you want to tweak inner workings.
- in this file you can configure a bit of the behaviour. first know that you have a list of engines, which is an array called engines. each element of the array represents an engine, and you must configure 3 properties:
- the homepage, called home;
- the url for configurable searches, called search, and having {query} where your query should go.
- finally, the img, filename for that engine.
- if the number of engines is larger than 4, several pages can be displayed and cycled through with a vertical scroll. the page variable lets you choose the set of engines that appears when the widget loads, and is resetted. choose 0 for the first, 1 for the second, and don’t use stupid values, i didn’t bother validating.
- finally you can configure whether the widget should clear the search form, completely reload, or none, after you perform a search.
- in the end you must zip everything again, change the extension to wgt, and send it to your phone, which will hopefully detect it right. but you can see the result by opening index.html with your browser, first!
hey, and since i didn’t configure a unique id for the widget, you can install it multiple times, if you don’t like to scroll, or would like separate screens, whatever use you find for it.
you can redistribute your work, but it must remain open for others to work on it, according to the LICENSE. i’d like to thank Hereldar and tempest for their icon art, which i used for myself.

