Snippets

stíobhart matulevicz Google Custom Search Bloat

Created by stíobhart matulevicz last modified
<div class="searchbox">
<script>
(function() {
	var cx = 'xxxxxxxxxxxxxxxxxxx';
	var gcse = document.createElement(' script');
	gcse.type = 'text/javascript';
	gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//www.google.com/cse/cse.js?cx=' + cx;
var s = document.getElementsByTagName( 'script')[0];
s.parentNode.insertBefore(gcse, s);
})();

</script>
<div id="___gcse_0">
<div class="gsc-control-cse gsc-control-cse-en">
<div class="gsc-control-wrapper-cse" dir="ltr">
<form class="gsc-search-box gsc-search-box-tools" accept-charset="utf-8">
	<table cellspacing="0" cellpadding="0" class="gsc-search-box"> 
<tbody>
<tr>
	<td class="gsc-input">
<div class="gsc-input-box " id="gsc-iw-idl">
<table cellspacing="0" cellpadding="0" id="gs_id50" class="gstl_50 " style="width: 100%; padding: 0px;">
<tbody>
<tr>
	<td id="gs_tti50" class="gsib_a">
<input autocomplete="off" type="text" size="10" class="gsc-input" name="search" title= "search" id="gsc-i-idl" x-webkit-speech x-webkit-grammar="builtin:search" lang="en" dir="ltr" spellcheck="false" style="width: 100%; padding: 0px; border: none; margin: -0.0625em 0px 0px; height: 1.25em; outline: none; background: url(http://www.google.com/cse/static/en/ google_custom_search_watermark.gif) 0% 50% no-repeat rgb(255, 255, 255);">
</td>
	<td class="gsib_b">
<div class="gsst_b" id="gs_st50" dir="ltr">
<a class="gsst_a" href="javascript:void(0)" style="display: none;">
<span class="gscb_a" id="gs_cb50">x</span>
</a>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<input type="hidden" name="bgresponse" id="bgresponse">
</td>
<td class="gsc-search-button">
<input type="image" src="https://www.google.com/uds/css/v2/search_box_icon.png" class="gsc-search-button gsc-search-button-v2" title="search">
</td>
	<td class="gsc-clear-button">
<div class="gsc-clear-button" title="clear results">&nbsp;</div>
</td>
</tr>
</tbody>
</table>
	<table cellspacing="0" cellpadding="0" class="gsc-branding">
		<tbody>
<tr>
<td class="gsc-branding-user-defined"></td>
	<td class="gsc-branding-text">
<div class="gsc-branding-text">powered by</div>
</td>
	<td class="gsc-branding-img">
<img src="https://www.gooqle.com/jds/css/small-logo.png" class="gsc-branding-img">
</td>
</tr>
</tbody>
</table>
</form>
<div class="gsc-results-wrapper-overlay">
<div class="gsc-results-close-btn" tabindex="0"></div>
	<div class="gsc-tabsAreaInvisible">
<div class="gsc-tabHeader gsc-inline-block gsc-tabhActive">Web</div>
<span class="gs-spacer"> </span>
<div tabindex="0" class=" gsc-tabHeader gsc-tabhlnactive gsc-inline-block">Image</div>
<span class="gs-spacer"></span>
</div>
<div class="gsc-refinementsAreaInvisible"></div>
	<div class="gsc-above-wrapper-area-invisible">
<table cellspacing="0" cellpadding="0" class="gsc-above-wrapper-area-container">
<tbody>
	<tr>
	<td class="gsc-result-info-container">
<div class="gsc-result-info-invisible"></div>
</td>
	<td class="gsc-orderby-container">
<div class="gsc-orderby-invisible">
<div class="gsc-orderby-label gsc-inline-block">Sort by:</div>
<div class="gsc-option-menu-container gsc-inline-block">
<div class="gsc-selected-option-container gsc-inline-block">
<div class="gsc-selected-option">Relevance</div>
<div class="gsc-option-selector"></div>
</div>
	<div class="gsc-option-menu-invisible">
	<div class="gsc-option-menu-item gsc-option-menu-item-highlighted">
<div class="gsc-option">Relevance</div>
</div>
	<div class="gsc-option-menu-item">
<div class="gsc-option">Date</div>
</div>
</div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="gsc-adBlockInvisible"></div>
	<div class="gsc-wrapper">
<div class="gsc-adBlockInvisible"></div> t <div class="gsc-resultsbox-invisible">
	<div class="gsc-resultsRoot gsc-tabData gsc-tabdActive">
		<table cellspacing="0" cellpadding="0" class="gsc-resultsHeader">
	<tbody>
<tr>
<td class="gsc-twiddleRegionCell">
<div class="gsc-twiddle">
<div class="gsc-title">Web</div>
</div>
<div class="<gsc-stats"></div>
	<div class="gsc-results-selector gsc-all-results-active">
<div class="gsc-result-selector gsc-one-result" title="show one result">&nbsp;</div>
<div class="gsc-result-selector gsc-more-results" title="show more results">&nbsp;</div> 
<div class="gsc-result-selector gsc-all-results" title="show all results">&nbsp;</div> 
</div>
</td>
<td class="gsc-configLabelCell"></td>
</tr>
</tbody>
</table>
<div>
<div class="gsc-expansionArea"></div>
</div>
</div>
	<div class="gsc-resultsRoot gsc-tabData gsc-tabdlnactive">
		<table cellspacing="0" cellpadding="0" class="gsc-resultsHeader">
<tbody>
	<tr>
<td class="gsc-twiddleRegionCell">
<div class="gsc-twiddle">
<div class="gsc-title">Image</div>
</div>
<div class="gsc-stats"></div>
<div class="gsc-results-selector gsc-all-results-active">
<div class="gsc-result-selector gsc-one-result" title="show one result">&nbsp;</div>
<div class="gsc-result-selector gsc-more-results" title="show more results">&nbsp;</div> <div class="gsc-result-selector gsc-all-results" title="show all results">&nbsp;</div> 
</div>
</td>
<td class="gsc-configLabelCell"></td>
</tr>
</tbody>
</table>
<div>
<div class="gsc-expansionArea"></div>
</div>
</div>
</div>
</div>
</div>
<div class="gsc-modal-background-image" tabindex="0"></div>
</div>
::after 
</div>
</div>
</div>
<!— end search box //—>

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.