Cito/Pinboard-Pin

"Add bookmark" button disabled on some pages

davidag opened this issue · 3 comments

On some web pages, the "Add bookmark" button is disabled and you are unable to use the plugin. You have to use the web interface, which works correctly.

Example URLs:

Cito commented

Thanks for reporting. Found the problem:

The title is > 255 chars long (it's the full tweet which can have up to 280 chars nowadays) but the title may according to the specs of the Pinboard API only be 255 chars long (even though the web interface happily accepts it). That's why it's considered invalid in the form and the button is disabled.

You can make the button become enabled by removing some chars from the end ot the title. But I will also change this to automatically trim the title to 255 chars if it's too long.

Cito commented

The fix is now available in v0.2.9.

Thank you Cito! That was fast! 🎉