{"id":19845203,"url":"https://github.com/rapidwebltd/basic-js-cookie-banner","last_synced_at":"2026-05-09T20:36:49.729Z","repository":{"id":58232041,"uuid":"45034616","full_name":"rapidwebltd/basic-js-cookie-banner","owner":"rapidwebltd","description":"🍪 A basic JavaScript cookie banner (implied consent)","archived":false,"fork":false,"pushed_at":"2016-08-22T14:56:11.000Z","size":66,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-11T14:23:05.505Z","etag":null,"topics":["cookie-banner-javascript","cookie-clicker","cookies","js-cookie-banner"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rapidwebltd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-27T10:52:15.000Z","updated_at":"2021-03-19T09:10:33.000Z","dependencies_parsed_at":"2022-08-31T00:20:52.256Z","dependency_job_id":null,"html_url":"https://github.com/rapidwebltd/basic-js-cookie-banner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapidwebltd%2Fbasic-js-cookie-banner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapidwebltd%2Fbasic-js-cookie-banner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapidwebltd%2Fbasic-js-cookie-banner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapidwebltd%2Fbasic-js-cookie-banner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rapidwebltd","download_url":"https://codeload.github.com/rapidwebltd/basic-js-cookie-banner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241224144,"owners_count":19929860,"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":["cookie-banner-javascript","cookie-clicker","cookies","js-cookie-banner"],"created_at":"2024-11-12T13:06:53.779Z","updated_at":"2026-05-09T20:36:49.680Z","avatar_url":"https://github.com/rapidwebltd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic JS Cookie Banner\nA basic JavaScript cookie banner (implied consent)\n\n## Screenshot\n\n![Cookie banner screenshot](http://i.imgur.com/3sLPVXl.png)\n\n## Requirements\n\n* Bootstrap (CSS) \u003e= 3.3.5\n* jQuery \u003e= 1.11.3\n\n## Installation\n\nCan be installed via bower.\n\n`bower install basic-js-cookie-banner --save`\n\n## Usage\nFirst, include the CSS files in the bottom of the `\u003chead\u003e`: (...or import it via LESS)\n```html\n\u003clink rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css\" integrity=\"sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7\" crossorigin=\"anonymous\"\u003e\n\u003clink rel=\"stylesheet\" href=\"basic-js-cookie-banner.min.css\"\u003e\n```\n\nInsert the code into the bottom of your footer:\n```html\n\u003cdiv class=\"alert alert-warning alert-dismissible cookie-banner\" role=\"alert\"\u003e\u003cdiv style=\"display: none;\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\"\u003e\u003cspan aria-hidden=\"true\"\u003e\u0026times;\u003c/span\u003e\u003c/div\u003e We use cookies to improve your experience. Please read our \u003ca href=\"/cookiepolicy.html\"\u003ecookie policy\u003c/a\u003e for more information about how we use cookies.\u003c/div\u003e\n```\n\nEnsure you have Bootstrap, jQuery and the Cookie Banner JavaScript file included at the bottom of the footer as well:\n```html\n\u003cscript src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js\" integrity=\"sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://code.jquery.com/jquery-1.11.3.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"basic-js-cookie-banner.js\"\u003e\u003c/script\u003e\n```\n\n## Licence\nLGPL\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapidwebltd%2Fbasic-js-cookie-banner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frapidwebltd%2Fbasic-js-cookie-banner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapidwebltd%2Fbasic-js-cookie-banner/lists"}