mirror of
https://github.com/element-hq/element-android
synced 2024-12-22 01:04:56 +03:00
1 line
No EOL
273 B
JavaScript
1 line
No EOL
273 B
JavaScript
javascript:window.sendObjectMessage = function(parameters) { var iframe = document.createElement('iframe'); iframe.setAttribute('src', 'js:' + JSON.stringify(parameters)); document.documentElement.appendChild(iframe); iframe.parentNode.removeChild(iframe); iframe = null;}; |