element-android/vector/src/main/assets/sendObject.js
2019-11-22 12:15:19 +01:00

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;};