Live data from Hacker News

Review my weekend project: Webapp to add CSS to any website and share the result

csspivot.com

91–98 of 98 posts

Re: Review my weekend project: Webapp to add CSS to any website and share the result

#91
post #12

Not quite sure the implementation you have (whether you iframe it or pull content in and redisplay it), but thought of a few suggestions: 1) inject the style tags w/ javascript and it will refresh the CSS content without doing a page reload. We do this on our editors and works well:) 2) Make the text box more coder friendly (allow indents, for one). Great idea!

Will do (both)! Thanks.

Both done!

Re: Review my weekend project: Webapp to add CSS to any website and share the result

#92
post #26

One suggestion: add a button on your top bar to view the original site (flip back and forth) to compare before-and-after.

Yes, this. I found myself constantly removing all the styles to compare the custom version to the original.

Yes me too, actually. Will add something to toggle between the original and the custom website shortly (tomorrow or the day after).

Re: Review my weekend project: Webapp to add CSS to any website and share the result

#94

Nice project - I made something like this 10 years ago but with editing the HTML that was pulled in instead of CSS. Brings back memories :) Only note; perhaps you should block out CSS expressions, going to http://www.csspivot.com/1HDq6 in IE will not be a pleasant experience at the moment...

Thanks, will do!

Re: Review my weekend project: Webapp to add CSS to any website and share the result

#95
post #41

You should remind the user to add "!important" to their styles. I was puzzled for a few seconds.

Maybe it would be better to add this automatically, even if it’s hidden from the user? I imagine this would match the intent of most uses.

Added a reminder inside the title of the dialog. Didn't want to change the user's css -- if they copy it out it might no work then.

Re: Review my weekend project: Webapp to add CSS to any website and share the result

#96

Woow, I like it. I could actually use it as a simpler replacement for Stylebot. However, I have a feature request: let me change the css styles _without_ changing the url.

Is coming today, for registered users!

done

Re: Review my weekend project: Webapp to add CSS to any website and share the result

#97
post #30

How much noticeable overhead would be introduced by adding something like xray http://www.westciv.com/xray/&#62 ; ? xray or an even simpler implementation being included would make this service even greater.

Good idea -- I'm definitely interested in a lightweight element selecter.

Re: Review my weekend project: Webapp to add CSS to any website and share the result

#98

Earlier quoted context omitted.

Thanks for the feedback! The missing characters are because the of unicode decoding in Python. If the content-encoding if not found in the html headers it will replace all unknown characters. I'm working on improving that. The // is something I can fix right now. [edit] the // link bug is fixed, and it also allows https:// links (which i noticed that it didn't work because i pasted in your urls)

Have you considered using this: http://chardet.feedparser.org/ to detect the encoding? I'm not sure if this helps, but seems like it would.

Thank you for the link! Will definitely give it a try (tomorrow)!
Post reply on HN