webextensions / live-css-editor

Source code for Chrome/Edge/Firefox/Opera extension Magic CSS (Live editor for CSS, Less & Sass)
https://chromewebstore.google.com/detail/live-editor-for-css-less/ifhikkcafabcgolfjegfcgloomalapol
MIT License
277 stars 58 forks source link

Request - delayed load #116

Open Dendrek opened 1 year ago

Dendrek commented 1 year ago

This extension is one of my all-time favorites. I sincerely thank you for making it.

I have one issue. A relatively minor but persistent one: this extension never loads properly for Disqus. I think the issue is that Disqus loads a moment after the webpage loads, which also seems to be after this extension loads. I can manually load the extension by clicking it, but that's somewhat inconvenient, and I have to deal with Disqus's horrid default design until then.

The feature I'm hoping for is something like a delayed load (to only load the extension after the website is fully loaded, perhaps?) option that can be toggled or white listed. Or really, whatever solution you might come up with that would make Disqus stop being the bane of my browsing experience.

Thank you.

webextensions commented 1 year ago

@Dendrek Thank you for the feature request 😀

Can you point us to a public website where Disqus is embedded in the way you are looking for? Also, can you describe some more details of the workflow? eg: Are you using the "Pin" feature (Apply styles automatically)

PS: There may be some other bugs related to loading/auto-loading the extension for iframe which we intend to fix but may take some time before a proper resolution is done.

Dendrek commented 1 year ago

Hi. Thank you for the reply.

The direct Disqus website: https://disqus.com/ Two other websites that use disqus:

I do have the editor pinned. And on every other website I use this extension, it loads automatically without issue.

On both the disqus main website and on mangakatana, if I open these pages in a new tab the stylesheet is not automatically applied. The disqus website is an odd case because it's not an iframe. I only just noticed that reaperscans does not have this loading issue. Suggesting it may not be a universal issue with disqus and instead has something to do with how it's loaded on individual sites.

Note that once the stylesheet has been applied to a browser tab once, I can (usually) freely navigate that website and the sheet continues to be applied.

Dendrek commented 1 year ago

I did some more investigations on these issues.

Regarding the issue of the code not loading on mangakatana:

Regarding the issue of the code not loading on the disqus webpage: