You search like this in Google
- Code: Select all
organizing lego site:classic-castle.com
Which means that Google will only show results that come from that specific site. And i find it more effective than using the buil in search function of the forum itself.
But it is of course difficult to leave the page, and go to google, and having to type in the extra site:classic-castle.com, therefore i made a little JavaScript snippet that you can save as a bookmark, and have it as a shortcut in your bookmark bar (if your browser has one)
I did this, copy pasted the code, created a new bookmark, added the whole thing as an URL.
When you click on the bookmark, a box opens where you can write your search term, then you are taken to google showing the search results for the site in question.
I made two version.
The first one searches for the term in classic-castles forum only.
- Code: Select all
javascript:document.write("<script>var site='http://classic-castle.com/forum/'; var searchTerm = prompt('Search in Classic-Castle forums for:'); window.location = 'http://www.google.com/search?q=' + searchTerm + ' site%3A' + site;</script>");
The other version searches on the site you have currently open (but it can become confusing).
- Code: Select all
javascript:document.write("<script>var site=window.location.hostname; var searchTerm = prompt('Search in '+site+' for:'); window.location = 'http://www.google.com/search?q=' + searchTerm + ' site%3A' + site;</script>");
Love
- Melonkernel



