I am developing a privacy and proxy extension that changes the IP and user-agent of the browser for a certain interval. But when it is checked using https://browserleaks.com/canvas this original fingerprint i.e; original os and browser is shown Is there any way to mock the canvas fingerprint?
Asked
Active
Viewed 878 times
0
-
See [Use a content script to access the page context variables and functions](https://stackoverflow.com/a/9517879) – wOxxOm Mar 10 '21 at 13:38
-
Thanks, but I can't get your point. My need is to change the canvas fingerprint and not to test the fingerprint. – Bhavasagar Putta Mar 10 '21 at 13:59
-
You'll have to redefine the API by overriding various Canvas methods in page context. The answer I've linked is about the page context part. For overriding/spoofing Canvas you can find an existing answer/tutorial or just inspect an existing extension that does the same. – wOxxOm Mar 10 '21 at 14:01
-
Can you please show me an example, because I don't know much about canvas fingerprinting and how it's evaluated – Bhavasagar Putta Mar 10 '21 at 16:36
-
Can anyone please give me a piece of advice – Bhavasagar Putta Mar 11 '21 at 05:44
-
You do realize that modifying the finger print makes it more unique. Modifying the API is easily detected and would provide an additional layer of uniqueness. The best defense against finger printing is to use the most common browser reducing the uniqueness of the print. – Blindman67 Mar 11 '21 at 12:48
-
That's great. I'm changing user-agent in headers but on this [website](https://browserleaks.com/canvas), it's detected and original information is shown. I want to represent useragent shown in the headers. – Bhavasagar Putta Mar 11 '21 at 15:12
-
Can you please at least give me a hint on what should I learn to get familiar with this concept? – Bhavasagar Putta Mar 12 '21 at 06:29