Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8962051
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:02:31+00:00 2026-06-15T16:02:31+00:00

I had been able to do this up until Firefox 15 using: netscape.security.privilegeManager.enablePrivilege(UniversalXPConnect) and

  • 0

I had been able to do this up until Firefox 15 using:

netscape.security.privilegeManager.enablePrivilege("UniversalXPConnect")

and setting the signed.applets.codebase_principal_support option to true. Unfortunately as of FF 17 this functionality has been removed. From what I understand Chrome has been the same way for some time now.

Does anyone know if there has been a Firefox or Chrome extension created that allows for the use of enablePrivilege? If not, recommendations on where to start if building my own?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T16:02:32+00:00Added an answer on June 15, 2026 at 4:02 pm

    File API, the reason those have stopped working is because both have now implemented the html5 file api.

    Here is a html5 demo of the api.

    Here is the relevant script in case they remove the demo:

    <script>
    var holder = document.getElementById('holder'),
    state = document.getElementById('status');
    
    if (typeof window.FileReader === 'undefined') {
     state.className = 'fail';
    } else {
     state.className = 'success';
     state.innerHTML = 'File API & FileReader available';
    }
    
    holder.ondragover = function () { this.className = 'hover'; return false; };
    holder.ondragend = function () { this.className = ''; return false; };
    holder.ondrop = function (e) {
    this.className = '';
    e.preventDefault();
    
     var file = e.dataTransfer.files[0],
     reader = new FileReader();
     reader.onload = function (event) {
        console.log(event.target);
        holder.style.background = 'url(' + event.target.result + ') no-repeat center';
     };
     console.log(file);
     reader.readAsDataURL(file);
    
     return false;
    };
    </script>
    

    As a note: if you need to access a file on your local machine in chrome you need to run the program using this switch --allow-file-access-from-files (for using a file input without it actually loading to the server, otherwise you get a xhr cross-domain error).

    I don’t know of the equivalent in firefox.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had this weird problem a little while ago and haven't been able to
I've had a look around on StackOverlow but haven't been able to find a
I had been developing a console application, until our project needed a fancy UI
I had been racking my brains over creating a vertical alignment in css using
I know this question had been asked a hundred times, but I have difficulties
This is a common question to a problem that I have been able to
Until the preview release yesterday of ASP.NET MVC I had been desperately needing a
I've been customizing SharePoint 2007 through SP Designer and Visual Studio, but until this
I had been trying to get the tag name and its value in java
I had been asked to build crystal reports for an application, i used the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.