Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Altering the code of custom search box?

custom search

         

Smark

11:54 pm on Oct 14, 2007 (gmt 0)

10+ Year Member



I want to ask your opinions about altering the code of Google custom search box.
I want to delete the script tag in the bottom of the code to prevent the script from loading the "Google Custom Search" overlay in the search box. I think that my site looks better and loads faster without it.
Is it safe to delete this script tag?
Does it violate the Terms of service?
May I be penalized for deleting it?

Here is the example of the custom search box code:
<!-- Google CSE Search Box Begins -->
<form action="http://www.google.com/cse" id="searchbox_01234564879878978:asdasdsad">
<input type="hidden" name="cx" value="01234564879878978:asdasdsad" />
<input type="text" name="q" size="25" />
<input type="submit" name="sa" value="Search" />
</form>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_01234564879878978%3Aasdasdsad"></script>
<!-- Google CSE Search Box Ends -->

Quadrille

3:26 am on Oct 15, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It does violate their TOS.

Not a recommended course of action.