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]