How to download Embedded Google Slide Presentations (published to the web)

var n = document.querySelectorAll('iframe[src*=docs\\.google]')[0],
k = document.createElement("a");
k.innerText = "Open Google Slides";
Editing a bookmark
var atag = "punch-viewer-content",
btag = "-caption",
ctag = "aria-setsize",
dtag = "aria-posinset",
msvg = document.getElementsByTagName("svg"),
node = document.querySelectorAll('[class$="' + btag + '"]')[0],
view = document.getElementsByClassName(atag)[0],
size = node.getAttribute(ctag),
data = "",
func = () => {
data += msvg[0].outerHTML;
if((i = node.getAttribute(dtag))==size) document.write(data);
else, setTimeout(func,10)
Link to the Google Slides




Founder @ Jetbrain Robotics

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

JavaScript Bundlers, a Comparison

Maximum profile for Salesman traveling between 2 cities

AWS — Deploying Angular App With NGINX on EKS

Angular 12 Multiple Image Upload To S3 using DropZone & AWS-SDK

JavaScript Fetch

Why Should We Use Context API?

Javascript: ES6 & Beyond

5 Principles of Useful UX Design in Minimalism

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ajay Vishnu

Ajay Vishnu

Founder @ Jetbrain Robotics

More from Medium

Tips For Creating The Perfect Accent Wall

How to export kindle highlights to notion?

SharePoint Comparing Dates Without Workflow or Any Kind Of Trigger Dynamically

Hacking my dumbphone