MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / copyCredToClipboard

Function copyCredToClipboard

web/scripts/ragnar_modern.js:164–170  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

162}
163
164function copyCredToClipboard(text) {
165 navigator.clipboard.writeText(text).then(() => {
166 addConsoleMessage('Password copied to clipboard', 'success');
167 }).catch(() => {
168 addConsoleMessage('Copy failed — check browser permissions', 'warning');
169 });
170}
171
172function exportCredentialsCSV() {
173 if (!credentialsCache || credentialsCache.length === 0) {

Callers

nothing calls this directly

Calls 1

addConsoleMessageFunction · 0.70

Tested by

no test coverage detected