8 ms·
Show HN: Share-this: Medium-like text sharing
- MaxArt2501 9y agoI actually used the sharing functionality provided by the library to post this link here. Suggestions are well accepted.
- dwrowe 9y agoLooks interesting! Getting some odd skipping around testing on mobile (iOS / Chrome), where holding on a word skips to the bottom of the page, to an unrelated selection.
- MaxArt2501 9y agoStrange. The selection itself isn't handled by the library itself, rather than the browser/OS. The library only reacts when a selection is made. Does it happen to you in other cases as well?
- tbodt 9y agoI'm afraid you may be violating Medium's copyright on their design, sir
- MaxArt2501 9y agoI'm pretty sure there's a lot of prior art for their "design", so I'm kind of safe there. Edit: unless you were referring to the whole aspect of the page. In that case, it's just a presentational page for an open source project, so it has nothing to do with blogging platforms. That should be ok, I guess.
- franciscop 9y agoIt appears totally broken to me, it might be the adblocker though (I also block social media): https://imgur.com/a/bB017 https://imgur.com/a/bB017 The same thing on Medium appears perfect without any social media link.
- MaxArt2501 9y agoAre you using Firefox, perchance? It has a "bug" (not sure about that, but surely it's the only one that shows that behavior) relating to SVGs, so it used to size incorrectly the fouth icon. I worked it around some minutes ago and it should be fine. The first icon should be Twitter, so maybe it's really Adblocker. I've tested it with uBlock Origin and it shows the same behavior but, honestly, I don't want to tamper with that. In fact, the sharers that are provided are meant to be examples, and not part of the core library. I guess simply changing the name attribute of the sharer would end up in showing the button.
- dabernathy89 9y agoI really like the way Medium creates a "screenshot" when you share highlighted text to Twitter. I thought that's what this was going to be - although this is pretty cool, and it looks like this library makes it really easy to extend and add something like that.
- anotherfounder 9y agoDoes anyone know how they do this?
- modish-minimum 9y agoimagemagick on the server with custom fonts
- deleted 9y ago[deleted]
- zackbloom 9y agoPlease consider releasing this as a Cloudflare App [1], it would make it easy for non-technical people to use it, and it would be an awesome app. 1: https://www.cloudflare.com/apps/ https://www.cloudflare.com/apps/
- maaarghk 9y agoYou probably need a new name - https://www.sharethis.com/ https://www.sharethis.com/
- MaxArt2501 9y agoYeah, someone already pointed that out on Reddit :( Let's see how it develops.
- eriknstr 9y agoDon't wait to see how it develops, just change the name. The sooner you change the name the better. Besides the old repo URL will still redirect to the new location after you've renamed the repo on GitHub by going into settings and changing it there.
- MaxArt2501 9y agoI'll have to deal with npm and bower too, though. I guess I'll have to release a new package and deprecate the old one.
- _asummers 9y agoAm I the only person absolutely hates this feature on websites? I highlight where I'm at on the page in the event I get pulled away for whatever reason so I know where I was at in the page. Any JS interaction there drives me insane and I wish no sites did this. If you're going to ask me to share the text, at least make that show up _outside_ the text I'm reading, please.
- MaxArt2501 9y agoI agree, that's somewhat annoying, but that's also something developers and commissioners want. But the good news is that the DOM skeleton is so minimal that you can create a stylesheet that does exactly what you said. Given the reference to the selection, positioning the popover is up to the developer.
- jszymborski 9y agoI really hate this anti-pattern. I can't be the only person who highlights text as he reads to follow along...
- brynjolf 9y agoI actually sometimes just copy the text from medium into a text editor so I can continue doing this. I'm addicted to highlighting.
- stingraycharles 9y agoNot surprisingly, the selecting text is broken on my device and instantly makes me scroll to the bottom of the page (iPad / Safari). Horrible user experience.
- batrat 9y agoNot alone. When I read text on my PC I tend to select text with my mouse a lot. This drive mu nuts when i select something then click accidentally on share button.
- keehun 9y agoI hate this, too, and have used uBlock to completely banish the responsible DOM elements.