@mfcc64/ytms 20.0.0 → 20.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/script.mjs +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mfcc64/ytms",
3
- "version": "20.0.0",
3
+ "version": "20.0.2",
4
4
  "description": "YouTube Musical Spectrum",
5
5
  "main": "script.mjs",
6
6
  "scripts": {
package/script.mjs CHANGED
@@ -165,6 +165,9 @@ import {ShowCQTElement} from "../../showcqt-element@3/showcqt-element.mjs";
165
165
  }
166
166
 
167
167
  set_fixed_style(cqt, 9999999);
168
+ cqt.style.setProperty("user-select", "none");
169
+ cqt.style.setProperty("-webkit-user-select", "none");
170
+
168
171
  let stop_count = 0;
169
172
  const videos = document.getElementsByTagName("video");
170
173
  const require_refresh = ["open.spotify.com", "soundcloud.com"].indexOf(document.location.hostname) < 0;