Skip to content

The resource from “https://www.linkedin.com/countserv/count/share?format=jsonp&…ack=...” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff) #237

@MikeAlhayek

Description

@MikeAlhayek

First of all, thank you for this amazing plugin! I am using it on my website, but getting the following error in the console.

The resource from “https://www.linkedin.com/countserv/count/share?format=jsonp&…ack=jQuery33103800949475974904_1571936242760&_=1571936242761” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

X-Content-Type-Options: nosniff

Also, when looking in the "network" tab of the "developer tools", OI see 4 http requests to linkedin.com that return 404 errors.

Is this an issue with the plugin, or is there something on my end that needs to change for this issue to be fixed?

Additionally, this script seems to issue HTTP requests for social media url when the page is loaded. Can't I configure it to only issue the HTTP request when the user clicks on the share? It sounds to me lots of extra/unnecessary round trips which increase the page load and bandwith usage. My thought, when a user clicks on "Facebook" share button, then issue the HTTP request to facebook and then show the share window, so the HTTP is not called until the user really want to share the page. This could help with increasing page load and reduce bandwith usage specially when a user is on a mobile device.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions