Project

General

Profile

[script] Context Menu Search v0.3.1 » Context Menu Search v0.1.ini

Mr. BS, 05/06/2014 05:05 AM

 
1
; http://dev.adiirc.com/boards/5/topics/181
2
; Context Menu Search
3
; v0.1 by pereba
4

    
5
menu channel {
6
  Search for " $+ $cb $+ "
7
  .Amazon:run http://www.amazon.com/s?field-keywords= $+ $sp($cb)
8
  .Bing:run http://www.bing.com/search?q= $+ $sp($cb)
9
  .DuckDuckGo: run https://duckduckgo.com/?q= $+ $sp($cb)
10
  .Ebay:run http://www.ebay.com/sch/i.html?_nkw= $+ $sp($cb)
11
  .Firefox Addons: run https://addons.mozilla.org/en-US/firefox/search?q= $+ $sp($cb) $+ &cat=all
12
  .Google:run https://www.google.com/?#q= $+ $sp($cb)
13
  .Google Images:run https://www.google.com/search?tbm=isch&q= $+ $sp($cb)
14
  .Grooveshark: run http://grooveshark.com/#/search?q= $+ $sp($cb)
15
  .Hawkee:run http://hawkee.com/search/ $+ $sp($cb) $+ /
16
  .Metacritic:run www.metacritic.com/search/all/ $+ $sp($cb) $+ /results
17
  .Start Page:run https://startpage.com/do/search/?query= $+ $sp($cb)
18
  .Twitter:run https://twitter.com/search?q= $+ $sp($cb)
19
  .Urban Dictionary:run http://www.urbandictionary.com/define.php?term= $+ $sp($cb)
20
  .-
21
  .Torrents
22
  ..The Pirate Bay:run http://thepiratebay.se/search/ $+ $sp($cb) $+ /0/99/0
23
  .Movies
24
  ..IMDB:run http://www.imdb.com/find?q= $+ $sp($cb) $+ &s=all
25
  ..Rotten Tomatoes:run http://www.rottentomatoes.com/search/?search= $+ $sp($cb) $+ &sitesearch=rt
26
  ..TMDb:run http://www.themoviedb.org/search?query= $+ $sp($cb)
27
  .Videos
28
  ..Youtube:run http://www.youtube.com/results?search_query= $+ $sp($cb)
29
  ..LiveLeak:run http://www.liveleak.com/browse?q= $+ $sp($cb)
30
}
31

    
32
; replace space by +
33
alias -l sp {
34
  return $regsubex($1-,/(\s)/g, $chr(43))
35
}
36

    
37
; replace space by %20
38
alias -l sp2 {
39
  return $regsubex($1-,/(\s)/g, % $+ 20)
40
}
(2-2/8)