View Single Post
Old 10-27-2006, 09:28 AM  
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
:stoned Internet Explorer 7 TIPS ( customized search bar )

If you have IE7 you will notice they added a google type search box on the upper right, now they let you customize where the search goes to , and you can build tools to let surfers use your custom search in their ie search box
Heres an example demo i made ( its prefectly safe to use and simple to remove )

http://ytmnd.webspacemania.com/search/


heres how to make your own customized search box

first make yourself an xml file in the following format

-----------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Smokey The Bear Porn Search</ShortName>
<Description>Smokey The Bear Porn Search provider</Description>
<InputEncoding>UTF-8</InputEncoding>
<Url type="text/html" template="http://hornydog.webspacemania.com/wmv/?videos={searchTerms}" />
</OpenSearchDescription>

--------------------------------


notice where it says {searchTerms} thats where you input the url to your own search service

so if you wanted to add a youtube search box to your ie you would do it like this


<?xml version="1.0" encoding="UTF-8" ?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Smokey The Bear Porn Search</ShortName>
<Description>Smokey The Bear Porn Search provider</Description>
<InputEncoding>UTF-8</InputEncoding>
<Url type="text/html" template="https://youtube.com/results?search_query={searchTerms}" />
</OpenSearchDescription>


to initiate the process simply use the following javascript pointing to the xml file we just created


<script>
function fd() {
window.external.AddSearchProvider("http://ytmnd.webspacemania.com/search/stb.xml");
}
</script>
<center><a href=http://www.yoursite.com/thankyou.html onclick=fd();>ADD HERE</a>



p.s. this only works on ie7 so if your using firefox go get a real browser
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote