File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -10197,11 +10197,15 @@
1019710197 inPagePostParams.shift();
1019810198 if (inPagePostParams && inPagePostParams.length) {
1019910199 storage.setListItem("inPagePostParams", location.hostname, inPagePostParams);
10200- storage.setItem("copyStore", JSON.stringify(copyList));
10200+ if (copyList && copyList.length) {
10201+ storage.setItem("copyStore", JSON.stringify(copyList));
10202+ }
1020110203 } else {
10202- _GM_setClipboard(copyList.join("\n"));
1020310204 storage.setListItem("inPagePostParams", location.hostname, "");
1020410205 storage.setItem("copyStore", "");
10206+ if (copyList && copyList.length) {
10207+ _GM_setClipboard(copyList.join("\n"));
10208+ }
1020510209 }
1020610210 if (param[0] === '@reload') {
1020710211 location.reload(!!param[1]);
You can’t perform that action at this time.
0 commit comments