{"id":13549406,"url":"https://github.com/joshbuddy/spoiler-alert","last_synced_at":"2025-04-06T01:08:19.500Z","repository":{"id":66232757,"uuid":"8374099","full_name":"joshbuddy/spoiler-alert","owner":"joshbuddy","description":"SPOILER ALERT! A happy little bit of javascript to hide spoilers on your site.","archived":false,"fork":false,"pushed_at":"2016-10-27T20:36:39.000Z","size":483,"stargazers_count":474,"open_issues_count":11,"forks_count":50,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-30T00:07:12.914Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshbuddy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"authors.txt"}},"created_at":"2013-02-23T10:49:41.000Z","updated_at":"2025-03-23T21:56:10.000Z","dependencies_parsed_at":"2024-01-02T23:18:45.309Z","dependency_job_id":"6d4adfdb-09bf-4fc8-807c-592823a64923","html_url":"https://github.com/joshbuddy/spoiler-alert","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshbuddy%2Fspoiler-alert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshbuddy%2Fspoiler-alert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshbuddy%2Fspoiler-alert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshbuddy%2Fspoiler-alert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshbuddy","download_url":"https://codeload.github.com/joshbuddy/spoiler-alert/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419860,"owners_count":20936012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T12:01:21.552Z","updated_at":"2025-04-06T01:08:19.463Z","avatar_url":"https://github.com/joshbuddy.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Misc","Misc [🔝](#readme)","大杂烩"],"sub_categories":["Other","其它"],"readme":"# SPOILER ALERT!\n\nDon't spoil it! Hide copy and images with a bit of SVG blur. Taste on mouseover. Eat on click.\n\nDo 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.\n\n## Usage\n\nTo make your site spoiler free, simply include spoiler.js, then, add this somewhere:\n\n```javascript\nspoilerAlert('spoiler, .spoiler');\n```\n\nTo control the maximum and partial blurs, you can pass arguments:\n\n```javascript\nspoilerAlert('spoiler, .spoiler', {max: 10, partial: 4});\n```\n\nHave fun! Play with it!\n\n## Demo\n\nTake a look at [this](http://joshbuddy.github.com/spoiler-alert/) to see it in action!\n\n## Tested browsers\n\n* Chrome\n* Safari\n* Firefox\n* Mobile Safari\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshbuddy%2Fspoiler-alert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshbuddy%2Fspoiler-alert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshbuddy%2Fspoiler-alert/lists"}