I have a Javascript bookmarklet that people want to add to their bookmarks.
In Win 2k and below, addToFavorites( ) works fine. In Windows XP it
generates a permission error and does nothing except show the "javascript
error" icon in the lower left hand corner of Internet Explorer.
My questions:
- Is there a way to do this that works with Windows XP?
- If it's a security level thing, is there a way for the Windows XP user to
"whitelist" my site?
- Is there a way to get this to work, that does not involve the user
lowering their security level, which I won't ask them to do?
If there is no reasonable way to get this done, what's the most convenient
way I can instruct the user to do, to add my bookmarklet to their IE
Favorites list?
Thanks. 3 6493
I meant:
window.external .AddFavorite()
not
addToFavorites( )
Thanks.
Robert Oschler wrote: window.external .AddFavorite()
<button onclick="window .external.AddFa vorite(location .href,
document.title) ;">test</button>
Works just fine on XP SP1
This method doesn't work for HTA's.
Otherwize the problem must be somewhere else.
Robert Oschler said the following on 8/11/2005 8:22 PM: I have a Javascript bookmarklet that people want to add to their bookmarks. In Win 2k and below, addToFavorites( ) works fine. In Windows XP it generates a permission error and does nothing except show the "javascript error" icon in the lower left hand corner of Internet Explorer.
Double-click that icon and see what the error message says.
My questions:
- Is there a way to do this that works with Windows XP?
Yes.
- If it's a security level thing, is there a way for the Windows XP user to "whitelist" my site?
Probably not for that use.
- Is there a way to get this to work, that does not involve the user lowering their security level, which I won't ask them to do?
Yes.
If there is no reasonable way to get this done, what's the most convenient way I can instruct the user to do, to add my bookmarklet to their IE Favorites list?
"To bookmark this page, right click and choose 'Add to Favorites'"
somewhere on the page. Along with possible other directions for other
browsers.
--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Answer:It destroys the order of the conversation
Question: Why?
Answer: Top-Posting.
Question: Whats the most annoying thing on Usenet? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Yitzhak |
last post by:
I am having "Permission denied" error while calling
LogEvent method of WScript.Shell component.
Basically, ASP page calls Windows Script Host Shell
component to log events to the OS Application Event log.
My environment:
Windows Server 2003, IIS 6, WSH, Classic ASP, Vbscript
Below is the code and the error:
Code:
|
by: dx27s |
last post by:
Hi all,
I'm working with the XMLHttpRequest object. I receive the following
error message: "Permission denied to call method XMLHttpRequest.open"
This occurs in Firefox only. IE works fine.
From my research so far, it seems like this is a security issue related
to the fact that I am trying to access a url on a second server. Both
servers are under my control, however. Is there a way to get around this
|
by: Mark E. Hamilton |
last post by:
Sorry, I probably should have re-stated the problem:
We're using Python 2.3.5 on AIX 5.2, and get the follow error messages
from some of our code. I haven't yet tracked down exactly where it's
coming from:
sem_trywait: Permission denied
sem_wait: Permission denied
sem_post: Permission denied
|
by: Vlad de Mille IV |
last post by:
Well, as the subject says....
Briefly, when I try to run *any* wizard, I get a simple dialog, stating
"Permission Denied", to which I can only click "OK".
I suspect this is a windows (XP) problem rather than an actual Access
one, as the error only occurs in my power user (and any other) account.
It goes away if I am logged on (to windows) as Administrator.
Full Permission for Everyone is set on the drive and folder(s)
|
by: deko |
last post by:
Why am I getting: "Error Number 70: Permission denied" when trying to move a
folder with the Microsoft Scripting Runtime?
Is there some security setting I don't know about?
Platform: Windows XP SP2 / Access 2003
Private Sub MoveFolder(strDestination As String)
'required references:
'Microsoft Office 11.0 Object Library
| |
by: Russell Warren |
last post by:
I've been having a hard time tracking down a very intermittent problem
where I get a "permission denied" error when trying to rename a file to
something that has just been deleted (on win32).
The code snippet that gets repeatedly called is here:
...
if os.path.exists(oldPath):
os.remove(oldPath)
os.rename(newPath, oldPath)
|
by: Charlie |
last post by:
I am trying to make an XMLHttpRequest which violates the default "same-
origin"policy in Firefox. I checked the archives and found a method
that should work but it does not. Below is the test code I isolated. I
set signed.applets.codebase_principal_support true and seemed to get
the UniversalBrowserRead permission but then the open still failed
with the same old "Permission denied to call method
XMLHttpRequest.open" error. Can someone tell...
|
by: hussain123 |
last post by:
We have a main window (call it Parent). Clicking on a link in the main window will open up another IE window (Child) using the loadInFrame() method.
In the Child window, i load another IE window (which loads an applet. Call this SubChild). This is for the first time. Now if i go ahead and click on the link in the Parent window, the Child and the Subchild windows are refreshed. None of the windows are closed.
Now if i refresh the Parent...
|
by: shriyer |
last post by:
Hey..
, when i try single stepping through the code, after a long time, it abruptly gives the error message .." permission denied ".. ??? what is it for?
If i run it without singlestep, it gives a sigint at diff points in the program...
If it were to be in an endless loop, why would it spit " permission denied"
shrikant
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| | |