Official eMule-Board: Emule-Search In Opera - Official eMule-Board

Jump to content


Page 1 of 1

Emule-Search In Opera Make eMule run a search for selected text without leaving Opera

#1 User is offline   tHeWiZaRdOfDoS 

  • Man, what a bunch of jokers...
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5630
  • Joined: 28-December 02

Posted 04 May 2010 - 10:18 AM

Well, here's a short guide on how to setup Opera to get an eMule search feature like for Fx or IE.
Opera, however, doesn't require some addon as we can easily get that to work with Opera out-of-the-box.

First, go to Tools --> Preferences --> Search and create a new search like this - of course you can select the name and keyword as you like ;)
Posted Image

Now, try it! Doubleclick (or select and rightclick) a word and select Search With --> eMule Search
Posted Image

If you haven't set up your system/Opera to assign eD2K links to eMule, you will get a popup like this:
Posted Image
Whether you click Yes or No doesn't matter, the dialog won't be dismissed. Select the checkbox on the bottom left ("Do not show this dialog again") and hit Yes, after that, close the dialog via the X in the top right corner and you shouldn't be bothered again.


If you want to have the search without the additional "Search With" part, you can edit your menues like described in this guide.

Ah and of course you can search via eMule using "keyword phrase" (keyword is the keyword that you set up in the first step - in my case it's emule) in the address bar of Opera, too :)

Any comments? Have fun :angelnot:
WiZaRd
2

#2 User is offline   starko 

  • Splendid Member
  • PipPipPipPip
  • Group: Members
  • Posts: 214
  • Joined: 30-March 05

Posted 04 May 2010 - 04:47 PM

It's a pity that Opera replaces spaces ' ' with pluses '+'. Plus character is a valid eMule search character so your searches will most probably will not return anything at all.

There are 2 obvious ways of dealing with this issue:
- modify eMule, which is easier. For (a bad) example by replacing '+' back with ' ' by default. Or (even worse :) ) by treating search string as a statement in javascript or some other language which can be evaluated. That way Opera's search could be something like
ed2k://|search|"s%".replace('+',' ');|/
which would received by eMule like
ed2k://|search|"eDonkey+Network".replace('+',' ');|/

Of course this is a very crude and dangerous.

- modify Opera, which is preferable. For example by adding a check box to the "Search Engine" dialogue box that will make "Address" parsing optional.

This post has been edited by starko: 04 May 2010 - 04:51 PM

Seeking Posted Image, Posted Image and Posted Image Firefox users to translate eMuleSearchPosted Image - a Firefox add-on for running a search for selected text in eMule with just a click. See here for details.
0

#3 User is offline   tHeWiZaRdOfDoS 

  • Man, what a bunch of jokers...
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5630
  • Joined: 28-December 02

Posted 04 May 2010 - 04:52 PM

Hmm, well I thought this feature was bascially thought for one-word-searches but you are of course right... maybe I'll file a reported/request to the Opera devs... should come in useful in other cases, too. :angelnot:
0

#4 User is offline   starko 

  • Splendid Member
  • PipPipPipPip
  • Group: Members
  • Posts: 214
  • Joined: 30-March 05

Posted 04 May 2010 - 05:11 PM

View PosttHeWiZaRdOfDoS, on 04 May 2010 - 05:52 PM, said:

Hmm, well I thought this feature was bascially thought for one-word-searches

I am using it mostly with at least 3 words, more often than not with 4 or 5 words. Titles of books and films, names of authors, etc. Also in the FF Addon (and soon in IE) before sending the string to eMule i also remove:
- all punctuation marks - some of them are not allowed in eMule,
- all single standing letters and digits - that reduces usefulness of search results,
- all two letter words - ditto,
- the and and - ditto,

Quote

maybe I'll file a reported/request to the Opera devs... should come in useful in other cases, too. :angelnot:

Good idea. I am sure their parsing was well intended but all of a sudden there is something that lives outside of the browser (http://) world. Who knows how many other protocols are there that can not be easily dynamically accessed from Opera because of this.

This post has been edited by starko: 04 May 2010 - 05:14 PM

Seeking Posted Image, Posted Image and Posted Image Firefox users to translate eMuleSearchPosted Image - a Firefox add-on for running a search for selected text in eMule with just a click. See here for details.
0

#5 User is offline   coluche 

  • hm ?
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2274
  • Joined: 02-May 05

Posted 04 May 2010 - 09:42 PM

hej,

Is there a way to get rid of the empty page (tab) opened in Opera when doing this search ?
It's Screamin' Jay Hawkins and he's a Wild Man, so bug off!
0

#6 User is offline   tHeWiZaRdOfDoS 

  • Man, what a bunch of jokers...
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5630
  • Joined: 28-December 02

Posted 05 May 2010 - 05:40 AM

WTH? I don't get an empty page (10.53) - strange... will add this info to the request I made :)
0

#7 User is offline   coluche 

  • hm ?
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2274
  • Joined: 02-May 05

Posted 05 May 2010 - 09:49 PM

I guess it is natural, I have the searchtool so it opens (web)searches always in a new tab.

However, to have the possibility if a search is handed over to an external application, to not have an empty tab opening would be nice.

This post has been edited by coluche: 05 May 2010 - 10:04 PM

It's Screamin' Jay Hawkins and he's a Wild Man, so bug off!
0

#8 User is offline   Avi-3k 

  • hebMule [retired] dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1127
  • Joined: 25-June 03

Posted 07 May 2010 - 09:37 PM

@Wiz, you missed my post :lol:
but i found a fix for the plus sign in the url...

use the next string in the address (instead of plain ed2k://|search|%s|/ ):
jawascript:location.href='ed2k://|search|'+'test+1'.replace(/\x2B/g,'\x2520')+'|/';

just replace the word jawa to java (probably board JS protection)
note i didn't use spaces otherwise it might not work
tested on Opera 10.53 and it works ;)

Avi3
retired developer of hebMule and eMule Skinner...
hebMule site and topic.
hebMule2 unique features: AntiLeech, AntiVirus, Fake Check, ServerFilter, WebSearches, Export Searches, Relative Priority, ModID and much much more...

eMule Skinner is an application to create/edit skins for eMule,
it's multilingual, supports mods, easy-to-use design, integrates to hebMule & Windows and lots more...

code fixes/improvements: #1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11 (to check/verify: #12, #13).
0

  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users