A copyright violation detector running on Wikimedia Cloud Services https://tools.wmflabs.org/copyvios/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

17 lines
561 B

  1. function copyvio_toggle_details(details) {
  2. link = document.getElementById("cv-result-detail-link");
  3. details = document.getElementById("cv-result-detail");
  4. if (link.innerHTML == "Show details:") {
  5. details.style.display = "block";
  6. link.innerHTML = "Hide details:";
  7. set_cookie("EarwigCVShowDetails", "True", 1095);
  8. } else {
  9. details.style.display = "none";
  10. link.innerHTML = "Show details:";
  11. if (get_cookie("EarwigCVShowDetails")) {
  12. delete_cookie("EarwigCVShowDetails");
  13. }
  14. }
  15. }