Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Bookmarklet chopping out NYTimes text #900
When nominating/drafting from NYTimes stories, typically the first several graphs are excised or not copied over into the post.
Based on some quick experiments it appears that the portion of stories that appears before
Given that the Mercury browser plugin doesn't exhibit this behavior, I suspect it's something to do with the bookmarklet's JS?
This is occurring in 4.2.2 and earlier versions of the bookmarklet. I'm seeing it in Chrome as well as Firefox, so it doesn't seem to be browser dependent.
If pre-highlighting text in the browser, one does get the typical blockquoted portion of a Press This bookmarklet output.
added a commit
May 22, 2017
I'm still seeing this be an issue.
Here is an example: https://www.nytimes.com/2017/05/22/briefing/donald-trump-ford-motor-twin-peaks.html?&hp&action=click&pgtype=Homepage&clickSource=story-heading&module=second-column-region®ion=top-news&WT.nav=top-news&_r=0
The bookmarklet grabs the first part of the story and then stops where the ad is (halfway through the second bullet point).