stylish icon indicating copy to clipboard operation
stylish copied to clipboard

Styles applied to non-applicable websites with an <iframe> from another domain

Open lmurgatroyd opened this issue 7 years ago • 11 comments

With the latest version (2.0.4), and Safari (11.0.1) or Safari Technology Preview (Release 43), styles for websites with different URLs are being applied when there is an embedded iframe for another domain on that site.

For example, theguardian.com has an iframe embed for youtube.com. When a style is applied to youtube.com, it will also be applied to theguardian.com.

screen shot 2017-11-14 at 13 55 00 screen shot 2017-11-14 at 13 54 54

lmurgatroyd avatar Nov 14 '17 12:11 lmurgatroyd

Yep, confirm that when I have a dark Google style, basically every website becomes dark...

tzm41 avatar Nov 15 '17 01:11 tzm41

#34 Another bug fix was a reason for this one. Confirmed and updated in 2.0.6. Will be available in autoupdate soon or you can download it directly from website https://sobolev.us/stylish

350d avatar Nov 15 '17 06:11 350d

Thanks for fixing it!

tzm41 avatar Nov 15 '17 12:11 tzm41

Not seeing the update though Safari Extension Gallery yet?

tzm41 avatar Nov 17 '17 16:11 tzm41

Is 2.0.6 released?

tzm41 avatar Nov 30 '17 03:11 tzm41

2.0.8 released and submitted to Apple. Waiting for approval.

350d avatar Nov 30 '17 03:11 350d

Great! I am still on 2.0.5 and not seeing update yet.

tzm41 avatar Nov 30 '17 03:11 tzm41

@tzm41 I have beta release here, do you want to test it? (new editor available too)

350d avatar Nov 30 '17 03:11 350d

Ah sure

tzm41 avatar Nov 30 '17 04:11 tzm41

stylish.2.0.9.zip

350d avatar Nov 30 '17 04:11 350d

New editor now supports EMMET shortcuts (ex ZEN Coding in old versions of Stylish), so you still can expand any css shortcuts to full snippets with TAB key like bgs:c to background-size: cover;. Let me known what you think about it. CSS validation can show you the number of errors and highlight exact lines in realtime. Code highlighted with CodeMirror project.

350d avatar Nov 30 '17 04:11 350d