Author

Topic: - (Read 866 times)

copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
-
February 03, 2014, 05:34:12 PM
#16
OP never paid me for my last job, which is a shame, but oh well. There isn't much that I can do about it.
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
January 30, 2014, 12:21:01 PM
#15
Would you mind sharing how number one was completed? No code necesary, a walkthroug would suffice, I encountered this problem during a previous development and it was left unresolved.
This method isn't the best method and it won't work all the time, but it's the best I could do with JavaScript. First, I save the value and the element itself when they doubleclick on or rightclick a valid Bitcoin Address. Once they press CTRL-C or click on copy (and those values aren't empty) I quickly change the value into a fake address picked from a list. After the copy I simply replace the fake value with the original one and then it looks like nothing happened.
It's easier said then done, though.

How can this work? onkeypress is fired first and then the copy function is called. Also, don't let oncopy fool you because it isn't fired during or before, it's fired after. Even though the documentation states otherwise.
newbie
Activity: 2
Merit: 0
January 30, 2014, 12:09:46 PM
#14
Would you mind sharing how number one was completed? No code necesary, a walkthroug would suffice, I encountered this problem during a previous development and it was left unresolved.
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
January 30, 2014, 06:39:54 AM
#13
It seems that OP has removed all his posts. Let's hope that he won't default on the work I did.
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
January 29, 2014, 04:19:15 PM
#12
Well, I tried to figure out Job 1, but my attempt wasn't successful. My idea was to change the value of thing you are going to copy to something else, just before you copy it. So I won't actually touch the clipboard. But well, that idea didn't work. I will try, but I doubt that I will find a solution.
There's those sites when we copy an article they add something to the end of the copy, like their link.
I've never really looked into it, but the solution may be something similar.

I wouldn't be too surprised if recent browsers removed that feature, it does't seem very safe for the user, non of OP's requests seem safe TBH.
They most likely use "oncopy" which is fired after the copy (so it's to late). I am currently trying it another way.

EDIT: I did it Cheesy
legendary
Activity: 952
Merit: 1000
January 29, 2014, 04:04:02 PM
#11
Well, I tried to figure out Job 1, but my attempt wasn't successful. My idea was to change the value of thing you are going to copy to something else, just before you copy it. So I won't actually touch the clipboard. But well, that idea didn't work. I will try, but I doubt that I will find a solution.
There's those sites when we copy an article they add something to the end of the copy, like their link.
I've never really looked into it, but the solution may be something similar.

I wouldn't be too surprised if recent browsers removed that feature, it does't seem very safe for the user, non of OP's requests seem safe TBH.

copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
January 29, 2014, 03:58:29 PM
#10
Well, I tried to figure out Job 1, but my attempt wasn't successful. My idea was to change the value of thing you are going to copy to something else, just before you copy it. So I won't actually touch the clipboard. But well, that idea didn't work. I will try, but I doubt that I will find a solution.
hero member
Activity: 792
Merit: 1001
Video editing • Animated GIFs • Graphic Design
January 29, 2014, 12:29:00 PM
#9
could you send me the info on job number 2 please. You can PM me or send me an email at: [email protected]

cant guarantee anything but will have a look for you


nevermind didnt know it had to all be javascript
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
January 29, 2014, 10:24:40 AM
#8
Well, I found out that I can catch someone wanting to copy something, however I cannot change what is being stored inside the clipboard. I will try if I can find something to bypass it. Changing all valid Bitcoin Addresses to something else isn't hard, you just need the correct Regex. I already have one but it's not perfect and I doubt it will ever be.
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
January 29, 2014, 08:51:18 AM
#7
I don't think you can do #3 with JS. Browsers prevents you from sending posts to different domains.
It's a local test, so.. Oh wait. Just read that it has to be a remote website. I don't know if that is possible. Never tried that with a post actually.
legendary
Activity: 952
Merit: 1000
January 29, 2014, 08:22:16 AM
#6
I don't think you can do #3 with JS. Browsers prevents you from sending posts to different domains.
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
January 29, 2014, 07:47:10 AM
#5
The only question I have is, would the scripts run on your own website? If so, I might do them for you, depends on how busy I will be.
It currently sounds like you want to hijack someone's stuff or make someone send BTC to a random, thus wrong address. This would suggest that you want to inject your script inside someone's webpage, which is kinda impossible (unless you can get someone to install an extension which does the job).
The scripts will run locally.
It needs to be 100% javascript.
I will contact you in a bit. I might do all of them.
legendary
Activity: 952
Merit: 1000
January 29, 2014, 07:39:03 AM
#4
It currently sounds like you want to hijack someone's stuff or make someone send BTC to a random, thus wrong address.
This.

I would advice stay away from this unless OP explains why he needs the script.
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
January 29, 2014, 04:57:55 AM
#3
The only question I have is, would the scripts run on your own website? If so, I might do them for you, depends on how busy I will be.
It currently sounds like you want to hijack someone's stuff or make someone send BTC to a random, thus wrong address. This would suggest that you want to inject your script inside someone's webpage, which is kinda impossible (unless you can get someone to install an extension which does the job).
newbie
Activity: 2
Merit: 0
January 28, 2014, 08:19:13 PM
#2
Problem with number one, javascript cant access the clipboard. You could however scan for key combinations when a field is focused.
newbie
Activity: 2
Merit: 0
January 28, 2014, 06:55:17 PM
#1
-
Jump to: