473,379 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Passing text to Different Sites

Hello,

Im try to do some tricks to help make a "Search Many Sites from One
Location".
http://www.act.org.au/b_nexus.htm

What I have decided to do is this:
1. You can choose which site you wish to visit from the first page,
after pressing go it takes you to a frame page.

2. Inside the frame is the site, and a hidden frame

3. the hidden frame should be able to take the variable from the url
place it in a text box,
then place the text in that text box to the external sites textbox and
then submit.

giving them the search result

so far I have made the page for choosing the sites, made the sites
frame pages.
But the frame within those pages I cant get to take the variable from
the URL
and place it inits textbox, also I dont know from there how i can make
a Timeout
so that it then passes that text information on to the external site
and submits it.

Any ideas or suggestion would be greatly appreciated.

Aug 4 '06 #1
14 1582
Br**************@gmail.com wrote:
Hello,

Im try to do some tricks to help make a "Search Many Sites from One
Location".
http://www.act.org.au/b_nexus.htm

What I have decided to do is this:
1. You can choose which site you wish to visit from the first page,
after pressing go it takes you to a frame page.

2. Inside the frame is the site, and a hidden frame

3. the hidden frame should be able to take the variable from the url
place it in a text box,
then place the text in that text box to the external sites textbox and
then submit.

giving them the search result

so far I have made the page for choosing the sites, made the sites
frame pages.
But the frame within those pages I cant get to take the variable from
the URL
and place it inits textbox, also I dont know from there how i can make
a Timeout
so that it then passes that text information on to the external site
and submits it.

Any ideas or suggestion would be greatly appreciated.
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.

Use as little or as much of the code as you like.

hth

Aug 4 '06 #2
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.
ThanksI 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

Aug 4 '06 #3
Br**************@gmail.com 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.

ThanksI 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.

What you are describing is cross-site scripting, and can be a serious
security threat, so most web-browsers prevent it.

hth

---
http://darwinist.googlepages.com/htmldesktop.html
(A free, open-source, web-based IDE, windowing system, and desktop
environment, in 31kB of html and javascript.)

Aug 4 '06 #4
darwinist said the following on 8/4/2006 3:50 AM:
Br**************@gmail.com 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.
ThanksI 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.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Aug 4 '06 #5
Randy Webb wrote:
darwinist said the following on 8/4/2006 3:50 AM:
Br**************@gmail.com 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.

ThanksI 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/
Aug 4 '06 #6
darwinist said the following on 8/4/2006 4:28 AM:
Randy Webb wrote:
>darwinist said the following on 8/4/2006 3:50 AM:
>>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.
It doesn't take knowing, it only takes a little reasoning to figure it
out. If a browser did allow it, it wouldn't take long for people to
figure it out and stop using the broken outdated piece of crap.

Too bad your posting Agent isn't any better than a browser that did
allow cross-domain scripting.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Aug 4 '06 #7
>
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.

What you are describing is cross-site scripting, and can be a serious
security threat, so most web-browsers prevent it.
They may as you say "sending a clear message" that they dont want
there systems used in that way. I have written to all the owners of
the sites I will be using and do have their permission.

Since most browsers will not allow cross-site scripting.

Does anyone know how to do this:

send to a new window a variable in the URL
then have that variable appear in the new windows text box and then
after a period
the submit is automatically clicked.

Aug 4 '06 #8
Br**************@gmail.com wrote:

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.

What you are describing is cross-site scripting, and can be a serious
security threat, so most web-browsers prevent it.

They may as you say "sending a clear message" that they dont want
there systems used in that way. I have written to all the owners of
the sites I will be using and do have their permission.

Since most browsers will not allow cross-site scripting.

Does anyone know how to do this:

send to a new window a variable in the URL
then have that variable appear in the new windows text box and then
after a period
the submit is automatically clicked.
If you have their explicit permission, then they need to know it's not
technically possible for security reasons, although a very small change
on their part could make it so (eg the url interpretation).

It's up to them if they let you search their website. If it's only a
small technical problem standing in the way, rather than their
intentions, then they may be happy to fix it.

hth

Aug 5 '06 #9
Randy Webb wrote:
darwinist said the following on 8/4/2006 4:28 AM:
Randy Webb wrote:
darwinist said the following on 8/4/2006 3:50 AM:
>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.

It doesn't take knowing, it only takes a little reasoning to figure it
out. If a browser did allow it, it wouldn't take long for people to
figure it out and stop using the broken outdated piece of crap.
People who knew about these things, sure. A lot of people use shitty
browsers in blissful ignorance of the dangers lurking.
Too bad your posting Agent isn't any better than a browser that did
allow cross-domain scripting.
What's wrong with google groups?
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Aug 5 '06 #10
darwinist said the following on 8/5/2006 1:35 AM:
Randy Webb wrote:
>darwinist said the following on 8/4/2006 4:28 AM:
>>Randy Webb wrote:
darwinist said the following on 8/4/2006 3:50 AM:
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.
It doesn't take knowing, it only takes a little reasoning to figure it
out. If a browser did allow it, it wouldn't take long for people to
figure it out and stop using the broken outdated piece of crap.

People who knew about these things, sure. A lot of people use shitty
browsers in blissful ignorance of the dangers lurking.
All browsers are susceptible to the dangers lurking. Some just more so
than others.
>Too bad your posting Agent isn't any better than a browser that did
allow cross-domain scripting.

What's wrong with google groups?
It's easier to tell you what is right with it. It's a great research
tool to search the archives. For posting, it's a piece of crap.

The least it could do would be to recognize a properly delimited
signature and strip it when quoting.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup
weeklyJavascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/
Aug 5 '06 #11
Randy Webb wrote:
darwinist said the following on 8/5/2006 1:35 AM:
Randy Webb wrote:
darwinist said the following on 8/4/2006 4:28 AM:
Randy Webb wrote:
darwinist said the following on 8/4/2006 3:50 AM:
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.
It doesn't take knowing, it only takes a little reasoning to figure it
out. If a browser did allow it, it wouldn't take long for people to
figure it out and stop using the broken outdated piece of crap.
People who knew about these things, sure. A lot of people use shitty
browsers in blissful ignorance of the dangers lurking.

All browsers are susceptible to the dangers lurking. Some just more so
than others.
True, but some of them are "safe enough", free, and open, whereas some
of them are not. Although they're all relatively "free" these days, in
different ways.
Too bad your posting Agent isn't any better than a browser that did
allow cross-domain scripting.
What's wrong with google groups?

It's easier to tell you what is right with it. It's a great research
tool to search the archives. For posting, it's a piece of crap.

The least it could do would be to recognize a properly delimited
signature and strip it when quoting.
Have you written to them about this? I can't think of a better
web-based usenet client. And I change terminals so often...

Would it help if I deleted your signature, like this:

[ this space left intentionally blank ]

I like your web page by the way.

Aug 5 '06 #12
darwinist said the following on 8/5/2006 3:04 AM:
Randy Webb wrote:
>darwinist said the following on 8/5/2006 1:35 AM:
>>Randy Webb wrote:
darwinist said the following on 8/4/2006 4:28 AM:
Randy Webb wrote:
>darwinist said the following on 8/4/2006 3:50 AM:
>>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.
It doesn't take knowing, it only takes a little reasoning to figure it
out. If a browser did allow it, it wouldn't take long for people to
figure it out and stop using the broken outdated piece of crap.
People who knew about these things, sure. A lot of people use shitty
browsers in blissful ignorance of the dangers lurking.
All browsers are susceptible to the dangers lurking. Some just more so
than others.

True, but some of them are "safe enough", free, and open, whereas some
of them are not. Although they're all relatively "free" these days, in
different ways.
I don't see how a browser that is not 100% secure is "safe enough". It
doesn't make a browser safe, it makes it less exploited is all.
>>>Too bad your posting Agent isn't any better than a browser that did
allow cross-domain scripting.
What's wrong with google groups?
It's easier to tell you what is right with it. It's a great research
tool to search the archives. For posting, it's a piece of crap.

The least it could do would be to recognize a properly delimited
signature and strip it when quoting.

Have you written to them about this?
I am not the first one to complain about it.
I can't think of a better web-based usenet client.
First, it isn't a web-based usenet client. Its a web-based interface to
Usenet. The difference is monumental.
And I change terminals so often...

Would it help if I deleted your signature, like this:

[ this space left intentionally blank ]
Actually, it does. It keeps me, and anybody else, that uses true
Newsreader software from having to strip the signature manually. It
wouldn't be quite so bad if Google wouldn't strip the trailing space off
the delimiter so that it becomes <dash><dash><returninstead of
<dash><dash><space><return>.
I like your web page by the way.
Thanks but it's not mine. It was written and is maintained by Matt
Kruse. I only added it to my signature.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Aug 5 '06 #13
Randy Webb wrote:
darwinist said the following on 8/5/2006 3:04 AM:
Randy Webb wrote:
darwinist said the following on 8/5/2006 1:35 AM:
Randy Webb wrote:
darwinist said the following on 8/4/2006 4:28 AM:
Randy Webb wrote:
darwinist said the following on 8/4/2006 3:50 AM:
>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.
It doesn't take knowing, it only takes a little reasoning to figure it
out. If a browser did allow it, it wouldn't take long for people to
figure it out and stop using the broken outdated piece of crap.
People who knew about these things, sure. A lot of people use shitty
browsers in blissful ignorance of the dangers lurking.
All browsers are susceptible to the dangers lurking. Some just more so
than others.
True, but some of them are "safe enough", free, and open, whereas some
of them are not. Although they're all relatively "free" these days, in
different ways.

I don't see how a browser that is not 100% secure is "safe enough". It
doesn't make a browser safe, it makes it less exploited is all.
So you just don't use javascript?
>>Too bad your posting Agent isn't any better than a browser that did
allow cross-domain scripting.
What's wrong with google groups?
It's easier to tell you what is right with it. It's a great research
tool to search the archives. For posting, it's a piece of crap.

The least it could do would be to recognize a properly delimited
signature and strip it when quoting.
Have you written to them about this?

I am not the first one to complain about it.
I can't think of a better web-based usenet client.

First, it isn't a web-based usenet client. Its a web-based interface to
Usenet. The difference is monumental.
Do you mean because the code that interfaces to the usenet servers runs
in google's rooms (not to mention, presumably, google's own usenet
servers)?

[...]

Aug 6 '06 #14
darwinist said the following on 8/6/2006 3:15 AM:
Randy Webb wrote:
>darwinist said the following on 8/5/2006 3:04 AM:
>>Randy Webb wrote:
darwinist said the following on 8/5/2006 1:35 AM:
Randy Webb wrote:
>darwinist said the following on 8/4/2006 4:28 AM:
>>Randy Webb wrote:
>>>darwinist said the following on 8/4/2006 3:50 AM:
>>>>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.
>It doesn't take knowing, it only takes a little reasoning to figure it
>out. If a browser did allow it, it wouldn't take long for people to
>figure it out and stop using the broken outdated piece of crap.
People who knew about these things, sure. A lot of people use shitty
browsers in blissful ignorance of the dangers lurking.
All browsers are susceptible to the dangers lurking. Some just more so
than others.
True, but some of them are "safe enough", free, and open, whereas some
of them are not. Although they're all relatively "free" these days, in
different ways.
I don't see how a browser that is not 100% secure is "safe enough". It
doesn't make a browser safe, it makes it less exploited is all.

So you just don't use javascript?
Who said anything about not using javascript? I was referring to
insecure browsers and they all are.
>>>>>Too bad your posting Agent isn't any better than a browser that did
>allow cross-domain scripting.
What's wrong with google groups?
It's easier to tell you what is right with it. It's a great research
tool to search the archives. For posting, it's a piece of crap.

The least it could do would be to recognize a properly delimited
signature and strip it when quoting.
Have you written to them about this?
I am not the first one to complain about it.
>>I can't think of a better web-based usenet client.
First, it isn't a web-based usenet client. Its a web-based interface to
Usenet. The difference is monumental.

Do you mean because the code that interfaces to the usenet servers runs
in google's rooms (not to mention, presumably, google's own usenet
servers)?
I mean the entire interface is junk for any use other than the archives.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Aug 6 '06 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: comp.lang.php | last post by:
On one of my sites, I have a TCL CGI script that has a security hole in spite of it having effective server-side validation (the fact that it's CGI IS its security hole). The front end is a PHP...
7
by: Harolds | last post by:
The code below worked in VS 2003 & dotnet framework 1.1 but now in VS 2005 the pmID is evaluated to "" instead of what the value is set to: .... xmlItems.Document = pmXML // Add the pmID...
5
by: Matthew Thompson | last post by:
I have as issue I am finding hard to research. I use a stored proecdure in SQL 2000 to provide search capability for our database of news stories and articles. Being an international magazine...
7
by: Wade Wegner | last post by:
Hello, I have been desperately trying to programmatically authenticate a windows user, create their credentials, and then redirect them to a different server while passing the credentials at the...
3
by: Steven J. Reed | last post by:
I must be missing something, because this should be easy to do. After the user has selected several options on a page, I do a database query which returns a few records that I want to pass to...
4
by: Shankar Ayyachamy | last post by:
Hi, I want to pass information from one page, which is in a site to a page which is in a different site. Can I pass an xml file between sites
12
by: Andrew Bullock | last post by:
Hi, I have two classes, A and B, B takes an A as an argument in its constructor: A a1 = new A(); B b = new B(a1);
6
by: Dan | last post by:
Hi all- I am trying to create a simple webpage to save me some time. The general idea is create a form where I can type in the ticker symbol of a company (ex: MSFT) and then select a bunch of...
3
by: =?Utf-8?B?QW5keQ==?= | last post by:
Hi, I'm having issues with what I'm *sure* is a simple problem. Basically having a problem passing a cookie between two sites. On Site A you sign in, and create a cookie with the users ID in it...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.