How to Save Google Docs with ‘Export Options Disabled’?

Looking to Copy and Save Google Docs Files with View Only Permissions? Here is the Best Method to Download Export Protected Files Using Chrome Browser.

Google Docs offers the owner of the file option to disable download, printing, and copying of the file. This means the Google Docs File Shared with restricted permissions can only be viewed and cannot be copied, edited, or downloaded. The protected Google Doc file is not easy to download or save.

If you wish to save the content of the protected doc file then, there is a trick. It is not that easy as hitting a button to download the file. We will use Chrome’s Dev Tool to get a hand on Docs. Though the file is protected, the content still has to be stored inside the HTML code of the website to load the file. We will use this HTML to extract the Doc Content. The post below is a little technical and you may need a couple of attempts to successfully save the view-only restricted Google Doc File.

Export Options Disabled

Steps to Save the Download Protected Google Docs

Here are the Steps to Save or Download the Google Docs File with View Only Permissions on PC

  1. Open the Restricted Doc file and in Chrome Browser.
  2. Now open Developer Console by pressing Ctrl + Shift + C for Windows or Cmd + Shift + C for Mac.
  3. Reload the page and under the Elements Tab look for the <div> tag that covers all the content in blue shade.
    Open Elements Tab
  4. Generally, you will find the <div> that covers the entire page with blue shade tag with ‘<div class=”app-container”>…</div>‘.
  5. Now right click on the div container element and select Edit as HTML.
  6. Now the HTML box will open.
  7. Copy all the content from the container box.
  8. Now open a new doc.
  9. Here again, open Dev Tools, reload the page and look for the <div> tag with <div class=”app-container”>…</div> that covers the entire page with blue shade.
  10. Again right-click on the div container element and select Edit as HTML.
  11. Here paste the copied content, close the console. All the GDocs data will appear on the new doc created.
    Paste Copied Content
  12. Done! 😄
    All Data into new Doc with Images

Alternative Method to Copy Google Docs Using JS Script

You again need to use Google Chrome Developer Console. The file is blocked using Javascript code. You need to disable the JS and add a manual JS script to copy the Google Docs. This method was shared on Github.

  1. Open the protected GDoc using Chrome. Change the end of the document URL from `/edit` to `/mobilebasic`
  2. Scroll all the way down to the bottom to make sure that it is entirely loaded.
  3. Now open Developer Console by pressing Ctrl + Shift + C for Windows or Cmd + Shift + C for Mac.
  4. Open the Command Console [Ctrl+Shift+P for Windws & Cmd + Shift + C for Mac].
  5. Search “javascript”, and select the option “Disable Javascript“.
  6. Now click on the Console Tab and look for a small arrow marker.
  7. Here paste the JS code from below and hit enter.
  8. Do not close the Dev Console and reload the page.
  9. Now you can close the Dev Tools and copy and from the document.
  10. Done!😀

function rtcScript() {
    document.oncontextmenu = null;
    document.onselectstart = null;
    document.onmousedown = null;
    document.onclick = null;
    document.oncopy = null;
    document.oncut = null;
    var elements = document.getElementsByTagName('*');
    for (var i = 0; i < elements.length; i++) {
        elements[i].oncontextmenu = null;
        elements[i].onselectstart = null;
        elements[i].onmousedown = null;
        elements[i].oncopy = null;
        elements[i].oncut = null;
    function preventShareThis() {
        document.getSelection = window.getSelection = function() {
            return {isCollapsed: true};
    var scripts = document.getElementsByTagName('script');
    for (var i = 0; i < scripts.length; i++) {
        if (scripts[i].src.indexOf('') > -1) {
    if (typeof Tynt != 'undefined') {
        Tynt = null;
setInterval(rtcScript, 2000);


Using Dev Tools you can extract the View Only Protected Google Docs File and Save them as a Fresh Doc File. Follow the guide carefully. If you find it difficult to locate the div container tag, just reload the page and try again. I hope the post is helpful, do comment below for any assistance or support.

If you've any thoughts on How to Save Google Docs with ‘Export Options Disabled’?, then feel free to drop in below comment box. Also, please subscribe to our DigitBin YouTube channel for videos tutorials. Cheers!

Nikhil Azza
Nikhil is a Tech Blogger who sometimes loves to write real-life lore. He has been writing content for the past 8 years, with over 1K+ articles written on Android, Mac, iOS, Social Media, Cloud Storage, Software, and General Tech. Know More

16 Responses

  1. Walker says:

    The mobilebasic option works 100%.

  2. Andrew says:

    A little struggling finding Command Console on Mac, it should be Cmd+Shift+P, not ‘C’. Just a little mistake.
    It worked terrifically. Thanks a lot!!

  3. Vanessa says:

    These options no longer work. 🙁

    • Nikhil says:

      I just test, and it works. I request you to try again.

  4. dfff says:

    will they find out ’bout it if i used these methods

    • Nikhil says:

      No! Your Identity is Safe

  5. Samantha says:

    I would like to know how to do it for Google Slides. Do you have a page for that?

    • Nikhil says:

      Will create a post soon!

      • Sarah says:

        any update on how to do this for Google Slides yet? many thanks!

  6. Alfred says:

    Any idea if this can be done for google sheets?

  7. Muhammad Usman says:

    Any hack for Google Slides?

  8. nld says:

    Tried both methods for google docs and neither worked… The first method loaded the section headers in the sidebar but not the actual document. I’m wondering if the fact that the document is 225 pages has something to do with it? Is there a way to only download segments of the document?

  9. David says:

    Please help me, I would like to know how to do it for Google Slides. any tricks or recommendation for it?

    Thanks in advance.

  10. Poyo says:

    Thank you very much for your tutorial, i tried the first one but how do i save the changes i have made as a new document ? Doesn’t this technique only change the appearance of the webpage ?

Leave a Reply

Your email address will not be published. Required fields are marked *