Automatically detect Medium articles (including subdomains and custom domains) and replace the URL with readmedium.com to unlock Medium Posts.
< Opiniones de Medium Unlocker (2023-12-06 updated)
if (document.body.outerHTML.lastIndexOf("cdn-client.medium.com") < 0) { return; }
document.body can be null as document-start.
document.body
document-start
Please consider to use MutationObserver.observe(document) to trigger the checking when document.body is ready, or document-idle
MutationObserver.observe(document)
document-idle
Inicia sesión para responder.
Code Minor Issue
document.body
can be null asdocument-start
.Please consider to use
MutationObserver.observe(document)
to trigger the checking whendocument.body
is ready, ordocument-idle