Find Jobs
Hire Freelancers

cross-browser popunder

$30-250 USD

已取消
已发布超过 10 年前

$30-250 USD

货到付款
All browsers nowadays block popup windows and popunders. There are many workarounds for different browsers, and I need a cross-browser solution. I need you to provide a single-file javascript code, which will be included in a webpage like this: var popunder_url="[login to view URL]"; Your script will open a popunder and will load the URL from popunder_url variable inthere. Define: Popunder is a browser window opened under the current webpage while the original webpage still keeps focus. Since automatically opened window is mostly blocked in all browsers, your script should attach appropriate event listeners on click events and open the popunder on first user click rather than on page load, because that way the browsers will let it go through. Several hacks may be needed to properly open the popunder on all browsers, including focus() and blur() manipulation, hidden iframe form submit, and so on. However since the user most likely clicks on a link which he wants to follow (even a link with target=_blank attribute), the user experience must be preserved - when the user clicks the link, the popunder should load under the current webpage and the current webpage must still behave like before: if the link clicked had no target attribute, it should simply load the link in current window. If the link clicked had a target=_blank attribute, a new tab or window must be opened which gets the focus, exactly the same as like if no popunder was opened. The popunder must jump to back in all circumstances and the user must be able continue browsing the very same way like if the popunder was not opened. It is probable that the popunder will flicker for a short while while it is opening, that is acceptable, but then it has to blur to background. It has to work properly in IE, Chrome and Firefox (all latest versions).
项目 ID: 4792777

关于此项目

远程项目
活跃11 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作

关于客户

CZECH REPUBLIC的国旗
Sumperk, Czech Republic
5.0
67
付款方式已验证
会员自4月 5, 2009起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。