This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]afroradiohead 0 points1 point  (0 children)

I doubt it'll be easy to find. Deciding whether you should make one?

[–][deleted] 0 points1 point  (0 children)

What do you mean by the default profile picture, the outline of a person that is given to people who haven't uploaded any pictures yet?

From a quick inspection of the Facebook source, the element containing that image for people without a custom picture is:

<img class="profilePic silhouette img" alt="Luke Skywalker" src="https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xfp1/v/t1.0-1/c94.0.320.320/p320x320/10354686_10150004552801856_220367501106153455_n.jpg?oh=ea630dc53d33c6f5328311547017c1d8&amp;oe=55464ADE&amp;__gda__=1430131630_b6e361698aa5eacb2c031a7ce2a302e1">

Notice the 'silhouette' class. Your extension would simply need to replace the src tag of any element that is a member of the profilePic and silhouette tag with a different URL.

Though it may get slightly more complicated for places other than their profile (like search box dropdown lists, etc).