Embedding examples
Adding a 20px high badge to a web page as an element
Same thing but now we set the width instead of the height
Fitting the badge inside its parent element
Auto-updating
All badges have embedded Javascript code that will poll supershields.io regularly for fresh data and
update badge contents when necessary – without new page loads.
To enable the auto-update functionality, a badge has to be embedded on a page using an tag
( and will also work). This allows its Javascript code to run.
Embedding a badge as an element enables its JS code to run
This badge gets updated every ~30 seconds (*)
Using an tag results in a static badge (JS code is not executed)
This badge is only updated on page load
(*) Note that only Premium users can set their refr