I'm writing a greasemonkey user.js for a page with a table in it. (Table is 100 rows by 18 columns.) Now what I want to do is to make it sortable on column, and also have it run in both Chrome and Firefox.
All searches for answers so far resulted in suggestions to use jquery/dojo or something alike.
Can I be done without any external code? Ofter all it's just a matter of replacing the row's in a different order, right? or is that a silly thing to say?
The thing is that I'm already using dojo for some query needs but since I want it to run in both Firefox and Chrome, I just copy paste the whole dojo thing in my script..
Also, most of the solutions I found so far seem to be more for use when building a table, not for altering an existing one.
Any help is appreciated.
EDIT: All cells in the table contain numbers.