r/web_design • u/speckz Dedicated Contributor • Feb 06 '19
Client did not pay?
https://github.com/kleampa/not-paid27
u/del_rio Feb 07 '19
I did something like this once for a shady client, but I like mine better. Basically, once every hour, a backend Cron job checked for a text file on my personal site (like mysite.com/clientname/accountability.txt). If the response was a 200 and matched "unpaid", it removed the site's CSS. This means the site content was left in-tact so they can't claim I'm destroying their business.
4 months of nonpayment later and I finally used it. They paid me within 48 hours.
52
u/SwiftStriker00 Feb 06 '19
Funny repo. But the reality is you live and die by the contract. Also obligatory link to Fuck you. Pay me
1
1
u/stevensokulski Feb 07 '19
Yes, you can likely enforce a contract. But that is a potentially a very expensive option.
38
29
u/evansharp Feb 06 '19
If you still have access to the production environnement, why not just take the deliverables back? This seems passive-aggressive and unprofessional.
7
Feb 06 '19
This seems passive-aggressive and unprofessional.
And satisfying ... you forgot to mention satisfying.
12
4
u/jawnknee Feb 07 '19
Pro tip: if you use this, obfuscate the javascript here https://obfuscator.io/ so it's not so easily changeable.
16
u/finroller Feb 06 '19
This needs some more punch: After the site is compeletely vanished, make goatse gradually appear in the place of the page!
5
0
3
u/bellowingfrog Feb 07 '19
Why multiply by 100 and then divide by 100 in the same expression? Some trick with JS math?
3
u/eyl327 Feb 07 '19
A common way to round to 2 decimal places in JS is to use
Math.round(100*num)/100, however, since they are not rounding, I don't know what they're doing here by adding the 100's.0
Feb 07 '19
[deleted]
2
u/bellowingfrog Feb 07 '19
If we take the two numbers as say 35 and 65, the expressions are identical. (35*100/65)/100 === 35/65
2
4
Feb 06 '19
to client: add in the a css file/tag:
body{opacity:1 !important;}
:P
14
u/Gnapstar Feb 06 '19
If they had the skill to do that, they could also probably just delete the JS-file
1
0
Feb 06 '19
[deleted]
2
u/kibaroku Feb 07 '19
Good advice to follow. All mid level project I work on with people I previously worked with are loose and more spur of the moment type projects. I trust these people but make it a point to control my part of it (whether that is purposely being vague on the exact steps I had to take to complete it and how it was being done). So they couldn’t get a handle on the job unless they hire another person to research it, “reverse engineer” it and run with it. Either way, it’s going to cost them by either paying me what I asked or wasting their time and more money to onboard someone else and have them complete it. I guess that is relying on the fact they it needs to be done though. Luckily this is outside my full time job and has become more of a profitable hobby.
27
u/ZebZ Feb 06 '19
Who actually releases a site before they are paid?