title: Adsense search & Valid XHTML1.1
link: http://jj.isgeek.net/2006/01/adsense-search-valid-xhtml11/
author: Jj
description: 
post_id: 93
date: 2006/01/16 20:36:46
created_gmt: 2006/01/17 01:36:46
comment_status: open
slug: adsense-search-valid-xhtml11

I just changed my old [google searchbox](/2005/10/22/google-searchbox/) with Adsense's official search box.

Well... Almost for the _official_ part, since as most people know, [Google's HTML has never been _valid_](http://validator.w3.org/check?uri=www.google.com&charset=%28detect+automatically%29&doctype=Inline). So I found myself forced to change some bits of it so it would [validate as correct XHTML1.1](http://validator.w3.org/check?uri=http%3A%2F%2Fjj.isgeek.net%2F) :)

This is what I found in [Adsense's Terms & Conditions](https://www.google.com/adsense/terms). Apparently I can't do that :( .... 

> **Implementation and Operation of Ads, Search Results, and Referrals. ** You agree to comply with the specifications provided by Google from time to time to enable proper delivery, display, tracking, and reporting of Ads, Links, Search Results, Referral Buttons, and Google Brand Features (as defined in Section 12 below) in connection with Your Site(s), including without limitation by not modifying the JavaScript or other programming provided to You by Google in any way, unless expressly authorized in writing by Google (including by electronic mail). 
> 
> (...) 
> 
> (ii) edit, modify, filter or change the order of the information contained in any Ad, Link, Ad Unit, Search Result, or Referral Button, or remove, obscure or minimize any Ad, Link, Ad Unit, Search Result, or Referral Button in any way; 
> 
> (....) 
> 
> You will not modify, adapt, translate, prepare derivative works from, decompile, reverse engineer, disassemble or otherwise attempt to derive source code from any Google services, software, or documentation, or create or attempt to create a substitute or similar service or product through use of or access to the Program or proprietary information related thereto. 

Oh well...