Xatta-Trone / medium-parser-extension

Read medium.com and medium based articles using google web cache.
MIT License
1.25k stars 76 forks source link

Extension works on all sites #20

Closed polarise-art-stankov closed 8 months ago

polarise-art-stankov commented 8 months ago

Hi, as this extension should only work on Medium, please make it do that. Because currently it can change some elements on other websites (for example GitHub), as it doesn't check which website you are on. I've been able to mitigate this for now by setting "Site access" option to "On specific sites" and adding "https://medium.com" there:

image
Xatta-Trone commented 8 months ago

No, it works on the medium.com and all medium.com based sites (like towardsdatascience and all custom medium based sites). Because I can not list all the medium based site, so I had to come up with a better solution. Now, before running the script, it always checks if the content is from the medium CDN or not. If it is from the medium CDN, the script stops ( you can check the source code yourself for verification). Therefore, you have nothing to worry about.

Xatta-Trone commented 8 months ago

Moreover, if you want to run it only in medium.com, you can always restrict the access to medium.com.

polarise-art-stankov commented 8 months ago

No, it works on the medium.com and all medium.com based sites (like towardsdatascience and all custom medium based sites). Because I can not list all the medium based site, so I had to come up with a better solution. Now, before running the script, it always checks if the content is from the medium CDN or not. If it is from the medium CDN, the script stops ( you can check the source code yourself for verification). Therefore, you have nothing to worry about.

Oh, didn't know that. Okay then, thanks for explanation