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

  • SEARCH
  • Home
  • 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 8586001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:12:14+00:00 2026-06-11T22:12:14+00:00

I need to know all options to disable the native Firefox Print Dialog on

  • 0

I need to know all options to disable the native Firefox Print Dialog on a Website.

Assume the Stack Exchange don’t like that the users are able to print the privacy policy by the File > Print option.

Therefore it should be possible to add JavaScript that deactivates this option.
Something similar to the technique some websites are using to "disable" right-clicks on images.

Is this possible?

More Background:

It’s not the case that i like to do it. I have to validate that my customers are not doing ugly stuff like this on their websites (more then 1000 websites).

  • 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-11T22:12:16+00:00Added an answer on June 11, 2026 at 10:12 pm

    It is absolutely not possible with JavaScript to access such things – the Print-Dialog is native and not to be disabled. Even if it were possible, one could just disable JavaScript.

    A much better alternative is to use CSS. Most browser apply the print stylesheets when they are to print the current page, so you could include something like:

    @media print {
        body { display:none; }
        /* or */
        #box-that-tells-the-reader-there-is-nothing-to-print { display:block; }
        .print-hide-information { visibility:hidden; }
    }
    

    Of course one could remove that CSS code from the DOM, or just take a screenshot of his browser etc. Whatever files you send a user to view, he will be able to save them – you can’t prevent that. Your only possibility is to build a proprietary reader/viewer for your encoded contents to constrain the user (which could get hacked, too), but that is no option on the open web.

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

Sidebar

Related Questions

I am doing a project, for which I need to know all the wikipedia
I need to know if all the client-side validator checks have succeeded, or if
I've got a problem where I need to know about all the bindings that
Afternoon All, I have a web site where i need to know who is
Hallo all. if i have week number 42 and i need to know what
As my title, i need to know whether a file contains all the crash
i need all permutation from N lists, i dont know N until the program
Does anyone know why my site is all messed up on safari? I need
Having a hard time with this one as I don't think I know all
Need to know this so that i could send DTMF and that is going

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.