自动打开和关闭页面 [英] auto open and close page

查看:98
本文介绍了自动打开和关闭页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在打开第一页时创建一个Web应用程序

它将在打开网站的情况下多次打开网站


例如,它将打开google.com 10次,并在所有弹出窗口均关闭后自动关闭弹出窗口重定向到其他页面(例如第2页),然后对yahoo.com等其他网站再次执行相同的任务

例如,我创建了一个打开多个弹出窗口的功能

hi i want to create a web application when i open the first page

it will open the website in should open a website in a pop up multiple times


for example it will open google.com 10 times and auto close the pop up when all the pop up are close redirect to other page say page 2 and again repeat the same task for other site like yahoo.com

example i have created a function to open multiple popup

function call()
	{
	  var a=0;
	 
	  for ( a=0 ;a<200;a++)
	  {
	   
	    window.open(''http://www.google.com'',''a''+a,''height=300,width=600'');
	  }
	}


现在我想自动关闭所有弹出窗口并重定向到其他页面

在下一页上,相同的过程将在其他站点上运行,并持续运行约100页.


now i want to auto close all the pop up and redirect to other page

on the next page same process will run for other site and keeps on going for around 100 page

推荐答案

我讨厌弹出窗口.而且您正试图一次显示许多弹出窗口!
除了广告,您还有其他原因吗?
I hate popups. And you are trying to show many popups at a time!!
Do you have any other reason than adverts?


这篇关于自动打开和关闭页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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