Firefox - Manual fix

a guest Aug 14th, 2012 251 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //FIND
  2. <form name="searchForm" id="searchForm" onsubmit="onSearchSubmit(event)">
  3.           <div id="searchLogoContainer"><img id="searchEngineLogo"/></div>
  4.           <input type="text" name="q" value="" id="searchText" maxlength="256"
  5.                 autofocus="autofocus"/>
  6.           <input id="searchSubmit" type="submit" value="&abouthome.searchEngineButton.label;"/>
  7. </form>
  9. //CHANGE IT TO:
  11. <form name="searchForm" id="searchForm" method="get" action="">
  12.         <div id="searchLogoContainer"><img id="searchEngineLogo"/></div>
  13.         <input type="text" name="q" value="" id="searchText" maxlength="256"
  14.                 autofocus="autofocus"/>
  15.         <input id="searchSubmit" type="submit" value="&abouthome.searchEngineButton.label;"/>
  16. </form>
  18. /*WHAT THIS DOES: It changes the form submission from the built in javascript (which is what breaks) into a plain html form that defaults to google (but can be changed).*/
  19. /*for example, to set it to yahoo, change the name="q" to name="p" and action to ""*/
RAW Paste Data