将文本传递到不同的站点 [英] Passing text to Different Sites

查看:46
本文介绍了将文本传递到不同的站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我尝试做一些技巧来帮助制作一个从一个搜索多个网站

位置。
< a rel =nofollowhref =http://www.act.org.au/b_nexus.htmtarget =_ blank> http://www.act.org.au/b_nexus.htm


我决定做的是:

1.您可以从第一页选择您想访问的网站,
$按b后b $ b将你带到框架页面。


2.框架内部是网站,隐藏框架


3.隐藏框架应该能够从网址中取出变量

将其放在文本框中,然后将
放入该文本框中的文本到外部网站文本框和

然后提交。


给他们搜索结果


到目前为止我已经制作了页面选择网站,制作网站

框架页面。

但是这些页面中的框架我不能从

获取变量网址

并将其放在文本框中,我也不知道如何制作

a超时

以便它然后将该文本信息传递到外部网站

并提交它。


任何想法或建议都将不胜感激。

解决方案

Br ************** @ gmail.com 写道:


您好,


我尝试做一些技巧来帮助制作一个从一个搜索多个网站

位置。
http://www.act.org.au/b_nexus.htm


我决定做的是:

1.您可以从第一页选择您想访问的网站,

按下go后会转到框架页面。


2在框架内部是一个网站,一个隐藏的框架


3. hidd en frame应该能够从url中获取变量

将它放在一个文本框中,然后将
放入该文本框中的文本到外部站点文本框和

然后提交。


给他们搜索结果


到目前为止我已经做了选择网站的页面,制作网站

框架页面。

但是这些页面中的框架我不能从

获取变量URL

并将其放入文本框中,我也不知道如何制作

a超时

以便它然后将该文本信息传递给外部网站

并提交。


任何想法或建议将不胜感激。



大多数浏览器都会阻止跨站点脚本编写,并且有充分的理由。


大多数搜索引擎都可以用正确的方式搜索网址,例如:
http://groups.google.com/小组?q =将文本传递到不同的网站

将其粘贴到地址栏中或将其作为新窗口的URL传递

,您将看到问题是第一个结果。


在iframe中搜索任意数量的外部

网站的完整免费工作示例,请访问:
http://darwinist.googlepages.com/htmldesktop.html


按帮助按钮按钮,查看如何创建新的

搜索框的示例。


尽可能少用或少用代码。


hth


大多数浏览器都会阻止跨站点脚本编写,这是有充分理由的。


>

大多数搜索引擎都可以使用正确的网址进行搜索,例如:
http://groups.google.com/groups?q=passing 文本到不同的网站

将其粘贴到地址栏中或将其作为新窗口的URL传递

,您将看到您的问题作为第一个结果。


在iframe中搜索任意数量的外部

网站的完整免费工作示例,请访问:
http://darwinist.googlepages.com/htmldesktop.html

按帮助 ;按钮,查看如何创建新的

搜索框的示例。



谢谢我知道搜索引擎使用。单词添加到他们的URL。

但我搜索的网站使用不了。


所以我必须使用隐藏的框架来保存变量。


所有我需要知道的是..

如何在一个窗口内获得一个框架才能读取最后一个

个字符从URL,

之后?问号。

然后如何将其添加到其文本框然后将其传输到另一个

帧文本框

并具有相同的框架将其提交到另一个文本框,使

另一帧提交。


感谢您的帮助


Br ************* *@gmail.com 写道:


大多数浏览器都会阻止跨站点脚本编写,并且有充分的理由。 />

大多数搜索引擎都可以使用正确的网址进行搜索,例如:
http://groups.google.com/groups?q=passing 文本传递到不同的网站

将其粘贴到地址栏中或将其作为新窗口的网址

,你会看到你的问题作为第一个结果。


完整而免费的工作示例在iframe中搜索任意数量的外部

网站,请访问:
http://darwinist.googlepages.com/htmldesktop.html

按帮助按钮按钮,查看如何创建新的

搜索框的示例。



谢谢我知道搜索引擎使用。单词添加到他们的URL。

但我搜索的网站使用不了。


所以我必须使用隐藏的框架来保存变量。


所有我需要知道的是..

如何在一个窗口内获得一个框架才能读取最后一个

个字符从URL,

之后?问号。

然后如何将其添加到其文本框然后将其传输到另一个

帧文本框

并具有相同的框架将其提交到另一个文本框,让

另一帧提交。


感谢您的帮助,无论如何



如果这些搜索引擎:

a)不接受从您的域名提交的表格,并且

b)不允许通过网址搜索


然后他们发送一个非常明确的消息,否则他们自己的系统

是错误的。


您所描述的是跨站点脚本,并且可能是严重的安全威胁,因此大多数Web浏览器都会阻止它。


hth


---
http:// darwinist.googlepages.com/htmldesktop.html

(一个免费的,开源的,基于Web的IDE,窗口系统和桌面
环境,在31kB的html和javascript中。)


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.

解决方案

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


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


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


这篇关于将文本传递到不同的站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆