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

javascript:
var n = document.querySelectorAll('iframe[src*=docs\\.google]')[0],
k = document.createElement("a");
k.setAttribute("href",n.getAttribute("src"));
k.setAttribute("target","_blank");
k.setAttribute("style","display:block");
k.innerText = "Open Google Slides";
n.parentElement.insertBefore(k,n);
Editing a bookmark
javascript: 
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 view.click(), setTimeout(func,10)
};
func()
Link to the Google Slides

--

--

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