On Chrome / Windows the font selector also takes you to the search page.
Actually, all I'm trying to do is add ?fontsize= to the query string.
But if you are on a search page then you already have a query, and if you are on a POST'd result with a hash... then I need to know where to insert the fontsize=
I needed it to be cross-browser, one-line... so I figure that most font-resizing would happen on the home page or thread pages... less so on search results, so it'd be fine to do it the way I have.
Actually, all I'm trying to do is add ?fontsize= to the query string.
But if you are on a search page then you already have a query, and if you are on a POST'd result with a hash... then I need to know where to insert the fontsize=
I needed it to be cross-browser, one-line... so I figure that most font-resizing would happen on the home page or thread pages... less so on search results, so it'd be fine to do it the way I have.
A one-liner.