Re: Passing text to Different Sites



Randy Webb wrote:
darwinist said the following on 8/4/2006 3:50 AM:
BrendanMcPherson@xxxxxxxxx wrote:
Most browsers prevent cross-site scripting, and for good reason.

Most search engines can be searched with the right url, eg:
http://groups.google.com/groups?q=passing texts to different sites
paste this into an address bar or pass it as the url of a new window
and you will see your questions as the first result.

A complete and free working example of searching any number of external
websites inside iframes, can be found at:
http://darwinist.googlepages.com/htmldesktop.html

Press the "help" button to see examples of how you might create a new
search box.

Thanks> I do know that search engines use. words added to their URL.
but the search sites Im using dont.

So i have to use a hidden frame to hold the Variable.

ALL I NEED TO KNOW IS..
how do i get a frame within a window to be able to read the last
characters from the URL,
after the ? question mark.
then how do i add that to its textbox and then transfer that to another
frames textbox
and have the same frame thats submitting it to the other text box, make
the other frame SUBMIT.

thanks for your help anyway

If these search engines:
a) don't accept forms submitted from your domain, and
b) don't allow search by url

Then they're sending a pretty clear message, or else their own system
is built wrong.


Or you are simply submitting them improperly.

What you are describing is cross-site scripting,

Technically, it is cross-domain scripting.

and can be a serious security threat,

True.

so most web-browsers prevent it.

"most"? Name one that doesn't, otherwise, *all* browsers prevent it - in
a default security environment.

Good to know. I said "most" because I didn't know if there were any
major exceptions.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

.



Relevant Pages

  • Re: Passing text to Different Sites
    ... So i have to use a hidden frame to hold the Variable. ... question mark. ... Or you are simply submitting them improperly. ...
    (comp.lang.javascript)
  • Re: Passing text to Different Sites
    ... Thanks> I do know that search engines use. ... So i have to use a hidden frame to hold the Variable. ... question mark. ...
    (comp.lang.javascript)
  • Re: Passing text to Different Sites
    ... paste this into an address bar or pass it as the url of a new window ... Thanks> I do know that search engines use. ... So i have to use a hidden frame to hold the Variable. ... (A free, open-source, web-based IDE, windowing system, and desktop ...
    (comp.lang.javascript)
  • Re: Some help please
    ... Search engines can easily spider and rank frame pages. ... to the content page, and not the frameset. ...
    (microsoft.public.frontpage.programming)
  • Re: Floating frames replacement?
    ... >> excellent example of why you'd want to put other sites in a frame, ... What, Jim, are we to see in particular? ... several buttons of various torrent search engines. ... search engine in it's entirety. ...
    (alt.html)