corbindavenport / share-to-mastodon

Browser extension for sharing links and tabs to Mastodon (and other Fediverse platforms)
https://chrome.google.com/webstore/detail/bibnjflclpdmbbcncejifemmbggkcjde
GNU General Public License v3.0
61 stars 0 forks source link

Right-click options in web pages don't capture the "title" of the page one is attempting to share #14

Closed corq closed 1 month ago

corq commented 1 year ago

Reproduction:

If I'm visiting a web page in Chrome tht I wish to share on Mastodon, If I right click, I get a menu item to share with. However, this shares ONLY the link, not the headline/title or the page, UNLESS I highlight the chosen text before sharing, and then, I have to clean up the "quotemarks".

Conversely, If I'm visting a page, and chose to click the toolbar for the extension, I get a nice, natural-looking headline that's quick and contextual for social media.

I've checked to be sure I don't have some other Mastodon sharing tool enabled. I find if given an option to "include page title" from the context menu, I don't see a place to configure this headline inclusion. I've added all my desired servers to the list, it just seems like the "toolbar" behaves differently from the context menu actions.

type_something_here perfect

corbindavenport commented 1 year ago

I thought the browser extension APIs didn't provide title information for the current tab from right-click menu options, but apparently I was wrong! Just tried a quick fix and it appears to work fine. If no issues show up in cross-browser testing, this will be in the next update, which should hopefully be soon.

https://github.com/corbindavenport/share-to-mastodon/assets/3879063/100c8cd2-cea7-473d-80a1-951c6cd646ee

corq commented 1 year ago

Thank you!

Geobert commented 2 months ago

Hi,

any news on a release with the fix?

Regards,

corq commented 2 months ago

Same, I've reinstalled and this behavior persists.

On Wed, Jul 31, 2024 at 4:34 PM Geobert Quach @.***> wrote:

Hi,

any news on a release with the fix?

Regards,

— Reply to this email directly, view it on GitHub https://github.com/corbindavenport/share-to-mastodon/issues/14#issuecomment-2261403145, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB533R7BHZQZ2UWVTQDON23ZPFC5ZAVCNFSM6AAAAABLZGT4NCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRRGQYDGMJUGU . You are receiving this because you authored the thread.Message ID: @.***>

corbindavenport commented 1 month ago

This is rolling out now in the v2.2 update :)

corq commented 1 month ago

TY!

On Sun, Aug 25, 2024 at 4:43 PM Corbin Davenport @.***> wrote:

This is rolling out now in the v2.2 update :)

— Reply to this email directly, view it on GitHub https://github.com/corbindavenport/share-to-mastodon/issues/14#issuecomment-2308987212, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB533RYNEO352B5IS7KNOKLZTI6WHAVCNFSM6AAAAABLZGT4NCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYHE4DOMRRGI . You are receiving this because you authored the thread.Message ID: @.***>