Find Jobs
Hire Freelancers

Custom Firefox Toolbar Button Script Issue – Simple Script Fix

$10-30 USD

已完成
已发布大约 8 年前

$10-30 USD

货到付款
Hi, Having below issues with the following button I had to recreate. The button works but some of the tabs do not load properly in the background. The code runs off of a Firefox plugin called Custom Buttons created by Yan. This plugin also allows and executes JavaScript. [login to view URL] [login to view URL] Please only bid if you understand what I require. Very simple job for a JavaScript expert. /*Code*/ var myurl = [login to view URL](); //////CLIPBOARD TERM myurl = [login to view URL](); var text6 = myurl text6 = "''"+myurl+"''"; //////ADDS QUOTES TO BEGINNING AND END OF CLIPBOARD TERM (NEEDED WHEN EXACT SEARCHING A TERM IN GOOGLE) // myurl1 = text6; if(gBrowser.selectedTab.label=='(Untitled)' || gBrowser.selectedTab.label=='New Tab'){openUILink(myurl1);}else{gBrowser.selectedTab=[login to view URL](myurl1);}; [login to view URL](); // myurl5 = "[login to view URL]" + myurl; [login to view URL](myurl5); // myurl6 = text6 + "site:[login to view URL]"; [login to view URL](myurl6); [login to view URL](); // myurl7 = "[login to view URL]" + myurl; [login to view URL](myurl7); // myurl8 = text6 + "site:[login to view URL]"; [login to view URL](myurl8); [login to view URL](); // myurl9 = text6 + "site:[login to view URL]"; [login to view URL](myurl9); [login to view URL](); // myurl10 = text6 + "site:[login to view URL]"; [login to view URL](myurl10); [login to view URL](); \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ myurl1 - DOES NOT LOAD PROPERLY – It opens the new tab with the url formulated in the URL bar but does not automatically load the tab – Function: supposed to open a new tab and exact search in google "text6" - (text6 being the variable from clipboard) - SHOULD LOAD: [login to view URL] myurl5 - WORKS myurl6 - DOES NOT LOAD PROPERLY – It opens the new tab with the url formulated in the URL bar but does not automatically load the tab – Function: supposed to open a new tab and exact search term "text6" within site:[login to view URL] - (text6 being the variable from clipboard) - SHOULD LOAD: [login to view URL]:[login to view URL] myurl7 - TAB LOADS PROPERLY myurl8 - DOES NOT LOAD PROPERLY – It opens the new tab with the url formulated in the URL bar but does not automatically load the tab – Function: supposed to open a new tab and exact search term "text6" within site:site:[login to view URL] - (text6 being the variable from clipboard) - SHOULD LOAD: [login to view URL]:[login to view URL] myurl9 - DOES NOT LOAD PROPERLY – It opens the new tab with the url formulated in the URL bar but does not automatically load the tab – Function: supposed to open a new tab and exact search term "text6" within site:[login to view URL] - (text6 being the variable from clipboard) - SHOULD LOAD: [login to view URL]:[login to view URL] myurl10 - DOES NOT LOAD PROPERLY – It opens the new tab with the url formulated in the URL bar but does not automatically load the tab – Function: supposed to open a new tab and exact search term "text6" within site:[login to view URL] - (text6 being the variable from clipboard) - SHOULD LOAD: [login to view URL]:[login to view URL]
项目 ID: 9733167

关于此项目

1条提案
远程项目
活跃8 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
$35 USD 在2天之内
4.7 (13条评论)
5.3
5.3

关于客户

UNITED STATES的国旗
Pompano Beach, United States
5.0
7
付款方式已验证
会员自4月 3, 2012起

客户认证

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