Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6126205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:20:36+00:00 2026-05-23T16:20:36+00:00

is there a javascript method to check if a user changes a given code?

  • 0

is there a javascript method to check if a user changes a given code?
Example:

<div id="mycodestyle">
<a href="http://www.example.com"><img src="image.gif"></a>
</div>

if the user now changes the code like

<div id="mycodestyle">
<img src="image.gif">
</div>

he get’s a message -> Code modified. Extremetracking uses the same method, but I don´t know how they do it.
Here is the code of extremetracking

<div id="eXTReMe">
<a href="http://extremetracking.com/open?login=example">

<img src="http://t1.extreme-dm.com/i.gif" style="border: 0;"
height="38" width="41" id="EXim" alt="eXTReMe Tracker" /></a>
<script type="text/javascript"><!--
EXref="";
top.document.referrer?EXref=top.document.referrer:EXref=document.referrer;
//--></script>
<script type="text/javascript"><!--
var EXlogin='example' // Login
var EXvsrv='s10' // VServer
EXs=screen;
EXw=EXs.width;
navigator.appName!="Netscape"?EXb=EXs.colorDepth:EXb=EXs.pixelDepth;
EXsrc="src";
navigator.javaEnabled()==1?EXjv="y":EXjv="n";
EXd=document;
EXw?"":EXw="na";
EXb?"":EXb="na";
EXref?EXref=EXref:EXref=EXd.referrer;
EXd.write("<img "+EXsrc+"=http://e1.extreme-dm.com",
"/"+EXvsrv+".g?login="+EXlogin+"&amp;",
"jv="+EXjv+"&amp;j=y&amp;srw="+EXw+"&amp;srb="+EXb+"&amp;",
"l="+escape(EXref)+" height=1 width=1>");
//--></script>
<noscript><div id="neXTReMe"><img height="1" width="1" alt=""
src="http://e1.extreme-dm.com/s10.g?login=example&amp;j=n&amp;jv=n" />
</div></noscript>

</div>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:20:36+00:00Added an answer on May 23, 2026 at 4:20 pm

    Short answer: Yes, absolutely possible.

    It is of course possible to watch your DOM and HTML Markup with Javascript. You could just have some sort of interval which checks for certain things or even use the DOM Level 3 Mutation Events like DOMNodeRemoved or DOMSubtreeModified.

    The real question is, is it worth anything ? NO!


    Any Clientside code could get modified or just removed the same way someone modifies your HTML markup. There is zero chance to have that kind of security on the client side only.
    You would have to send your complete HTML code (or probably only parts of it) back to your server for any kind of validation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

is there any example on using java method to call rhino-javascript function and return
Is there any method or way to check what is inside a JavaScript object.
Is there any JavaScript method similar to the jQuery delay() or wait() (to delay
Is there a standard or reliable method already out there for a javascript framework
I notice in the VS2010 javascript intellisence there is a method called CollectGarbage(). Is
I always (thing != undefined || thing != null)?...:...; check. Is there any method
Is there a waterproof method to block users that have disabled JavaScript in their
Did not have luck with these examples: Javascript File remove Javascript FSO DeleteFile Method
There are several different methods for converting floating point numbers to Integers in JavaScript.
Is there a way to print all methods of an object in JavaScript?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.