473,769 Members | 2,044 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1643
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.javas cript 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.javas cript 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.javas cript 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.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Aug 5 '06 #10

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

Similar topics

11
3102
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 script, and I am writing server-side validation onto it, however, it is required to redirect to the TCL CGI script because only a CGI script has the ability to access a group-accessible XML script on the back end. I had to take the whole thing...
7
2868
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 parameter to the XSLT stylesheet XsltArgumentList xsltArgList = new XsltArgumentList(); xsltArgList.AddParam("pmID", "", pmID); xmlItems.TransformArgumentList = xsltArgList;
5
4077
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 publisher we use foreign characters extensively. When searching for words (I am using Full Text Indexing and using the CONTAINSTABLE method) with accented characters such as Møller (Second character is Alt+0248) the form receives back Møller
7
2619
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 same time so that they don't have to login again. Specifically, I have two webservers in the same domain. When I have a user go to Webserver A (which uses basic authentication) I programmatically create either a user credential or impersonate...
3
2577
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 another page via XML. How do I do this? I typically Response.Redirect around my app, including various parameters. Do I just include the XML as a parameter as in: Response.Redirect("page.aspx?" & ds.WriteXML)
4
1088
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
2685
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
2729
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 different sites from buttons or links to financial sites such as Yahoo Finance, BigCharts, Routers, etc. Each of those financial sites has a different format for their URLs such as...
3
1852
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 When the user wants to purchase anything (and enter CC details) we want to pass the user to the secure site, which is on the same server. Alas the cookie is not being picked up on the secure site. a) Both sites are on the same box
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9996
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7410
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5307
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3964
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3564
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.