Project

General

Profile

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

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

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

menu channel {
Search for " $+ $cb $+ "
.Amazon:run http://www.amazon.com/s?field-keywords= $+ $sp($cb)
.Bing:run http://www.bing.com/search?q= $+ $sp($cb)
.DuckDuckGo: run https://duckduckgo.com/?q= $+ $sp($cb)
.Ebay:run http://www.ebay.com/sch/i.html?_nkw= $+ $sp($cb)
.Firefox Addons: run https://addons.mozilla.org/en-US/firefox/search?q= $+ $sp($cb) $+ &cat=all
.Google:run https://www.google.com/?#q= $+ $sp($cb)
.Google Images:run https://www.google.com/search?tbm=isch&q= $+ $sp($cb)
.Grooveshark: run http://grooveshark.com/#/search?q= $+ $sp($cb)
.Hawkee:run http://hawkee.com/search/ $+ $sp($cb) $+ /
.Metacritic:run www.metacritic.com/search/all/ $+ $sp($cb) $+ /results
.Start Page:run https://startpage.com/do/search/?query= $+ $sp($cb)
.Twitter:run https://twitter.com/search?q= $+ $sp($cb)
.Urban Dictionary:run http://www.urbandictionary.com/define.php?term= $+ $sp($cb)
.-
.Torrents
..The Pirate Bay:run http://thepiratebay.se/search/ $+ $sp($cb) $+ /0/99/0
.Movies
..IMDB:run http://www.imdb.com/find?q= $+ $sp($cb) $+ &s=all
..Rotten Tomatoes:run http://www.rottentomatoes.com/search/?search= $+ $sp($cb) $+ &sitesearch=rt
..TMDb:run http://www.themoviedb.org/search?query= $+ $sp($cb)
.Videos
..Youtube:run http://www.youtube.com/results?search_query= $+ $sp($cb)
..LiveLeak:run http://www.liveleak.com/browse?q= $+ $sp($cb)
}

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

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