Skip to content

activebridge/browserbadge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Browserbadge

Simple API to generate SVG browser icon budgets with version

Documentation

To get browser budge send GET request to http://browserbadge.com with parameters 'browser', 'version' and 'size'

http://browserbadge.com/browser/version/size

Supported browsers

Chrome Opera Firefox Safari IE
chrome Opera firefox safari ie

Parameters:

browser: chrome | opera | firefox | ie | safari

version: any 1-3 digits number will be added to logo image with '+'. If not present return logo without any text

size: <size>px. Can be 1..9999 px. All badgets are square. If not present return 32px x 32px

Default size of images is 32px x 32px. But on your page you can set any picture size and SVG icon will be increased or reduced to this size.

Example:

Request Respond
http://browserbadge.com/chrome/42 Chrome
http://browserbadge.com/opera Opera
http://browserbadge.com/firefox/28/80px Firefox
http://browserbadge.com/firefox/1234 not_found
http://browserbadge.com/explorer not_found
Or other error in parameters not_found

Using

You can use generated images in <img> tag. Specify the desired size of <img> element or just send size as parameter

<img width='64px' src="http://browserbadge/chrome/42"/>
<img src="http://browserbadge/chrome/42/64px"/>

Or in markdown syntax. Some markdown processors support inclusion of HTML, so you can use this tip.

![Alt text](http://browserbadge/chrome/42)
![Alt text](http://browserbadge/chrome/42/50px)

Active Bridge, LLC

About

Simple API to provide basic browser support badges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •