Expand Cut Tags

No cut tags
topaz: (madblog)
[personal profile] topaz
I have noticed recently on several news sites that loading a page makes my browser try to submit a form someplace.  I know this because my Firefox is configured to warn me whenever I submit a form that's not encrypted, and each time I load one of these pages I get a warning:
The information you have entered is to be sent over an unencrypted connection and could easily be read by a third party.  Are you sure you want to continue sending this information?
I'm assuming that all of these sites are using some kind of AJAX toolkit that reports reading statistics back to the mothership, and while to some degree I don't care, the warnings and the sense of deception are making me cranky and I want to stop it.

This is the challenge to you geeks: can you figure out which code in the page is making this happen?  And can you tell me how you figured it out?  An example of a page which triggers this behavior for me:

http://blogs.usatoday.com/ondeadline/2008/03/latest-informat.html

(If that one expires just let me know and I'll find the other one.  Reuters.com has begun doing this to me nonstop.)

For my own part, I used "View JavaScript" in the Web Developer Firefox add-on and searched for "submit".  In addition to about eleventy-leven methods and variables including "submit" in their name, there are at least two that actually call the form.submit method, one of which is an "initialize" function in http://js.usatoday.com/_common/_scripts/_community/directapi/pork.iframe.js.  So I think that's the likely culprit but I'm not confident enough of my JavaScript to go all Hercule Poirot on its ass.

If I can identify the method that's making this happen I'll see if I can figure out how to kill it with Greasemonkey.  If some of you web hotshots can help me figure out what's happening I would love to learn from your madness.

Date: 2008-03-12 03:43 pm (UTC)
From: [identity profile] trom.livejournal.com
In webdeveloper, use Forms->Display Form Details. In this case, look at the bottom of the usatoday.com page and you'll see a jsonRequest which is what I think you're seeing, since that's an ajaxy thing that folks use for autosubmits.

May 2018

S M T W T F S
  12345
6789101112
13141516171819
20212223242526
27282930 31  

Most Popular Tags

Style Credit

Page generated Mar. 5th, 2026 07:53 am
Powered by Dreamwidth Studios