Hi there guys,

A forum that I frequent refreshes it's page every 60 seconds or so(I assume for advertisements). I've scoured the code looking for the culprit, but can't find anything, so I assume they've modified the code to include a refresh command via php.

I run a dualhead system, and when I'm doing something in the other desktop, the browser refreshing steals the focus from my application, and it drives me batty.

Does anyone have any ideas(no matter how far out there) that I might be able to do to defeat this? Greasemonkey with j/s nixing the refresh, etc? Any suggestions are welcome.

thanks,
json

    I can't think of any way that PHP could do that. The only ways I know of would be either a JavaScript function or (more likely) a meta refresh tag in the [X]HTML head section.

      Hi there nogdog. Are you stating that php can't refresh a page on load? I thought they could run something like the following:

      header("Refresh: 120;");
      

      No?

      here is the source for the page in question. I couldn't find anything in the source that would cause this, but I'm bad about missing stuff.

      Any suggestions would rock 🙂

      thanks,
      json

        Hmm...you're right. Hadn't thought of that.

        If you use Firefox and have the Web Developer add-on installed, you can select the "Tools -> Web Developer -> Disable -> Disable Meta Redirects" option, which stops refresh headers from working as well.

          man, that's awesome. Thanks so much for that nogdog. That solved my problem completely!

          thanks!
          json

            Write a Reply...