orestbida / cookieconsent

:cookie: Simple cross-browser cookie-consent plugin written in vanilla js

Home Page:https://playground.cookieconsent.orestbida.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: playground requests to github api are rate limited

orestbida opened this issue · comments

Expected Behavior

Playground page should always show the latest tag version in the title.

Current Behavior

The playground page sends a GET request to api.github.com/repos/orestbida/cookieconsent/tags on each page load, to fetch the latest tag.

There is a rate-limit for each ip and eventually the request will be blocked, resulting in playground's title showing CookieConsent v3.x.x instead of the proper version.

Steps to reproduce

Visit the page many times, until your request to the github api gets blocked.

Proposed fix or additional info.

No response

Version

not-applicable

On which browser do you see the issue?

No response