Fragments
<script>if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[`DetectClickStatus`]= `0`
if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[`NumClicks`]= `1`
generateditem = document.createElement("div");
;generateditem.id = `ToggleCoordinateDisplayButton`;;generateditem.innerHTML = `Toggle Coordinate Display`;;generateditem.style = `width:` + `5em` + `;height:` + `5em` + `;position:` + `absolute` + `;background-color:` + `white` + `;`;generateditem.addEventListener('click', function (e) {if (variablelist[`DetectClickStatus`]==`1`){if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[`DetectClickStatus`]= `0`
;generateditem = document.getElementById(`ToggleCoordinateDisplayButton`);generateditem.addEventListener('click', function (e) {;console.log(`My String`)});;generateditem.style.animation = 'none';
generateditem.offsetHeight; /* trigger reflow */
generateditem.style.animation = null;generateditem.animate([{opacity:`1`,},{opacity:`1`,},],{duration: 2000,
fill: `forwards`});}else{if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[`DetectClickStatus`]= `1`
;generateditem = document.getElementById(`ToggleCoordinateDisplayButton`);generateditem.addEventListener('click', function (e) {;console.log(`My String`)});;generateditem.style.animation = 'none';
generateditem.offsetHeight; /* trigger reflow */
generateditem.style.animation = null;generateditem.animate([{opacity:`1`,},{opacity:`.5`,},{opacity:`1`,},],{duration: 2000,
iterations:Infinity,});};});try {
document.getElementById().appendChild(generateditem);
} catch (error) {
document.body.appendChild(generateditem); };generateditem.style.animation = 'none';
generateditem.offsetHeight; /* trigger reflow */
generateditem.style.animation = null;generateditem.animate([],{duration: 10000,
});generateditem = document.createElement("div");
;generateditem.id = `ClearCoords`;;generateditem.innerHTML = `Clear Clicks`;;generateditem.style = `width:` + `5em` + `;height:` + `5em` + `;position:` + `absolute` + `;background-color:` + `white` + `;top:` + `0` + `;left:` + `0` + `;`;generateditem.addEventListener('click', function (e) {if ("loop_name_here" in window) {
PriorLoopName = loop_name_here
} else {
PriorLoopName = ``
}
loop_name_here = `DeletionLoop`
try{loop_counter[loop_name_here] = 1}catch(err){var loop_counter = {}
loop_counter[loop_name_here] = 1
}for (loop_counter[loop_name_here] = 0; loop_counter[loop_name_here] < variablelist[`NumClicks`]; loop_counter[loop_name_here]++) {try{document.getElementById([`ClickSpot`,loop_counter[`DeletionLoop`]+1,].join('')).remove()}catch(err){}};loop_name_here = PriorLoopName;});try {
document.getElementById().appendChild(generateditem);
} catch (error) {
document.body.appendChild(generateditem); };generateditem.style.animation = 'none';
generateditem.offsetHeight; /* trigger reflow */
generateditem.style.animation = null;generateditem.animate([],{duration: 10000,
});;window.addEventListener("click", (event) => {;;if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[`XClick`] = event.pageX;;if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[`YClick`] = event.pageY;if (variablelist[`DetectClickStatus`]==`1`){generateditem = document.createElement("div");
;generateditem.id = [`ClickSpot`,variablelist[`NumClicks`],].join('');;generateditem.innerHTML = [variablelist[`XClick`],`,`,variablelist[`YClick`],].join('');;generateditem.style = `width:` + `5em` + `;height:` + `5em` + `;position:` + `absolute` + `;left:` + variablelist[`XClick`] + `;top:` + variablelist[`YClick`] + `;color:` + `red` + `;`;generateditem.addEventListener('click', function (e) {});try {
document.getElementById().appendChild(generateditem);
} catch (error) {
document.body.appendChild(generateditem); };generateditem.style.animation = 'none';
generateditem.offsetHeight; /* trigger reflow */
generateditem.style.animation = null;generateditem.animate([],{duration: 10000,
});;generateditem.contentEditable=`true`;if (`variablelist` in window) {
}else{
variablelist = {};
};
variablelist[`NumClicks`]= parseFloat(variablelist[`NumClicks`])+1
}else{};;})