Convert javascript to CSS

About: Google Reader Absolutely Compact
edited May 2009 in Style Reviews
I have a modified version of 'google reader absolutely compact'. I'd like to post it on this site. Unfortunately, the site accepts only CSS. Is there a way to convert javascript to css ?

this is my first time.

Comments

  • You might want to look into posting it on userscripts.org. There is already one there (http://userscripts.org/scripts/show/39653), so you may want to see if yours is that much different.

    If you wind up posting it, add the link here.
  • http://userscripts.org/scripts/show/50607
  • Script updated to,
    - Hide 'Like' feature
    - Hide 'Author' info for open feeds.
  • find the var css line then remove var css = " and ";
    then add the rest here
    @namespace url(http://www.w3.org/1999/xhtml); @-moz-document url-prefix("http://google.com/reader"), url-prefix("http://www.google.com/reader"), url-prefix("https://google.com/reader"), url-prefix("https://www.google.com/reader"){ /*css goes here*/ }
  • It worked -> http://userstyles.org/styles/19675
    Thanks ChoGGi !
  • you need to remove some things from that css line:
    var css = "
    and from the end:
    ";

    that stuff is for javascript so it'll probably make the style not work
Sign In or Register to comment.