any ideas to detect html manipulation on user client?

Hi,
sorry vor mei englisch, maybe it's not the right forum for this question but i don't want create a account on a special forum for just one question.
After I read an article about a security application that injects javascript into websites with similiar of man-in-the-middle-attack (the article means that). I asked my self, is there a way for me as website owner to detect this? (Yes, it is a Windows application that does it (not from MS))
My intention is not to detect content blocking, i dont have ADs on my website and I also use a extension for blocking stuff. I have no problems if someone blocks some stuff on my website.
The point is to protect the user and also me (website owner) by code injection from unknown third party. If even the end-user does not know that his application does code injection, who can realy say: this is nothing to worry about this?
The once, what i could do is, after the server genereated that document, is to count the usual html tags like div, p, iframe, script, img, picture, a ... and compare this after loading this what the user finaly got. Sure, comparing goes with javascript, and he could disable it.
sorry vor mei englisch, maybe it's not the right forum for this question but i don't want create a account on a special forum for just one question.
After I read an article about a security application that injects javascript into websites with similiar of man-in-the-middle-attack (the article means that). I asked my self, is there a way for me as website owner to detect this? (Yes, it is a Windows application that does it (not from MS))
My intention is not to detect content blocking, i dont have ADs on my website and I also use a extension for blocking stuff. I have no problems if someone blocks some stuff on my website.
The point is to protect the user and also me (website owner) by code injection from unknown third party. If even the end-user does not know that his application does code injection, who can realy say: this is nothing to worry about this?
The once, what i could do is, after the server genereated that document, is to count the usual html tags like div, p, iframe, script, img, picture, a ... and compare this after loading this what the user finaly got. Sure, comparing goes with javascript, and he could disable it.