August 21st, 2020

Replying to a tweet from @adactio

You could test for support like this:

var testButton = document.createElement("button");
testButton.setAttribute("type","share");
if (testButton.type != "share") {
// polyfill
}

51° N , 0° E

Also on Twitter

Reply Retweet Favourite

Responses

2 Likes

# Liked by Ada Rose Cannon on Friday, August 21st, 2020 at 5:32pm

# Liked by Andy Davies on Friday, August 21st, 2020 at 6:17pm

Have you published a response to this? :