This style 1) removes the file type label Google adds before the link of a search result, 2), "File Format" to the left of the the listing for what the filetype is, and 3) adds the icon for that particular filetype (specific system uses for that file type). Neat, huh?! :-) (see screenshots)
Those individual items are commented and can be selectively used or not, as you like - simply remove or comment out the part(s) you do not want.
It applies to regular 1) Google search results, 2) Google Linux specific search results, 3) Google BSD search results, and 4) Google Microsoft search results.
I started this style to include the filetypes that Google says they support, but there are obviously more. I have changed the code to only include these types. If you know of filetypes that work, but Google does NOT "officially" support, please feel free to add them as you like.
Thanks!
If you like this style, please refer to Google Scholar - add filetype icon before result.
P.S. - This style also fixes the broken layout encounted when viewing one of the included filetypes while using the BetterSearch extension.
(09-25-07 - Updated to include additional supported filetypes: docx, xlsx, pptx, ppsx, kmz, kml, dwf)
(03-08-08 - Updated to include the inexplicable addition of the "http://www.l.google.com" domain)
(03-15-08 - Updated to include additional supported filetype: gz)
(08-10-08 - Updated to include additional URL parameters)
(08-24-08 - Updated to Google's new code)
(11-05-08 - Updated to include additional supported filetype: odg)
(12-03-08 - Updated to work whether you're logged in or not - Google code change)
(12-17-08 - Updated to include additional supported filetypes: dotx, dotm)
Before
|
After
|
Failtard is failtarded.
This and Cursor indicator compliment each other well. Thank you.