Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Fix URL clipboard copy for certain sites. (#4269)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenba committed Apr 6, 2018
1 parent 211c90b commit 69683f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addon/webextension/clipboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ this.clipboard = (function() {
element.style.opacity = "0";
element.style.width = "1px";
element.style.height = "1px";
element.style.display = "block";
element.addEventListener("load", catcher.watchFunction(() => {
try {
const doc = element.contentDocument;
Expand Down

0 comments on commit 69683f6

Please sign in to comment.