• (cs) in reply to reed
    reed:


    I think this WTF is actually the code for thedailywtf.com's forum software.

    Reed


    Nah - apparently they have ASP-generated JavaScript, but the page itself isn't generated by it. Maybe in CS 3.0...

  • (cs) in reply to Tired_of_stupid_jokes
    Anonymous:
    Sure, It was fine the first 100 comments or so, and I definitely appreciate the irony, All I'm saying is its getting old. It is commented about multiple times every single day, as if everyone wasn't already aware that there are some bugs...


    Sure, the bugs were funny for the first 100 comments or so, and I definitely appreciate the irony. All I'm saying is it's getting old. These bugs annoy users many times every single day, as if everyone wasn't already aware of them.

  • (cs) in reply to Merlin2600
    Merlin2600:
    some JavaScript hacking, and viola!


    Alex, it's spelled "voilà". The way you spelled it means "raped" in French. And I don't think that was your meaning.
    ;)


    I think that was exactly what he meant. [6]

    >BiggBru

  • (cs) in reply to APAQ11
    Anonymous:

    Anonymous:
    I believe this is a case for the If Browser=Firefox then ErrorBox.show("Get a Real Browser: IE") that showed up on this site a few weeks ago.

    Sorry I left out the /Sarcasm tags for the people who take things too literally [:P] .


    Seriously, you even referred to that it had been on TDWTF earlier... I can't imagine how anyone could NOT have understood you were ironic.
  • (cs) in reply to Silex
    Silex:
    Alex Papadimoulis:

    Just a few CSS tweaks and some JavaScript hacking, and viola!, FireFox compatability. At least, that was the theory.



    It's voila, not viola.

    Oh no, you missed the whole point with this WTF... The thought was to bring in Viola, the smarter cousin of Paula, to do some of the hacking... Right Alex? (I think Mycroft was out of the country at the time...)
  • (cs) in reply to Trent

    Anonymous:
    R.Flowers:
    Fifteen to twenty pages? Just pull the pages up in a browser, save the source as HTML files (making exceptions for the DHMTL menu, etc.), make your changes, and done. Then burn those PHP files!


    I don't think this would work.  Saving the page as HTML wouldn't show you the HTML that the JavaScript printed...it would just show you the JavaScript function calls.

    Since nobody has posted a straight answer....  There are numerious ways to achive the same result, but the most generic method is to add a button and a textarea to each page.  In the button's onclick event add the following code:

    document.all["mytextarea"].innerText = document.body.outerHTML;

    Load the page in the browser that works best with the site.  Once the page loads, click on the button.  The HTML generated (and placed into the textarea) will include all the necessary HTML tags to render the page as it stands at the moment the page loads.  You'll still need to extract the JavaScript that supports the truly dynamic portions of the page (the menu system), but the vast bulk of your work is done.

  • .. (unregistered)

    Why do these people get paid??? make no sense!!

Leave a comment on “More Dynamic-er Than Yours”

Log In or post as a guest

Replying to comment #:

« Return to Article