Profile

Cover photo
Kevin Burton
3,857 followers|87,632 views
AboutPostsPhotosYouTube

Stream

 
Huh.  I think I found a potential browser security issue in Safari/Chrome... haven't tested Firefox.

If you call document.styleSheets[0].cssRules on a cross origin resource it will be null.

If you're on the same origin it will work as expected and you can get all the right cssRules you expect.

However, as a back door, you can call window.getMatchedCSSRules ... and you can get the rules that way.  Including the cssText and the selector that matches the rule.

I mean I don't really think it's a huge bug... but it might need to get fixed.
1
Ade Oshineye's profile photoPaul Kinlan's profile photo
2 comments
 
File it on crbug.com and WebKit bug tracker.
Add a comment...

Kevin Burton

Shared publicly  - 
 
Hm... seems like a great idea.  The only problem is she doesn't read any of her emails.  Even ones with subject lines like "bin ladin determined to strike in us"
Condoleezza Rice, former United States Secretary of State and National Security Advisor has joined the board of cloud file storage and syncing firm Dropbox...
1
Add a comment...

Kevin Burton

Shared publicly  - 
1
Add a comment...

Kevin Burton

Shared publicly  - 
1
Add a comment...
Have him in circles
3,857 people

Kevin Burton

Shared publicly  - 
 
It would suck to be the last person to die after they discover the cure for death.
2
Steven Hystad's profile photoGrant Marlenee's profile photo
2 comments
 
Naw. No problem at all. Just ask Dr. Herbert West about that.
Add a comment...

Kevin Burton

Shared publicly  - 
 
From my recent backpacking trip...
1
Add a comment...

Kevin Burton

Shared publicly  - 
1
Add a comment...

Kevin Burton

Shared publicly  - 
1
Add a comment...

Kevin Burton

Shared publicly  - 
1
Add a comment...
People
Have him in circles
3,857 people
Basic Information
Gender
Male
Story
Tagline
This is my tagline, there are many like it but this one is mine.
Links