5 Cách tải file PDF trên Google Drive bị chặn tải xuống

//

5 Cách tải file PDF trên Google Drive bị chặn tải xuống giúp bạn xóa tan nỗi lo khi không thể tải được một file nào đó trên Google Drive.

Google Drive là công cụ của Google được ưa chuộng nhất hiện nay. Với tính năng có thể lưu lại dung lượng lớn các dữ liệu, Google Drive hỗ trợ rất nhiều cho công việc, học tập. Người dùng có thể tải lên Google Drive hình ảnh, video, file word, excel, MP3, MP4 để lưu trữ những dữ liệu đó.

Tuy nhiên, khi sử dụng Google Drive, người dùng thường xuyên gặp phải trường hợp một file PDF trên Google Drive bị chặn tải xuống. Vậy làm sao để khắc phục việc đó? Việc này là không quá khó khăn. Cùng tham khảo bài viết 5 Cách tải file PDF trên Google Drive bị chặn tải xuống của compamarketing nhé!

5 Cách tải file PDF trên Google Drive bị chặn tải xuống 

Cách 1: Sử dụng website pdf.dotool.net để tải file pdf Google Drive bị chặn download (hoạt động)

Sau đó nhập link muốn tải và chờ tải về. Thế là đã hoàn thành. Thật đơn giản đúng không nào?

Luuwebsite này hỗ trợ tải file: .pdf, .doc, .docx,…

Chi tiết hơn, bạn có thể tham khảo video sau:

Cách 2: Sử dụng mã code tải file Google Drive (hoạt động)

Bước 1: Bạn mở tài liệu PDF cần tải trong Google Drive

Bước 2 (quan trọng): Sau đó cuộn xuống trang cuối cùng (file PDF có 10 trang thì bạn cũng phải kéo xuống trang 10 nhé), phải kéo sao cho nó load hết tất cả các trang

Bước 3: Trên bàn phím, bạn bấm F12 để mở Developer Tools, sau đó click vào tab Console

Bước 4: Sao chép mã dưới đây và dán vào tab Console

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);
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);

Bước 5: Nhấn Enter và đợi kết quả

Video hướng dẫn tải file PDF trên Google Drive khi bị chặn tải:

Cách 3: Sử dụng trang web pdf.gdrive.vip/vi/

Bước 1: Vào file cần tải trên Google Drive > Nhấn F12 > Chọn mục Network > Nhấn F5.

Tải file từ Google Drive
Tải file từ Google Drive

Bước 2: Nhập loại file mà bạn muốn tải về. Có thể là IMG, PDF hoặc DOC. Trong ví dụ này mình nhập img vào mục Filter > Sao chép link bất kỳ trong phần kết quả.

Tải file từ Google Drive
Tải file từ Google Drive

Bước 3: Truy cập vào trang web TẠI ĐÂY > Dán đường link vào ô > Nhập trang bắt đầu, trang kết thúc, độ phân giải > Nhấn Get link.

Tải file từ Google Drive
Tải file từ Google Drive

Bước 4: Sau khi đã kiểm tra đủ hết các trang, nhấn Save/Print PDF.

Tải file từ Google drive
Tải file từ Google drive

Bước 5: Chọn Save as PDF (Lưu dưới dạng PDF) trong mục Destination (Máy in đích) > Nhấn Save (Lưu).

Tải file từ Google drive
Tải file từ Google drive

Cách 4: Sử dụng trang web urlgd.com/vi/download-pdf

Bước 1: Truy cập trang Google Drive của bạn> Sao chép URL liên kết tải xuống.

Tải file từ Google drive
Tải file từ Google drive

Bước 2: Truy cập trang web Tại đây > Dán đường link vào ô > Nhấn Start.

Tải file từ Google Drive
Tải file từ Google Drive

Bước 3: Chờ một lúc để trang web tải tập tin của bạn. Nhấp vào Download Now để tải tệp xuống.

Tải file từ Google Drive
Tải file từ Google Drive

Xem thêm: Google One là gì? Cách mua Google One [2022]

Cách 5: Tải file bị chặn bằng cách tạo bản Coppy

Bước 1: Truy cập liên kết để chia sẻ tệp PDF trên Google Drive. Trong trang giao diện Google Drive. Nhấp vào biểu tượng Google Drive – Thêm vào Ổ của tôi ở góc trên cùng bên phải. Hành động này giúp chúng tôi đưa tệp vào tài khoản Drive cá nhân của mình.

Tải file từ Google bị chặn
Tải file từ Google bị chặn

Bước 2: Sau khi hoàn thành tác vụ, tệp Google Drive sẽ được lưu trên Drive cá nhân của bạn.

Tải file từ Google bị chặn
Tải file từ Google bị chặn

Bước 3: Giao diện Drive cá nhân hiện ra > Chọn muc My Drive. Ta sẽ thấy file PDF đã được thêm vào ở bước trên hiển thị ra tại đây.

Tải file từ Google Drive
Tải file từ Google Drive

Bước 4: Nhấp chuột phải vào tệp> Chọn mục cần tạo bản sao. Google sẽ tự động tạo tệp từ bản gốc.

Chọn Tạo bản sao
Chọn Tạo bản sao

Bước 5: Sau khi tạo File thành công> Nhấp chuột phải vào File PDF và chọn tải xuống. Sau đó, tệp sẽ được tải xuống thiết bị của bạn.

Chọn Tải xuống
Chọn Tải xuống

Các lưu ý khi tải file PDF bị chặn tải xuống hoặc quá giới hạn tải trên Google Drive

– File PDF phải được chia sẻ ở dạng công khai “Mọi người”.

– Các file khi tải xuống sẽ được lưu ở dạng file ảnh.

– Không tải cùng lúc nhiều file được.

– Tốc độ tải tùy thuộc vào tốc độ mạng và số lượng trang file PDF gốc.

Trên đây là 5 Cách tải file PDF trên Google Drive bị chặn tải xuống nhanh chóng, dễ dàng mà compamarketing đã chắt lọc. Còn chần chờ gì nữa mà không thực hiện ngay để tải được file PDF bị chặn trên Google Drive nào. Nếu có bất kì thắc mắc gì, đừng ngần ngại để lại comment bên dưới để được compamarketing giải đáp sớm nhất nhé! Chúc các bạn thành công.
Keywords:
cách tải file trên google drive bị chặn tải xuống,tải file drive bị chặn,tải file pdf bị chặn,cách tải file từ google drive bị chặn download,cách tải file google drive bị chặn download,tải file trên google drive bị chặn,cách tải file pdf bị chặn,code tải file pdf bị chặn,tải pdf bị chặn,cách tải file drive bị chặn,tải file bị chặn trên google drive,tải file pdf bị chặn trên drive,tải file từ google drive bị chặn,cách download file pdf bị chặn trên web,tải file gg drive bị chặn,download google drive bị chặn,tải file google drive bị chặn,cách tải pdf trên drive bị chặn,cách tải file doc bị chặn trên google drive,cách tải file gg drive bị chặn,cách tải pdf bị chặn,cách tải file bị chặn,cách tải file drive không cho tải,download pdf google drive,tải file từ google drive bị cấm,cách download file trên google drive bị khóa,tải file pdf từ google drive,cách tải file bị chặn trên google drive,cách tải drive bị chặn,tải google drive bị chặn,tải file pdf bị chặn trên web,công cụ tải pdf google drive bị chặn,tải drive bị chặn,tải file doc bị chặn,cách tải tài liệu bị chặn trên drive,cách tải file từ google drive bị chặn tải,cách tải file doc trên google drive bị chặn tải xuống,file pdf không cho tải về,cách tải file word trên google drive bị chặn tải xuống,tải file doc bị chặn trên google drive,cách tải file pdf không cho tải,tải file pdf bị chặn 2020,công cụ tải pdf google drive online,download file pdf bị chặn,cách download file pdf bị chặn,google drive pdf,tải file google docs bị chặn,cách tải file pdf trên google drive khi bị chặn tải xuống,download file google drive bị chặn,pdf google drive download,tải pdf google drive,tải file drive không cho tải,tải file trên drive bị cấm,tải file google drive không cho tải,cách chặn tải file trên google drive 2022,google drive không cho tải file,tải pdf không cho tải,https://pdf.dotool.net/vi/,pdf dotool,tải link drive bị chặn,cách tải file không cho tải,google drive không cho download,cách download file pdf trên web,cách tải file drive,cách chặn tải xuống trên drive,cách tải video trên drive bị chặn
0 0 votes
Article Rating
Xem thêm bài viết thuộc chuyên mục: Blog
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments