Medium Unlocker (2023-12-06 updated)

Automatically detect Medium articles (including subdomains and custom domains) and replace the URL with readmedium.com to unlock Medium Posts.

< 腳本Medium Unlocker (2023-12-06 updated)的回應

提問/評論

§
發表於:2024-06-30

Code Minor Issue

    if (document.body.outerHTML.lastIndexOf("cdn-client.medium.com") < 0) {
        return;
    }

document.body can be null as document-start.

Please consider to use MutationObserver.observe(document) to trigger the checking when document.body is ready, or document-idle

發表回覆

登入以回復