Editing Talk:2445: Checkbox

Jump to: navigation, search
Ambox notice.png Please sign your posts with ~~~~

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 132: Line 132:
 
  })()
 
  })()
 
</pre> Feel free to fix/clean/shorten/move the script. I put it in a topic to encourage keeping it at the bottom of discussion. [[Special:Contributions/108.162.237.46|108.162.237.46]] 10:17, 2 April 2021 (UTC)
 
</pre> Feel free to fix/clean/shorten/move the script. I put it in a topic to encourage keeping it at the bottom of discussion. [[Special:Contributions/108.162.237.46|108.162.237.46]] 10:17, 2 April 2021 (UTC)
 
 
JavaScript to be pasted in the browser console. Adds a text box below the comic, in which you can write text and press enter to send it. Responses can be read from the JS console. [[User:Ad1217|Ad1217]] ([[User talk:Ad1217|talk]]) 14:53, 2 April 2021 (UTC)
 
<pre>
 
BeepComic.hurryUp();
 
 
var input = comic.parentNode.insertBefore(document.createElement('input'), comic.nextSibling);
 
input.addEventListener("keydown", e => {
 
  if (e.keyCode == 13) {
 
    BeepComic.send(morse.encode(e.target.value));
 
    e.target.value = '';
 
  }
 
}, false);
 
</pre>
 
  
 
<pre>
 
<pre>

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)