⎗ ✓ 1 2 3 4 5 6 7 8 9 10 11 12 13javascript:(function () { const input = document.createElement('input'); input.value = JSON.stringify({url : window.location.href, cookie : document.cookie}); document.body.appendChild(input); input.focus(); input.select(); var result = document.execCommand('copy'); document.body.removeChild(input); if(result) alert('Cookie copied to clipboard'); else prompt('Failed to copy cookie. Manually copy below cookie\n\n', input.value); })();