View Single Post
Old 08-19-2014, 03:51 AM   #1 (permalink)
maczo
EcoModding Lurker
 
maczo's Avatar
 
Join Date: Jul 2012
Location: Warsaw, Poland
Posts: 61

scrapcento - '99 fiat seicento
90 day: 30.15 mpg (US)

fokus - '08 Ford Focus
90 day: 31.15 mpg (US)

tdm - '95 Yamaha TDM 850
90 day: 27.72 mpg (US)

vespa - '04 Piaggio Vespa ET4
90 day: 57.6 mpg (US)

PCX - '10 Honda PCX
90 day: 78.33 mpg (US)

avensis - '13 Toyota Avensis
90 day: 42.04 mpg (US)
Thanks: 51
Thanked 16 Times in 7 Posts
Automatic unit conversion in forum posts (script attached)

Hi,

I'm presenting a quick hack I made for myself to convert MPG to l/100km, MPH to km/h, PSI to bar etc inside forum posts and titles, with no clicking required (on the fly). Screenshots:

"Before"


"After"


The hack is in form of a UserJS file for Opera browser. I think it should be easily convertible to work with Chrome or Firefox, so if someone feels like converting then please do. I'm releasing this with permission to copy, alter, hack, distribute, you name it.

Attached Thumbnails
Click image for larger version

Name:	unitconv1.PNG
Views:	98
Size:	20.9 KB
ID:	15610   Click image for larger version

Name:	unitconv2.PNG
Views:	108
Size:	27.3 KB
ID:	15611  
Attached Files
File Type: zip ecomodder_unit_converter.zip (984 Bytes, 23 views)
__________________



The Scrapcento thread

Last edited by maczo; 08-19-2014 at 04:00 AM..
  Reply With Quote
The Following User Says Thank You to maczo For This Useful Post:
MetroMPG (08-19-2014)