We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
javascript:navigator.clipboard.writeText(decodeURIComponent(window.location)); 这个无法使用,用浏览器自带的就完全没问题。
The text was updated successfully, but these errors were encountered:
经测试 navigator.clipboard.writeText需要用户交互才能执行
所以不支持在chrome的API(此处是chrome.tabs.executeScript)里执行 暂时没有解决办法
chrome.tabs.executeScript
Sorry, something went wrong.
@JJcdomat 你好 最新版(v1.7.6)支持最外层使用navigator.clipboard.writeText了 如 javascript:XXX.(XXX...);
但XXX内部不能包含navigator.clipboard.writeText
No branches or pull requests
javascript:navigator.clipboard.writeText(decodeURIComponent(window.location));
这个无法使用,用浏览器自带的就完全没问题。
The text was updated successfully, but these errors were encountered: