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 8922589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:52:36+00:00 2026-06-15T06:52:36+00:00

I have this: <div class=openexcel> <a href=./xxxxx.xls> Open excel file </a></div> I have added

  • 0

I have this:

<div class="openexcel"> <a href="./xxxxx.xls"> Open excel file </a></div>

I have added this code too:

$('.openexcel').click(function(){
/* some code here*/
});

Is there any way or any code to add to javascript where I can stop the “save” button once the excel file is opened.

I need the user to read and see but I don’t want him to “save” or “save as”

  • 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-15T06:52:38+00:00Added an answer on June 15, 2026 at 6:52 am

    This isn’t possible, especially not using javascript.

    Once the user opens up the excel document, it is open on their local machine, from their local cache.

    You won’t have any control over the functions available within their Excel software.

    When making data available over the web, you need to accept that there is not a way of preventing people from keeping hold of this data.

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

Sidebar

Related Questions

I have this HTML code: <div class='com_box'> <div class='com_box_c'> <div class='com_box_info'> <a id='quote'>quote</a> </div>
I have this code: <div class = content-dir-item> <p>Text input</p> <img src=./images/email.png class =
I have this jquery code : $(document).ready(function() { $('div.badge_button > .more').click(function() { var id
So I have this code: jQuery('div[class=someClass] :input:not(:button)').each(function() { if (input type is drop-down) {
i have this: <div class=selection> <a class=current href=#>1</a> <div class=class>text</div> <a href=#>2</a> <div class=class>text</div>
I have this link <div class=new-div ><a href=<?php the_permalink(); ?>><?php the_title(); ?> In this
I have this code, window.onload = function(){ if($('div.colorPicker').length){ $(div.colorPicker).click(function(){ if($('.field_sku').length){ code = $(this).children('.tmpSKU').html(); if(!code
Ok, I'm quite new to CSS3. I have this code: <div class=Mat-Shadow-Box-Text> <div class=Mat-Shadow-Box-TextBleu2>
I have this code: <div class=window-compl> <div class=window showincatalog showing> <h2>Text1</h2> </div> <div class=window>
I have this HTML code: <div class =lvlone> <div class = lvltwo> Hello <span>World</span>

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.