Make rurema search instantable!
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
misc
rurema_instant.safariextension
.gitignore
README.mkd

README.mkd

Rurema Search Instant - Make rurema search instantable!

What's this?

This is extension for Safari and Chrome (NEW!).

After installed this extension, you can search quickly on rurema search.

Install

You can download from here:

http://github.com/sorah/rurema_instant/downloads

How to use

http://rurema.clear-code.com/

Input query in textbox, and wait 0.2 second.

This extension loads result after 0.2 second from last type.

How does it work?

  1. Detect page: Top page or Search result page?

If top page

  1. Set keyup event listener for search form. If called listener, clear timeout and set timeout with 200ms.
  2. If called timeout, load result and replace for it.
  3. Set event listener for search result.

If search result

  1. Set keyup event listener for search form. If called listener, clear timeout and set timeout with 200ms.
  2. If called timeout, load result and detect content.div, then replace it.

License

MIT License

(c) Shota Fukumori (sora_h) 2010

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Own your risk!