• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Tips to download blocked PDF and Word files on Google Drive

AnonyViet by AnonyViet
January 24, 2023
in Tips
0

Google Drive is a cloud storage service used by many people to share data. However, there are some people who block the feature of downloading PDF and Word files, only allowing users to read the content. But if it is an important document and you want to download it for editing, follow the Tips to download blocked PDF and Word files on Google Drive below, you will be able to download the entire content of PDF and Word on Google Drive. .

Join the channel Telegram of the AnonyViet 👉 Link 👈

Download blocked PDF and Word files on Google Drive

When you view PDF and Word files on Google Drive without the Download button, to download the file, follow these steps:

Step 1: Copy link PDF is blocked Download on Google Drive.

download pdf bi-chan google drive

Step 2: Visit the page pdf.dotool.netcopy the path of the PDF file that is blocked from Download and paste it in the search box, then press the . button Start.

pdf google drive

Step 3: pdf.dotool.net will recognize the number of pages and posts above, check if the content is enough. Then choose Download quality. If you choose quality Short you will be free to download, but if you choose Medium, high quality, you need to pay to download. If your content is just text, you should choose low quality enough to read the content.

download pdf file from google drive

Step 4: You need to wait a few seconds for the system to process Download PDF, WORD files from Google Drive. In the process of getting the download link, you must not close the browser window, otherwise you will not be able to get the blocked PDF file. Once completed, you will see the Click Download File button appear, click to download the blocked PDF file and you’re done.

download PDF WOrd bi-chan Drive

Download blocked PDF files on Google Drive with Script

You can also download PDF and Word files that are blocked from downloading on Google Drive with the Scirpt fragment shared on Gdrive.vip, by the following ways:

Step 1: Open the PDF file on Google Drive, Drag the mouse to the last page of File being read.

Step 2: Press F12

Step 3: Switch to Console Tab

pdf download is blocked

Step 4: Paste this Script into the Console and press Enter. Wait a few seconds and you will see the PDF file automatically download to your computer

let jspdf = document.createElement("script");
jspdf.onload = function () {
    let pdfDocumentName = "Document-GDrive.VIP";
    let doc;
    function generatePDF (){
        let imgTags = document.getElementsByTagName("img");
        let checkURLString = "blob:https://drive.google.com/";
        let validImgTagCounter = 0;
        for (i = 0; i < imgTags.length; i++) {
            if (imgTags[i].src.substring(0, checkURLString.length) === checkURLString){
                validImgTagCounter = validImgTagCounter + 1;
                //console.log(imgTags[i].src);
                let img = imgTags[i];
                let canvas = document.createElement('canvas');
                let context = canvas.getContext("2d");
                canvas.width = img.naturalWidth;
                canvas.height = img.naturalHeight;
                //console.log("Width: " + img.naturalWidth + ", Height: " + img.naturalHeight);
                context.drawImage(img, 0, 0, img.naturalWidth, img.naturalHeight);
                let imgDataURL = canvas.toDataURL();
               // console.log(imgDataURL);
                //let ratio;
                let orientation;
                if (img.naturalWidth > img.naturalHeight){
                    //console.log("Landscape");
                    orientation = "l";
                    //ratio = img.naturalWidth/img.naturalHeight
                }else {
                    //console.log("Portrait");
                    orientation = "p";
                    //ratio = img.naturalWidth/img.naturalHeight
                }
                let scalefactor = 1.335;
                let pageWidth = img.naturalWidth * scalefactor;
                let pageHeight = img.naturalHeight * scalefactor;
               //let imagexLeft = (pageWidth - img.naturalWidth)/2;
               //let imagexTop = (pageHeight - img.naturalHeight)/2;
                if (validImgTagCounter === 1){
                    doc = new jsPDF({
                        orientation: orientation,
                        unit: "px",
                        format: [pageWidth, pageHeight],
                    });
                    doc.addImage(imgDataURL, "PNG", 0, 0, img.naturalWidth, img.naturalHeight);
                }else{
                    doc.addPage([pageWidth, pageHeight] , orientation);
                    doc.addImage(imgDataURL, "PNG", 0, 0, img.naturalWidth, img.naturalHeight);
                }
            }
        }
        pdfDocumentName = pdfDocumentName + ".pdf";
       doc.save(pdfDocumentName);
    }
    let allElements = document.querySelectorAll("*");
    let chosenElement;
    let heightOfScrollableElement = 0;
    for (i = 0; i < allElements.length; i++) {
        if ( allElements[i].scrollHeight>=allElements[i].clientHeight){
            if (heightOfScrollableElement < allElements[i].scrollHeight){
                //console.log(allElements[i]);
                //console.log(allElements[i].scrollHeight);
                heightOfScrollableElement = allElements[i].scrollHeight;
                chosenElement = allElements[i];
            }
        }
    }
    if (chosenElement.scrollHeight > chosenElement.clientHeight){
        console.log("Auto Scroll");
        let scrollDistance = Math.round(chosenElement.clientHeight/2);
        //console.log("scrollHeight: " + chosenElement.scrollHeight);
        //console.log("scrollDistance: " + scrollDistance);
        //www.gdrive.vip
        let loopCounter = 0;
        function myLoop(remainingHeightToScroll, scrollToLocation) {
            loopCounter = loopCounter+1;
            console.log(loopCounter);
            setTimeout(function() {
                if (remainingHeightToScroll === 0){
                    scrollToLocation = scrollDistance;
                    chosenElement.scrollTo(0, scrollToLocation);
                    remainingHeightToScroll = chosenElement.scrollHeight - scrollDistance;
                }else{
                    scrollToLocation = scrollToLocation + scrollDistance ;
                    chosenElement.scrollTo(0, scrollToLocation);
                    remainingHeightToScroll = remainingHeightToScroll - scrollDistance;
                }
                if (remainingHeightToScroll >= chosenElement.clientHeight){
                    myLoop(remainingHeightToScroll, scrollToLocation)
                }else{
                    setTimeout(function() {
                        generatePDF();
                    }, 1500)
                }
            }, 500)
        }
        myLoop(0, 0);
    }else{
        console.log("No Scroll");
        setTimeout(function() {
            generatePDF();
        }, 1500)
    }
};
jspdf.src="https://gdrive.vip/wp-content/uploads/2020/jspdf.debug.js";
document.body.appendChild(jspdf);

Process downloaded PDF, Word for editing

According to the feature Download blocked PDF files on Google Drive, when you download it is a screenshot of each document page. Therefore, although you can download the blocked PDF file to your computer, you can only view it, not edit or copy the content. To be able to change the content of the PDF file, you need to convert the image into text using the following trick:

Go to Google Drive -> upload the PDF file on your computer to Google Drive again.

Right click on the uploaded file -> Open with -> Google Docs

mo pdf file google tai lieu

So you can edit the content of the PDF file then, after editing, select File -> Download -> Docx to have the Word file on your computer.

The article achieved: 5/5 – (100 votes)

Tags: blockedDownloaddrivefilesGooglePDFtipsword
Previous Post

Lesson 174: How to use the IRR function in Excel

Next Post

Lesson 166: How to use the Xlookup function in Excel

AnonyViet

AnonyViet

Related Posts

4 ways to fix bluetooth connectivity on Windows 11
Tips

4 ways to fix bluetooth connectivity on Windows 11

August 8, 2025
How to know the computer is tracked and processed by Keylogger
Tips

How to know the computer is tracked and processed by Keylogger

August 7, 2025
Opal: Create applications who do not need to write code
Tips

Opal: Create applications who do not need to write code

August 3, 2025
How to activate a new Start menu on Windows 11
Tips

How to activate a new Start menu on Windows 11

July 29, 2025
Intellgpt: AI tool for osint and data science
Tips

Intellgpt: AI tool for osint and data science

July 28, 2025
How to create Google Ai Pro 12 months free with Indian student account
Tips

How to create Google Ai Pro 12 months free with Indian student account

July 27, 2025
Next Post
Lesson 166: How to use the Xlookup function in Excel

Lesson 166: How to use the Xlookup function in Excel

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
How to add application to your favorite bar

How to add application to your favorite bar

August 14, 2025
Wowhay.com – The door opens the world of modern knowledge and network culture

Wowhay.com – The door opens the world of modern knowledge and network culture

August 13, 2025
Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
How to add application to your favorite bar

How to add application to your favorite bar

August 14, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply