Hey. Sorry missed out to see this comment Sarah. Although this could be due to quite lot of reasons, my best guess is that the page contains other embedded items apart from the Google Slides (or even ads, youtube, etc).

If that’s the case try replacing the first line of the first bookmark from:
document.getElementsByTagName(“iframe”)[0];

to this:
document.querySelectorAll(‘iframe[src*=docs\\.google]’)[0];

Founder @ Jetbrain Robotics

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