解除 displayspecifications 复制限制

Remove the copy restriction on displayspecifications.com, 解除 displayspecifications 复制限制

  1. // ==UserScript==
  2. // @name 解除 displayspecifications 复制限制
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.1
  5. // @description Remove the copy restriction on displayspecifications.com, 解除 displayspecifications 复制限制
  6. // @author You
  7. // @license MIT
  8. // @match *.displayspecifications.com/*
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14. // 选择所有的 header 标签
  15. var headerElements = document.querySelectorAll('header');
  16. headerElements.forEach(function(element) {
  17. element.contentEditable = true;
  18. });
  19.  
  20. // 选择所有的 .section-header 的父级元素
  21. var sectionHeaderParentElements = document.querySelectorAll('.section-header');
  22. sectionHeaderParentElements.forEach(function(element) {
  23. var parentElement = element.parentNode;
  24. element.contentEditable = true;
  25. });
  26.  
  27. // 选择所有的 #model-brief-specifications 元素
  28. var modelBriefSpecificationsElements = document.querySelectorAll('#model-brief-specifications');
  29. modelBriefSpecificationsElements.forEach(function(element) {
  30. element.contentEditable = true;
  31. });
  32. // 选择所有的 .model-information-table 元素
  33. var modelInformationTableElements = document.querySelectorAll('.model-information-table');
  34. modelInformationTableElements.forEach(function(element) {
  35. element.contentEditable = true;
  36. });
  37. // 选择所有的 .model-comparison-table 元素
  38. var modelComparisonTableElements = document.querySelectorAll('.model-comparison-table');
  39. modelComparisonTableElements.forEach(function(element) {
  40. element.contentEditable = true;
  41. });
  42.  
  43.  
  44. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址