![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 2475053
Join Date: May 2007
Device: Galaxy Tab A (2019) - iPhone 11 - KA1 - Onyx Boox Nova Pro
|
Search Script
Is it possible to create a script to search for an author automatically from FantasticFiction's site?. I.E. Highlight an author, right mouse click, search Fantasticfiction for "Ben Bova", like Google.
|
![]() |
![]() |
![]() |
#2 |
Little Fuzzy Soldier
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 580
Karma: 5711
Join Date: Sep 2008
Location: Nowhere in particular.
Device: cybook gen3, htc hero, ipaq 214
|
That should be no problem. Do you think you could make do with a firefox search plugin? Because I could fix one for you, if you're interested.
I made this bookmarklet, it should work with Firefox 3.0. Create a bookmark in your bookmarks toolbar: right mouse button click->New bookmark and copy the code below into the location and Add. Then if you highlight an author on a page and click on the bookmarklet it should take you to the search results on fantastic fiction. Code:
javascript:var%20sl=sl(window.getSelection().toString());document.location.assign('http://www.fantasticfiction.co.uk/search/?searchfor=author&keywords='+sl); Last edited by Abelturd; 03-28-2009 at 09:03 AM. |
![]() |
![]() |
![]() |
#3 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 2475053
Join Date: May 2007
Device: Galaxy Tab A (2019) - iPhone 11 - KA1 - Onyx Boox Nova Pro
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#4 |
Little Fuzzy Soldier
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 580
Karma: 5711
Join Date: Sep 2008
Location: Nowhere in particular.
Device: cybook gen3, htc hero, ipaq 214
|
Here you are, the promised plugin. It searches for author. If you'd rather search for books just open the file in notepad and change the value="author" to value="book" and save.
Copy the xml file to "c:\Program Files\Mozilla Firefox\searchplugins\", that is if you haven't changed the default installation directory for FF. Restart Firefox and you're ready to go. I even added favicon, my own design. ![]() Let me know how it works. |
![]() |
![]() |
![]() |
#5 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 2475053
Join Date: May 2007
Device: Galaxy Tab A (2019) - iPhone 11 - KA1 - Onyx Boox Nova Pro
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#6 |
Storm Surge'n
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,780
Karma: 8213195
Join Date: Nov 2008
Location: Polar Vortex
Device: S0ny PRS-300/350/505/700/T1
|
Excellent job. Works like a charm.
Thankyou, ![]() WDE. Last edited by Wetdogeared; 03-28-2009 at 10:25 AM. |
![]() |
![]() |
![]() |
#7 | |
The Introvert
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,307
Karma: 1000077497
Join Date: Jan 2007
Location: United Kingdom
Device: Sony Reader PRS-650 & 505 & 500
|
Quote:
c:\Program Files\Mozilla Firefox\searchplugins\ Restarted FF 3.x Googles for king. Highlight King on any page, right click on it....and? No mention of fantasticfiction. |
|
![]() |
![]() |
![]() |
#8 |
The Introvert
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,307
Karma: 1000077497
Join Date: Jan 2007
Location: United Kingdom
Device: Sony Reader PRS-650 & 505 & 500
|
Oh, I just choose FF as search engine and it works!
I have never used search engine before. Thanks a lot. Very useful feature! |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
epub2pdf script, now with GUI! | Jellby | ePub | 31 | 10-21-2014 03:38 PM |
conversion script | JeffElkins | Calibre | 2 | 03-28-2009 03:06 AM |
iLiad Can't run my first script | ragdoll | iRex Developer's Corner | 4 | 01-28-2008 06:40 AM |
Would anyone be interested in this script... | coleman | Sony Reader | 2 | 07-26-2007 11:30 AM |
Google Book Search to search full-text books online | Bob Russell | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 08-19-2006 12:13 PM |