I encountered some cases where websites where ripped, and the design was used unauthorized. I know it is easy for someone to save the HTML/CSS/JS an upload it to it's own server and hard to prevent someone from doing this. A lot of the functionality is missing, but as someone who puts a lot of afford into a website, I was wondering what options we have here.
Some ideas I came up with:
HTML
Some sort of small file (tracking pixel), requested from my server where I can track the IP/Domain of the site the request is coming from. Of course such a code-bit is easily spotted and removed.
Is there a way to add something to the HTML file itself, which is not visible in the HTML code, which could trigger some URL?
CSS
A rule to add a tracking pixel to an element and also track IP/Domain. This will only work if the element is still present in the rendered HTML and not overwritten by another rule.
JS
Ajax request submitting the IP/Domain. This could be implemented within a JS file or an HTML file.
Problems
All of the ideas mentioned above have a similar problem. If the thieve is a little bit experienced in web-development, he/she will recognize the trackers and remove them.
There are ways to obfuscate the code but there will never be a 100% secure solution.
Any suggestions regarding this issue?