chuckhoffmann Wrote:
-------------------------------------------------------
> Every so often, people create threads
> asking/pleading/demanding that Cary change Fairfax
> Underground in some way, which he cheerfully
> ignores.
>
> Since I can, I decided to see if I was able to
> make a change to how Fairfax Underground worked
> myself, without having to ask him to lift a
> finger.
>
> The change I decided to focus on addressed the
> problem of people bumping old threads on Fairfax
> Underground, and what I did was create a
> userscript that automatically adds the date and
> time a particular thread was created to the
> "Started By" column on the Fairfax County General
> forum list page.
>
> Userscripts can be used in Web browsers such as
> Google Chrome with the Tampermonkey extension and
> Mozilla Firefox with the Greasemonkey add-on.
>
> What it does is looks up each thread's id in a
> database the local storage of the web browser. If
> the thread id exists, it gets the date the thread
> was created and adds it to the forum list page.
>
> If it doesn't exist, it loads that thread in the
> background, gets the date it was created and puts
> the information in the database, then updates the
> forum list page.
>
> In short, my script turns this:
> src="http://www.fairfaxunderground.com/forum/file.
> php?2,file=283997,filename=FFU_Before_sm.png" />
>
> Into this:
> src="http://www.fairfaxunderground.com/forum/file.
> php?2,file=283998,filename=FFU_After_sm.png" />
>
> If you are knowledgeable about Javascript and
> would like to test or comment on my script, it's
> available at
>
https://gist.github.com/chuckhoffmann/7f6b3e027f20
> ebcc9feb49493967201f#file-ffxu_format_fixer-user-j
> s
>
> Finally, while I have tried to test this script
> thoroughly, I specifically disclaim all
> responsibility for any damage it does to your
> computer if you choose to install it.
Arcive chuckhoffman post.