stylebot icon indicating copy to clipboard operation
stylebot copied to clipboard

Fix for iframe css injection

Open joshseltzer opened this issue 3 years ago • 4 comments

It seems that CSS was no longer being injected successfully into iframes. I am not sure why it stopped working (seems to have worked at some point in the past), but this solution does away with the old system for handling iframes (though that deprecated code could still be cleaned up), and simply iterates through all iframes found on the page and injects a <style> element for each one.

joshseltzer avatar Dec 18 '22 20:12 joshseltzer

Does this fix the issue ever since Chrome 108 of user styles not loading upon initial page load? The workaround is to reload the page for the styles to be applied. Hoping this patch obviates the need for the workaround.

589290 avatar Dec 28 '22 02:12 589290

Does this fix the issue ever since Chrome 108 of user styles not loading upon initial page load? The workaround is to reload the page for the styles to be applied. Hoping this patch obviates the need for the workaround.

@589290 not sure, I am not able to replicate the issue you're describing on Chrome 108, is there an existing issue?

joshseltzer avatar Dec 28 '22 05:12 joshseltzer

is this still an issue?

Thorvarium avatar May 10 '23 14:05 Thorvarium

I'm still experiencing this issue. Chrome Version 116.0.5845.188

rthomasdesign avatar Oct 06 '23 20:10 rthomasdesign