Google Docs Copy

28/04/2023, 20:00:49

ผู้เขียน
KraXen72
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
81
คะแนน
0 0 0
เวอร์ชัน
1.0
สร้างเมื่อ
29-04-2023
อัปเดตเมื่อ
29-04-2023
สัญญาอนุญาต
MIT
ปรับใช้กับ

Google Docs Copy

allow copying from google docs which have forbidden copying

how to use it

  • go to google docs link which has forbidden copying
  • open browser console with f12/ctrl+shift+i
  • see console logged message with all of the content
  • right click > copy message

how it works

  • google docs loads content through inline script tags, which define a DOCS_moduleChunk chunk, then do some wasm stuff with it and set DOCS_moduleChunk = undefined
  • this script first finds all these script tags, filters them and get's their content
  • it then removes the line where it does DOCS_moduleChunk = undefined, and evals it, returning the chunk
  • then just extract the text from the js object and concat all chunks together
  • due to this, formatting is not preserved, but atleast, you have content.
  • if it does not work for you, please, in the feedback comment, leave the google doc url so i can test it on something & fix it