Cross-Domain scripting solution

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • CJD

    Cross-Domain scripting solution

    Hello,

    I want to create a server-side object that tracks the clicks of a user
    while they do a task in a browser. The tasks would take place on
    external web sites. Since there does not seem to be an all
    incompassing solution to the javascript cross-domain scripting
    permission problem, I am wondering if anyone has any server-side
    ideas. The link below proposes to do this, but I can't figure out how.
    Looking at their code, they are apparently doing something on the
    server side, as the javascript in their pages is not tracking URLs.

    (Remove spaces)
    http : //surveys.rele vantview.com/demosu rvey.asp

    Thanks for any ideas! Could use HTA's but that would limit to IE only.
  • Philip Ronan

    #2
    Re: Cross-Domain scripting solution

    CJD wrote:
    [color=blue]
    > I want to create a server-side object that tracks the clicks of a user
    > while they do a task in a browser. The tasks would take place on
    > external web sites.[/color]

    Oh, you mean SPYWARE?

    I think that only works client-side.

    --
    Philip Ronan
    phil.ronanzzz@v irgin.net
    (Please remove the "z"s if replying by email)


    Comment

    • Markus Ernst

      #3
      Re: Cross-Domain scripting solution

      CJD wrote:[color=blue]
      > Hello,
      >
      > I want to create a server-side object that tracks the clicks of a user
      > while they do a task in a browser. The tasks would take place on
      > external web sites. Since there does not seem to be an all
      > incompassing solution to the javascript cross-domain scripting
      > permission problem, I am wondering if anyone has any server-side
      > ideas. The link below proposes to do this, but I can't figure out how.
      > Looking at their code, they are apparently doing something on the
      > server side, as the javascript in their pages is not tracking URLs.
      >
      > (Remove spaces)
      > http : //surveys.rele vantview.com/demosu rvey.asp
      >
      > Thanks for any ideas! Could use HTA's but that would limit to IE only.[/color]

      As clicks happen at the client side I doubt that you will find a server-side
      solution to track them.

      --
      Markus


      Comment

      • CJD

        #4
        Re: Cross-Domain scripting solution

        "Markus Ernst" <derernst@NO#SP #AMgmx.ch> wrote in message news:<41764299$ 0$25065$afc38c8 7@news.easynet. ch>...
        [color=blue]
        > As clicks happen at the client side I doubt that you will find a server-side
        > solution to track them.[/color]

        That would seem logical, but the link below claims to be a server-side
        solution and it's been baffling me as to how they are doing it. It's
        got me stumped. Well, what would be the best client-side solution to
        this problem in your opinions, considering the window will be in an
        external domain?

        Comment

        • Robert

          #5
          Re: Cross-Domain scripting solution

          sivad1178@yahoo .com (CJD) wrote in message news:<a38b6217. 0410191422.4f3e 6443@posting.go ogle.com>...[color=blue]
          > Hello,
          >
          > I want to create a server-side object that tracks the clicks of a user
          > while they do a task in a browser.[/color]

          Write your own custom page to track clicks.
          [color=blue]
          > The tasks would take place on
          > external web sites. Since there does not seem to be an all
          > incompassing solution to the javascript cross-domain scripting
          > permission problem, I am wondering if anyone has any server-side
          > ideas. The link below proposes to do this, but I can't figure out how.[/color]

          How is what you want to do a benefit to the user?

          What is does is popup a window and ask questions about what is in the
          other popup. On the pages where you click, it is a custom page written
          my the folks doing the survey. The site switches between the survey
          site and custom pages.
          [color=blue]
          > Looking at their code, they are apparently doing something on the
          > server side, as the javascript in their pages is not tracking URLs.
          >
          > (Remove spaces)
          > http : //surveys.rele vantview.com/demosu rvey.asp
          >
          > Thanks for any ideas! Could use HTA's but that would limit to IE only.[/color]

          The site didn't work in Netscape 7.1.

          I am glad that I use Netscape.

          Robert

          Comment

          • CJD

            #6
            Re: Cross-Domain scripting solution

            Robert) wrote:
            [color=blue][color=green]
            > > Hello,
            > >
            > > I want to create a server-side object that tracks the clicks of a user
            > > while they do a task in a browser.[/color]
            >
            > Write your own custom page to track clicks.
            >[color=green]
            > > The tasks would take place on
            > > external web sites. Since there does not seem to be an all
            > > incompassing solution to the javascript cross-domain scripting
            > > permission problem, I am wondering if anyone has any server-side
            > > ideas. The link below proposes to do this, but I can't figure out how.[/color]
            >
            > How is what you want to do a benefit to the user?
            >
            > What is does is popup a window and ask questions about what is in the
            > other popup. On the pages where you click, it is a custom page written
            > my the folks doing the survey. The site switches between the survey
            > site and custom pages.
            >[color=green]
            > > Looking at their code, they are apparently doing something on the
            > > server side, as the javascript in their pages is not tracking URLs.
            > >
            > > (Remove spaces)
            > > http : //surveys.rele vantview.com/demosu rvey.asp
            > >
            > > Thanks for any ideas! Could use HTA's but that would limit to IE only.[/color]
            >
            > The site didn't work in Netscape 7.1.
            >
            > I am glad that I use Netscape.
            >
            > Robert[/color]

            Thank you for your suggestions. I'm not quite clear on what you are
            suggesting though. What I want to do is for web site owners to test
            their website usefulness and navigation by having others use it. How
            is the site above actually logging each page you visit in the larger,
            non-question window (the window with the site being analyzed)??

            I think it has something to do with the fact that it starts out as an
            ..htm page in their domain, and then redirects using javascript to the
            site being tested.

            Comment

            • Markus Ernst

              #7
              Re: Cross-Domain scripting solution

              CJD wrote:[color=blue]
              > "Markus Ernst" <derernst@NO#SP #AMgmx.ch> wrote in message
              > news:<41764299$ 0$25065$afc38c8 7@news.easynet. ch>...
              >[color=green]
              >> As clicks happen at the client side I doubt that you will find a
              >> server-side solution to track them.[/color]
              >
              > That would seem logical, but the link below claims to be a server-side
              > solution and it's been baffling me as to how they are doing it. It's
              > got me stumped. Well, what would be the best client-side solution to
              > this problem in your opinions, considering the window will be in an
              > external domain?[/color]

              I think you will have to add a javascript to the documents of the external
              domain that on every click sends the cursor position to you. I don't know if
              that is possible. Anyway IMO there is no possible solution without modifying
              the pages you want to track (and I would quite hate the fact of being wrong
              in this point...).

              I think there are softwares for tracking user clicks, but you will have to
              invite the test users to visit you and do the testing sitting at your box. I
              know a company who does professional usability testing that way, they have
              good coffee and always find test users.

              --
              Markus


              Comment

              • Robert

                #8
                Re: Cross-Domain scripting solution

                sivad1178@yahoo .com (CJD) wrote in message news:<a38b6217. 0410210723.34d8 fadb@posting.go ogle.com>...[color=blue]
                > Robert) wrote:[/color]
                [color=blue]
                > Thank you for your suggestions. I'm not quite clear on what you are
                > suggesting though. What I want to do is for web site owners to test
                > their website usefulness and navigation by having others use it. How
                > is the site above actually logging each page you visit in the larger,[/color]

                I did not look at the visited site code. The survey site doesn't have
                access to the visited site usage. The survey site is creating an
                illusion about the internaction

                You need to check with a usability consultant. These sort of tests
                are usually done in a usability lab. They usually record the test with
                cameras.

                In a test situation, you can install special software on the PC to
                record all mouse clicks.
                [color=blue]
                > non-question window (the window with the site being analyzed)??
                >
                > I think it has something to do with the fact that it starts out as an
                > .htm page in their domain, and then redirects using javascript to the
                > site being tested.[/color]
                Yes, although redirect may not be what they are doing.

                The survey site may be modified to assist with the testing.

                I didn't look at the survey site in detail.

                Page1
                1) introduces you to the survey.
                2) Open the survey window on your left

                Left window
                1) Displays the questions.
                2) Opens the site window on the right.
                I assume that no changes have been made to the survey site.
                3) User answers question about site.
                4) Left window submits information to its host.
                5) Left window asks another of question on the site
                6) Left window takes down the site window.
                7) Left window opens new window that you can click on
                New window is coded by survey site owner.
                New windows is on survey site web site.
                When user click on the new window, the new
                window pass where user click on it back to
                the left window.
                New window closes itself.
                8) Left window gets results and adds results to your question.
                9) User complete question and left window passed this result to its
                host.
                10) left window continues with the above until all questions are
                answered.

                By intermixing site windows and survey site windows an illustion more
                interaction can be created than there actually is.

                You could copy survery site windows to you local site and change them.
                Assuming you have the authority to do so.

                Robert

                Comment

                Working...