{"action":"created","issue":{"url":"https://api.github.com/repos/silktide/cookieconsent2/issues/30","labels_url":"https://api.github.com/repos/silktide/cookieconsent2/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/silktide/cookieconsent2/issues/30/comments","events_url":"https://api.github.com/repos/silktide/cookieconsent2/issues/30/events","html_url":"https://github.com/silktide/cookieconsent2/issues/30","id":97649847,"number":30,"title":"Only display on first page load?","user":{"login":"briwg","id":9249909,"avatar_url":"https://avatars.githubusercontent.com/u/9249909?v=3","gravatar_id":"","url":"https://api.github.com/users/briwg","html_url":"https://github.com/briwg","followers_url":"https://api.github.com/users/briwg/followers","following_url":"https://api.github.com/users/briwg/following{/other_user}","gists_url":"https://api.github.com/users/briwg/gists{/gist_id}","starred_url":"https://api.github.com/users/briwg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briwg/subscriptions","organizations_url":"https://api.github.com/users/briwg/orgs","repos_url":"https://api.github.com/users/briwg/repos","events_url":"https://api.github.com/users/briwg/events{/privacy}","received_events_url":"https://api.github.com/users/briwg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-28T08:51:52Z","updated_at":"2015-08-02T17:29:16Z","closed_at":"2015-07-30T13:58:25Z","body":"Can the banner be made to only display on the first page load? An example of this behaviour can be seen on the BBC New web site:\r\n\r\nhttp://www.bbc.co.uk/news\r\n\r\nA cookie notification banner is displayed and then if the user continues browsing it no longer appears.\r\n"},"comment":{"url":"https://api.github.com/repos/silktide/cookieconsent2/issues/comments/127048285","html_url":"https://github.com/silktide/cookieconsent2/issues/30#issuecomment-127048285","issue_url":"https://api.github.com/repos/silktide/cookieconsent2/issues/30","id":127048285,"user":{"login":"andygambles","id":5367534,"avatar_url":"https://avatars.githubusercontent.com/u/5367534?v=3","gravatar_id":"","url":"https://api.github.com/users/andygambles","html_url":"https://github.com/andygambles","followers_url":"https://api.github.com/users/andygambles/followers","following_url":"https://api.github.com/users/andygambles/following{/other_user}","gists_url":"https://api.github.com/users/andygambles/gists{/gist_id}","starred_url":"https://api.github.com/users/andygambles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andygambles/subscriptions","organizations_url":"https://api.github.com/users/andygambles/orgs","repos_url":"https://api.github.com/users/andygambles/repos","events_url":"https://api.github.com/users/andygambles/events{/privacy}","received_events_url":"https://api.github.com/users/andygambles/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T17:29:16Z","updated_at":"2015-08-02T17:29:16Z","body":"You can only set the cookie on the current domain.\n\nOn Sunday, August 2, 2015, Wanabo <notifications@github.com> wrote:\n\n> This works, document.cookie=\"cookieconsent_dismissed=yes; path=/; domain=.\n> yourdomain.com\";\n> But I want to replace domain=.yourdomain.com with something universal,\n> because I have multiple sites I want to implement this and would not edit\n> every file seperately.\n> I tried:\n> document.cookie=\"cookieconsent_dismissed=yes; path=/;\n> domain=.\"+this.options.domain+\"\";\n> document.cookie=\"cookieconsent_dismissed=yes; path=/; domain=.null\";\n> and other things, but my js knowledge is allmost null.\n>\n> How to make this universal?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/silktide/cookieconsent2/issues/30#issuecomment-127045905>\n> .\n>\n\n\n-- \n\n----\n\nAndy Gambles\n\nhttps://www.andygambles.com\nhttps://twitter.com/andygambles\n\nTel: 01723 361931\nMob: 07958 944629\n"}}