Re:Live stylesheet editing
by ankit_ on Thursday September 30, 2010 @03:31AM
(#1742568)
Interesting find. I could use this idea in Stylebot (http://stylebot.me). It's a Chrome extension that allows you to live edit a custom stylesheet for any page on the web.
Re:Live stylesheet editing
by harisenbon on Thursday September 30, 2010 @02:23AM
(#1742472)
It looks like he just uses the "contenteditable" property ( http://valums.com/edit-in-place/ ) to make it editable, and then displays it as a word-wrap: pre element.
While I can't think of any immediate applications, I had never realized that contenteditable was so widely supported. I'm going to have to try using it in my next project...
Re:Live stylesheet editing
by aw3c2 on Thursday September 30, 2010 @04:56AM
(#1742694)
I doubt that is a problem with Adblock itself. I guess you mean you are using Adblock Plus with a filter subscription? Check what things are filtered on that page based on your filters.
Re:Live stylesheet editing
by Groxx on Thursday September 30, 2010 @09:36AM
(#1743189)
Oh, sorry, just realized that may have been interpreted incorrectly. The page works, but only with the example CSS - the Adblock code on the page is uneditable.
This is pretty cool.
1) How is it done?
2) How are you hiding how it's done?
Edit: Is it done through a Chrome extension?
While I can't think of any immediate applications, I had never realized that contenteditable was so widely supported. I'm going to have to try using it in my next project...