473,394 Members | 1,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Firefox addon help

5
Hello,

I'm working on a portion of my Firefox script which will when you click on a button it will call the openUrl function and open up the nwtools URL. Eventually I will be passing the eWhois variable into the openURL function so i can modify the host. Unfortunately it is not working at the basic stage of just opening the following url. Any ideas?



Expand|Select|Wrap|Line Numbers
  1. <groupbox>
  2. <caption label="DNS Tools"/>
  3. eWhois = document.getElementById('nWhois').value;
  4. <row><textbox id="nWhois" value=""/> <button label="whois" width="15" oncommand="openURL();"  /> </row>
  5. </groupbox>
  6.  
  7. function openURL() {
  8. wndow.open(http://nwtools.com/default.asp?prog=whois&host=cnn.com, "_blank", "chrome=true");
  9.  
  10. }            
  11.  
Jul 24 '07 #1
4 1530
drhowarddrfine
7,435 Expert 4TB
You misspelled window on the last line.
Jul 24 '07 #2
fluk3d
5
ok fixed it, it's working now except its not opening the variable at the end of the url


Expand|Select|Wrap|Line Numbers
  1. <groupbox>
  2. <caption label="DNS Tools"/>
  3. eWhois = document.getElementById('nWhois').value;
  4. <row><textbox id="nWhois" value=""/> <button label="whois" width="15" oncommand="openURL(eWhois);"  /> </row>
  5. </groupbox>    
  6.  
  7. function openURL(host)
  8. {
  9.  
  10. window.open("http://nwtools.com/default.asp?prog=whois&host=+host", "whois", "chrome");
  11. }    
Jul 24 '07 #3
fluk3d
5
anyone have any suggestions? im kinda stuck
Jul 24 '07 #4
drhowarddrfine
7,435 Expert 4TB
You should probably ask this in the javascript forum.
Jul 24 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: VK | last post by:
http://www.mozilla.com
0
by: spam | last post by:
I would like to create an addon that when a developer checks code into VSS from the .NET IDE, that it will automatically run an addon tool that they can then enter additional information about the...
2
nomad
by: nomad | last post by:
Alot of you are having problems with this. See if this site will help you are not. https://addons.mozilla.org/en-US/firefox/addon/3259 nomad
3
by: Victor | last post by:
my website is based on form authentication. in my web.config I have something like <authentication mode="Forms"> <forms name=".ASPXAUTH" loginUrl="~/modules/Login.aspx" protection="All"...
4
by: Brett | last post by:
Howdy folks, I have released an extension for Firefox which performs XSL transforms for an XML file. While Firefox automatically performs XSL transforms when an XSL stylesheet is attached via a...
1
by: Penn | last post by:
On my mac, I am running Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.7) Gecko/ 20070914 Firefox/2.0.0.7 and Safari Version 3.0.3 (522.12.1) My gadget:
6
by: plenty900 | last post by:
Hi folks, I've altered the PHP underlying a website to support a few languages other than English, but the Firefox version that I'm using is of course the English-language one. When I set the...
3
by: Sunny | last post by:
In IE, we can open an access database uing an Active X Object. How I can do the same in Firefox. As Firefox, dont allow you to create a Active X Object. Here is the IE Code. var myConnect =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.