mirror of
https://github.com/jsbin/jsbin.git
synced 2026-01-25 15:38:56 +00:00
Updated 0.3
This commit is contained in:
parent
7b36f95b09
commit
460efeaafc
Binary file not shown.
@ -1,4 +0,0 @@
|
||||
<form action="http://jsbin.dev/" method="post">
|
||||
<input type="hidden" name="" value="">
|
||||
</form>
|
||||
<script src="post.js"></script>
|
||||
@ -1,7 +0,0 @@
|
||||
chrome.extension.onMessage.addListener(function(code) {
|
||||
alert(JSON.stringify(code));
|
||||
var input = document.getElementsByTagName('input')[0];
|
||||
input.name = code.language;
|
||||
input.value = encodeURIComponent(code.code);
|
||||
input.form.submit();
|
||||
});
|
||||
Loading…
x
Reference in New Issue
Block a user