CSS Naked Day plugin for WordPress automatically strips off XML/HTML stylesheet references, embedded stylesheets and inline styles—all without editing your template! It also provides a function to determine whether it is the 9th of April on the recommended worldwide 48-hour CSS Naked Day period or just your local 24-hour period if ever you want to automate a message telling viewers why your site is in the nude.
Download Plugin
Usable Functions
bool is_naked_day(void)
-
returns
true
when it is the 9th of April on the time span you’ve set,false
otherwise. Sample usage:<?php if (is_naked_day()) { ?> <h3>What happened to the design?</h3> <p>To know more about why styles are disabled on this website visit the <a href="http://naked.dustindiaz.com" title="Web Standards Naked Day Host Website">Annual CSS Naked Day</a> website for more information.</p> <?php } ?>
Known Issues
The plugin would also delete occurences of inline styles (style=""
) that are intended as text and not as the attribute for styling markup itself. For example, in CSS tutorial pages.
Resolved in Version 1.1.2
In versions prior to 1.1.2, the plugin would cause errors for some inline styles that have escaped quotation marks of the same type as the attribute value delimiter.
For example:
style="font-family:\"Lucida Grande\",\"Lucida Sans Unicode\",sans-serif;"
… would leave …
Lucida Grande\",\"Lucida Sans Unicode\",sans-serif;"
… in the markup, as the regular expression could only remove code from the style
attribute only up to the first matching quotation mark without regard to the escaped ones.
Change Log
- Version 1.2
- Released 4 April 2008
-
Changes:
- Changed CSS Naked Day date to reflect event move from April 5 to 9.
- Version 1.1.2
- Released 6 April 2007
-
Changes:
- Fixed regex for patterns to avoid possible conflicts.
- Fixed known issue about escaped quotation marks in inline styles.
- Version 1.1.1
- Released 5 April 2007
-
Changes:
- Fixed stylesheet reference regex/consuming all
<link>
elements before targetted one.
- Fixed stylesheet reference regex/consuming all
- Version 1.1
- Released 31 March 2007
-
Changes:
- Added option to activate only during the 24-hour local time.
- Added configuration page.
- Version 1.0.1
- Released 30 March 2007:
-
Changes:
- Fixed embedded stylesheet regex/conflict with delimiter.
- Version 1.0
- Released 28 March 2007
-
- First release of the CSS Naked Day plugin.
License
Copyright © 2007-2008 Aja Lorenzo Lapus
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
188 replies on “CSS Naked Day”
[…] If even you want to participate then register your site in the official site and then strip the CSS from your site. If you are on WordPress then you can use this plugin. […]
[…] 9 Ð°Ð¿Ñ€ÐµÐ»Ñ Ð¾ÐºÐ»ÑŽÑ‡Ð¸Ñ‚ÑŒ на Ñайте вÑе оформление. Ðа Ñтранице акции даже предлагаютÑÑ ÑредÑтва автоматизации Ñтой операции, вплоть до плагинов к Wordpress. […]
let’s get naked again 🙂
[…] naked for 24 hours in all the various timezones around the world. I’ve installed the WordPress CSS Naked Day plugin, which offers a local time mode (just 24 hours) and a 48-hour mode, which is the […]
[…] CSS Naked Day 过CSS裸奔节用的,æ¯å¹´è£¸å¥”节自动裸奔 […]
[…] in letos se ji pridružujem Å¡e sam. ÄŒe uporabljate WordPress, potem je reÅ¡itev zelo enostavna. Plugin – CSS Naked Day vas reÅ¡i odveÄne CSS navlake in vaÅ¡ blog postane gol, kot Å¡e ni bil nikoli. […]
[…] Link: WordPress Naked Day Plugin […]
[…] å¦å¤–ï¼Œå¦‚æžœä½ ç”¨çš„æ˜¯Wordpress,并且懒得改页é¢ï¼Œè¿™å„¿è¿˜æœ‰ä¸ªCSS裸奔节æ’件: http://www.ajalapus.com/downloads/css-naked-day/ […]
[…] rest of the world, I’ll help promote Web Standards – plain and simple. I’ll be using Aja’s WordPress Naked Day plugin to simplify the code […]
Can’t wait to join my first naked day! Woot! 🙂
-Dulce
[…] WordPress users running versions 2.x you can use the WordPress Naked Day Plugin. For WordPress versions below 2.x you can use CSS Naked Day WordPress Plugin and for non WordPress […]
[…] bloccherà la visualizzazione dei CSS solo il giorno 9 aprile. Lo potete scaricare sulla pagina di Aja. Altri plugin per piattaforme diverse o un codice php per bloccare i css automaticamente, sono […]
[…] Ha wordpresst használsz, akkor ajánlom Aja pluginjét […]
[…] pouvez utiliser le plugin wordpress CSS Naked Day dont la page de l’auteur est déjà sans CSS… Qui le fait aussi […]
[…] If Annual CSS Naked Day is over, then everything will be back to normal again. How did I do this you may ask. I used Aja Lapus’ Word Press Plug-in. […]
Oh!
this time is 8.April 2008 but your plugin stripped off all my style.css not 9.april 2008 ;);)
/shocking/
and your site is also without style.css hours before 9.04.2008 😉
regards
[…] 关于裸奔节,å‚çœ‹å®˜ç½‘å’Œä¸æ–‡ä»‹ç»ï¼ŒWordpressçš„æ’件在这里。 Author: Benny […]
[…] [My CSS Naked effort powered by Aja Lapus’ CSS Naked Day Plugin] […]
Monika, my plugin defaults to 48 hours of April 9 anywhere around the world to activate. Maybe you wanted to set your blog to just the local time. Look for the Options/Settings on your WordPress admin. 🙂
[…] You can download the plugin on WordPress or the Plugin Home Page. […]
[…] options last year on how to turn off your blog’s stylesheet using WordPress Plugins with WordPress Naked Day Plugin for all WordPress versions, CSS Naked Day WordPress Plugin for pre-WordPress 2x blogs, the Naked […]
[…] 4月9å·æ˜¯CSS Naked Day,所以我的åšå®¢å°±æˆè¿™æ ·äº†ã€‚所谓CSS Naked Day就是将页é¢çš„CSSæ ·å¼éƒ½ç•¥æŽ‰ï¼Œåªæ˜¾ç¤ºæ–‡æœ¬å†…å®¹çš„ä¸€ç§æ´»åŠ¨ï¼Œå¤§å®¶éƒ½å«å®ƒ“裸奔日”ã€‚è™½ç„¶æˆ‘ä¸æ˜¯æžè®¾è®¡çš„,但是也凑一回çƒé—¹ã€‚我åšå®¢ç”¨äº†Wordpress Naked Day Plugin,有感兴趣的也å‚与一下å§ã€‚ […]
[…] für das WordPress-Blog kommt das CSS Naked Day-Plugin zum Einsatz. Ab Mitternacht wird für 24 Stunden jeglicher CSS-Verweis also aus den Sourcen […]
[…] y a bien un plugin WordPress qui s’occupe de tout, mais ça m’embête mon mettre à nu de la sorte mon […]
[…] Jutro na Å›wiecie jest prowadzona akcja “CSS Naked Day“, tak wiÄ™c jutro szata bloga bÄ™dzie… uboższa, proszÄ™ wiÄ™c siÄ™ nie przestraszyć Plugin do WordPressa dostÄ™pny tutaj. […]
[…] sich dafür interessiert und selber bloggt, findet hier übrigens ein passendes PlugIn. Don’t think, just […]
[…] firstly deleted the main stylesheet to remove the look and feel; and secondly downloaded Aja’s CSS Naked Day plugin for WordPress to do the same for my […]
[…] desnudará su estilo mañana. Yo he optado por utilizar el plugin de WordPress Naked Day que automáticamente calcula si es 9 de abril de 2008 para eliminar todas las hojas de estilo. En […]
[…] even a wordpress plugin that lets you strip of that design without touching your html. And thanks to Lorelle for reminding […]
[…] the official CSS Naked Day Site for more info and to learn how to participate. There is a WordPress Naked Day Plugin to make it easy for a lot of […]
[…] all you WordPress fans, there is a plugin for CSS Naked Day that strips out stylesheet references, embedded stylesheets and inline styles for you…all […]
[…] WordPress 用户,这里有一个现æˆçš„æ’ä»¶ï¼ŒCSS Naked Dayï¼Œä½ å¯ä»¥ç›´æŽ¥ä¸‹è½½ï¼Œè§£åŽ‹ç¼©ï¼Œç„¶åŽä¸Šä¼ 到 […]
[…] de PHP que elimina los estilos, o buscar la opción más sencillas como yo, que es instalar un plugin que se encargará de […]
[…] WordPress 用户,这里有一个现æˆçš„æ’ä»¶ï¼ŒCSS Naked Dayï¼Œä½ å¯ä»¥ç›´æŽ¥ä¸‹è½½ï¼Œè§£åŽ‹ç¼©ï¼Œç„¶åŽä¸Šä¼ 到 […]
[…] tiene que he instalado el plugin y asà me ha quedado el huerto. Si quieres sumarte y tienes WP, bájate el plugin, actÃvalo y en Opciones, ponle el valor ‘24 (local WP time)’. Y nada, que te sea leve. […]
[…] Today Bald Man’s Wardrobe is provided by Aja Lapus. […]
[…] through a wordpress plugin which disables automatically the CSS at April 9th, you can download it here. As here, I’ll do it on my main webpage, visualDelusions. Share and Enjoy: These icons link […]
[…] deseas unirte, como nosotros, a esta iniciativa, puedes usar el plugin de WordPress Naked Day que automáticamente calcula si es 9 de abril de 2008 para eliminar todas las hojas de estilo. No […]
[…] P.S. WordPress懶人如我,å¯å®‰è£Ajaçš„Wordpress Naked Day Plugin。 […]
[…] Aja’s updated most excellent WordPress Naked Day Plugin […]
[…] ich selbst zu faul müde war, um bis 0 Uhr aufzubleiben, habe ich gestern Abend schnell das CSS Naked Day-Plugin von Aja Lapus installiert. Es hat, wie man sehen kann, seinen Dienst ganz prima […]
[…] información: CSS Naked Day) Esta entrada fue escrita por Daniel López y publicada el dÃa 9 Abril 2008 a las 9:57, en las […]
[…] really sure why the heck I’m participating, but hey why not go with the flow…There is a plugin which automagically has stripped all of the CSS from my site for today only, without impacting the […]
[…] maap, kirain masih tanggal 8. Duh ikutan berpartisipasi gag ya ? Gw dah pasang plugin untuk wordpress tapi belum tak aktifin. Rencananya baru mo diaktifin tanggal 8 april, lha kok […]
[…] using the WordPress Naked Day Plugin by Aja’s. If you liked that post, then try these…No Final Answer?Well well, the day has […]
[…] makes participating in Naked Day ‘08 super easy by providing a plugin that will automatically turn off my CSS template. The result should be a text-based, […]
[…] the annual CSS Naked day. Today, I have disabled my CSS on this site, with the use of this plugin, that will automatically disable all CSS on your wordpress blog. Just download, unzip, and upload […]
[…] ÐÐ¹Ñ Ð¾Ð½Ð¾Ð²Ð¸Ð² пречудовий плаґін до ВордпреÑу WordPress Naked Day Plugin […]
[…] Now, this site is actually a bit of a cop-out. I don’t have any static pages at the moment, I’m running WordPress. I didn’t even write my own templates. All I had to do was install a plug-in. […]
[…] devem remover o CSS. Eu fiquei meio bolado pensando em como fazer isso… quando achei um maravilhoso plugin pro WordPress! E depois que coloquei o OneClick Install, foi pá-pum pra instalar e terminar […]