Sunday, 7 August 2016
COMMENTS REMOVER CODE
-----------------------------------------------------------------------------------------------------------------
CODE:
-----------------------------------------------------------------------------------------------------------------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>online remove
comments | online tools</title>
<meta name="keywords" content="remove,comments,online tools,Javascript">
<meta name="description" content="Online remove html css c# js code comments tools">
<meta http-equiv="blog" content="http://fbgadgets.blogspot.co.uk/">
<link href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAiwAAAIsBRmWzPwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAGOSURBVDiNrdQ/SJRxHMfx9/f33APSPZd/2nRxaL3u4hwdBPE4aBUcdNAgHDtoiYaacimwIQejnEQFh4IcPF3EyUU0CZOGxhZPJLmOwOeeT4Opidep+XzGL19efPjB72uSADgobbcZh08cdAs6gV1JizjvXSqf3gGoLm90RTVXxMgBHQZfImk1qnljzffS+wAmicrSVj/SG6CV86kg3TdcQqYpoKnOTtnEULKQKVn142ZHzWcbuFln8SrZT3hh1tV8HseAAbSGYWLMAT0xYEcxuhxwOzYQOh3GXmycUXaIb7GB4rMz8SEuz8S4My+aAw5i8D4lC5mSu9F397uMQSC6VjvTCwAHkMpnFjA9/X9Ob5P57MwJCBDks88xm78yZUwHa9lRQGdAgJ8wAqxcWjObT/34Osyz0+ey42tzkvV1v1L2J0APGmO8D26FA+Ryh2fG58DjtqXNorCXgFdHexWs3Xn0d7MLwSN0qyA0C7T8Gf1CFINCZvKfxRuBANXljfZI7rUJP0y4h8296YY/6zeFhY3pw8tTuQAAAABJRU5ErkJggg==' rel='icon' type='image/x-icon'/>
<meta name="robots" content="all">
<meta name="Distribution" content="global">
<style>
#container {
background:url("data:image/gif;base64,R0lGODlhIAMoAOYAAP///8rPy/7+/snOysvQzMjNyfn7+cfNyN/m39bc19zo5Nfd2P3+/eTr5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RijhhBRWaOGFGGao4YYcduhhWaWFKOKIJJZo4okopqjiiiy26OKLpQUCADs=")
repeat;
border:5px solid yellow;
outline:blue solid 5px;
padding:1%;
resize:vertical;
height:600px;
width:580px;
max-height:1000px;
min-height:300px;
}
h1 {
background: repeating-linear-gradient(
45deg,
White,
White 10px,
Red 10px,
Red 20px
);
color:blue;
font-weight:bold;
}
h3 {
background: repeating-linear-gradient(
45deg,
Chartreuse,
Chartreuse 10px,
Red 10px,
Red 20px
);
color:blue;
font-weight:bold;
font-size: 200%;
text-align:Center;
}
</style>
</head>
<body>
<script src=""></script><script>
function removeJsComments(text) {
document.getElementById('jsondecode').value = _removeJsComments(text);
}
function _removeJsComments(code)
{
return code.replace(/(?:^|\n|\r)\s*\/\*[\s\S]*?\*\/\s*(?:\r|\n|$)/g, '\n').replace(/(?:^|\n|\r)\s*\/\/.*(?:\r|\n|$)/g, '\n').replace(/(?:^|\n|\r)\s*<!\-\-[\s\S]*?\-\->\s*(?:\r|\n|$)/g, '\n');
}
</script>
<div id="container">
<h1>CSS,JavaScript,HTML,PHP,ActionScript
COMMENTS REMOVER</h1>
<textarea rows="4" cols="60" id="text" style="border:2px solid #999; padding:3px;
font-family:monospace" onkeyup="removeJsComments(this.value)"></textarea><br><br>
<div id="decode" class="results" style="display: block; visibility: visible;">
<h1>REMOVE CODE COMMENTS:</h1>
<h3>"<!-- -->
/* */ // "</h3>
<textarea rows="8" cols="60" id="jsondecode"></textarea>
</div>
</div>
</body>
</html>
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment