Live data from Hacker News

Pastejacking

github.com

71–80 of 246 posts

Re: Pastejacking

#71
post #28

Earlier quoted context omitted.

I had to implement this kinda code when I worked for Demand Media and it certainly worked. Whats funny is you don't need any fancy new apis to make it work. We were doing some pretty basic tactics actually. Only real way to prevent it is disable javascript.

You should have refused

Believe me, there was lots of pushing back. It was right before Google dropped panda and basically killed ehow.

Re: Pastejacking

#72
post #28

Earlier quoted context omitted.

I had to implement this kinda code when I worked for Demand Media and it certainly worked. Whats funny is you don't need any fancy new apis to make it work. We were doing some pretty basic tactics actually. Only real way to prevent it is disable javascript.

What do you mean by it worked? Did you have metrics supporting increased views that were tied to the paste highjacking?

I don't personally have any supporting data but the business people were not ones to do things unless it worked. Just look how high in the rankings ehow was able to get before panda hit.

Re: Pastejacking

#74
post #36

Earlier quoted context omitted.

Note that clever timing could get the "evil text" in your clipboard between checking in a text editor and pasting into the terminal. Hard to time correctly, but not impossible.

If you're taking that step, then after you paste into the clean room, you copy out of the clean room.

At first I thought "I don't do this; it's never seemed necessary", but actually, I think I do. Years of copying to a plain text editor to strip formatting have conditioned the behavior.

Re: Pastejacking

#75
post #17

Earlier quoted context omitted.

No, but I can verify the hash of the installer before I run it though.

And who provided you with the hash?

For distro packages? Any number of alternate download sources.

But I agree with your greater point; hashes are better used as a guard against file corruption than fuckery.

Re: Pastejacking

#76
post #67

Earlier quoted context omitted.

Websites can find better solutions if we kill this annoying feature. We have local storage in all browsers. Rather than prompting why not save it and recover when the user comes back. The users will always prefer this. It saves data even when the website crashes or the connectivity is lost and there is some important data on the page. Why have a feature that is abused more often than used especially there is no case…

It's not always that clear. If I leave a page, how is one to know whether that was intentional or not? If it's intentional, you don't want to pull the data back up (people want a "fresh copy") If it's not intentional, you do want to pull the data back up. Though of course you can make something like a "New Copy" button, but then that presents its own challenges.

That no longer makes sense unless it isn't feasible to preserve the change history along with current state...

Re: Pastejacking

#78
post #9

There are many news sites that make it extremely hard to share their content on sites like HN or reddit because of these tricks. I wonder if they are actually losing traffic from it, or if their tactics work? I'm referring when you copy the text in the title of an article to try to paste it into the Title box on HN or reddit. But what you 'paste' is actually a huge paragraph about how great the news website is and ho…

Many pages in the New York Times are impossible to select text in. But I just select the text from the page source. After reading this article, I'm thinking that might be a good idea in general.

Re: Pastejacking

#79
post #28

Earlier quoted context omitted.

I had to implement this kinda code when I worked for Demand Media and it certainly worked. Whats funny is you don't need any fancy new apis to make it work. We were doing some pretty basic tactics actually. Only real way to prevent it is disable javascript.

What do you mean by it worked? Did you have metrics supporting increased views that were tied to the paste highjacking?

Demand Media makes money by monitoring ad networks and then paying people to churn out worthless content that pollutes search results. They watch metrics very carefully.

Re: Pastejacking

#80
post #13

Why do browsers not require explicit user permission before allowing a site to perform clipboard manipulations? In a similar tashion to how the HTML5 geo-location API is opt-in?

On a somewhat related note: why do browsers allow websites to prevent you from leaving via those annoying dialog boxes that ask you to click "cancel" or "leave"?

It's important to point out that the "yes, actually leave" option is not overridable. As a developer, you only get to set what message is displayed. The browser handles the rest, and it's basically "stop redirecting or continue". The developer only has control in the "stop redirecting" case.
Post reply on HN