プロジェクト
概要
ネタバレ注意!サイト上のネタバレを隠せる、ちょっと楽しいJavaScript。
その他のプロジェクト計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルSPOILER ALERT!
Don't spoil it! Hide copy and images with a bit of SVG blur. Taste on mouseover. Eat on click.
Do you publish spoilers? Do you wish you could have them on your page in a way that wasn't fucking rude? With Spoiler Alert! you can! Hide spoilers with a bit of blur.
Usage
To make your site spoiler free, simply include spoiler.js, then, add this somewhere:
spoilerAlert('spoiler, .spoiler');
To control the maximum and partial blurs, you can pass arguments:
spoilerAlert('spoiler, .spoiler', {max: 10, partial: 4});
Have fun! Play with it!
Demo
Take a look at this to see it in action!
Tested browsers
- Chrome
- Safari
- Firefox
- Mobile Safari
関連プロジェクトを探す
読み込み中…