프로젝트
GitHub에서 보기
joshbuddy/spoiler-alert
소개
스포일러 주의! 사이트에서 스포일러를 숨겨 주는 작고 유쾌한 JavaScript입니다.
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSPOILER 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
관련 프로젝트 살펴보기
불러오는 중…