473,383 Members | 1,843 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,383 software developers and data experts.

Make a clickable url which opens/creates 2 Firefox configuration files

58
As a start page I usually have several of my bookmarks and a "Home portal". I have decided that I want a new feature.

Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <script language="javascript">
  3. onclick="document.location.href="about:config"
  4. </script>
  5. </html>
  6.  
It doesn't appear to be working. What I want to do is make a clickable url that creates 2 pages of the Firefox configuration file. So that i can change values, then alt tab and look at my default values. Basically I click the link "Config" and it pops open twice.
Mar 24 '08 #1
2 1331
hsriat
1,654 Expert 1GB
I think the browser doesn't permit you to open about:config from a link within the HTML.

Even your code is wrong.
Instead of writing it in script tag, write it inside a button tag.[html]<button onclick="document.location.href='www.theScripts.co m'">Open Link</buttom>[/html]Also use the quotes carefully.
Mar 24 '08 #2
acoder
16,027 Expert Mod 8TB
Also, replace document.location with window.location.

PS. changed the thread title to something more meaningful.
Mar 24 '08 #3

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

Similar topics

5
by: Matt Bostock | last post by:
Hi, Please see: http://www.drfunkenstein.net/catalogue/categories/fancydress/81/go/2/ ...and try clicking on the '< previous' link underneath the costume thumbnails. The link is only...
3
by: mallyonline | last post by:
Thank you for your previous help. I posted regarding listing the names of files held in a folder on the server and making the list appear clickable. This has now been accomplished. The...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
3
by: wolfing1 | last post by:
In several of my pages I need to show an area with a background image and HTML text in certain places. The restrictions I have is that I can't use javascript or CSS positioning like 'float', so I...
6
by: divya | last post by:
I have a page name edit.asp which should expire immediately .The user cannot open this page directly he has to provide a password for entering this page.thus when the user enters edit.asp , it has...
7
by: Jeff Gaines | last post by:
I have spent the day learning how to use Zend Development Environment. I can now produce a list of files in a directory, filtered by extension, and apparently clickable. Unfortunately clicking on...
16
by: ekokaos | last post by:
I have an image of an open book as the main menu on my website. Each word written in the book links to a related page. I would like to develop it further and have it so that the person can click a...
2
by: GloStix | last post by:
For some reason, FF likes to put a black underline on all my buttons. No matter what I do, it has the line I've tried displaying as block and cursor, anything.. Also I've been trying to get it so...
3
by: =?Utf-8?B?RXJpYw==?= | last post by:
I just deployed a ClickOnce application to a large amount of users. Several are unable to run the application. There is a shortcut that is a url to a ..application file. The ClickOnce app is set...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.