Parsa's Wikitext Dump

ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ       ☯
2

> Open Addendum    > Close Addendum   Example Text

e

< Open Addendum >    > Close Addendum <   Example Text

Copyable Text This is copyable text 1. Click to select and copy.

This is copyable text 2. Click to select and copy.

var copyableTexts = document.querySelectorAll(".copyable-text");

copyableTexts.forEach(function(copyableText) {     copyableText.addEventListener("click", function { var selection = window.getSelection; var range = document.createRange; range.selectNodeContents(copyableText); selection.removeAllRanges; selection.addRange(range);

try { var successful = document.execCommand("copy"); var message = successful ? "Text copied!" : "Unable to copy text!"; console.log(message); } catch(err) { console.log("Unable to copy text!"); }

selection.removeAllRanges; });   });