Skip to content

Listen for nopin attribute #19

@JohnONolan

Description

@JohnONolan

Hey guys, just a thought: It would be incredibly handy if the buffer extension would respect the "nopin" attribute when applying its "share image" overlay: https://help.pinterest.com/en/articles/prevent-pinning-your-site

Context: While the chrome-settings flag determines whether or not a Buffer-user wants to use the share feature -- This feature provides control to the web developer to determine which images should (and should not) be shared from their site.

Eg. In the Ghost admin area, we have an image uploader for your blog cover image:

image

Here I've just finished uploading a new cover image for my blog. Now, because this is an admin area of a web-app, it makes no sense for social sharing to occur here. In fact the hover buttons usually get away and interfere with the app UI. So in the source of Ghost admin I've set <meta name="pinterest" content="nopin" /> -- as you can see, the pinterest button does not appear.

This is good because as a Buffer and a Pinterest user I want the feature enabled on all sites I visit, but I also want it disabled in this specific context where it doesn't make sense.

It would be possible to add a nobuffer attribute that does the same thing, but I think it might be simpler just to have the Buffer extension listen for the nopin attribute -- making the relatively safe assumption that if a developer has already disabled the Pinterest hover button, they'll probably want to disable the buffer one too.

Is this something you would consider?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions