Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Font Awesome version is on this page?

Tags:

font-awesome

I have to modify a legacy application and I want to quickly figure out what version of Font-Awesome the application is running, so I know which icons are available.

As that application is using complied CSS, I was unable to determine from the page's resources.

I imagine something like a JavaScript command or inserting an icon like fa-version which renders the version number.

like image 926
Chris Avatar asked May 25 '18 14:05

Chris


1 Answers

You could try the following :

  1. Locate CSS File

locate the use of a fontawesome icon in a page. Using Developper Tool (F12), find which CSS file gives the icon (and font). In this file, search for a version number in comments (some CSS compiler keeps these comments)

  1. Locate the Font file

in the previously located CSS file, search for the following string :

@font-face{font-family:FontAwesome;src:url(fontawesome....eot)}

Either the font file contains the version number, either you should go deeper.

  1. Look for version in font file

Download the font file (you can guess the URL based on file name and CSS file URL)

Open the file in your favorite text editor and search for Version

like image 106
yunandtidus Avatar answered Oct 17 '22 03:10

yunandtidus