| 
									
										
										
										
											2013-04-18 15:09:53 +08:00
										 |  |  | <html> | 
					
						
							|  |  |  | <head> | 
					
						
							|  |  |  |   <meta http-equiv="content-type" content="text/html; charset=utf-8"> | 
					
						
							| 
									
										
										
										
											2013-05-30 15:40:44 +08:00
										 |  |  |   <title>Atom Shell</title> | 
					
						
							| 
									
										
										
										
											2013-04-18 15:09:53 +08:00
										 |  |  | </head> | 
					
						
							|  |  |  | <body> | 
					
						
							| 
									
										
										
										
											2013-05-30 15:40:44 +08:00
										 |  |  |   This is the default mode of Atom Shell, please follow the instructions in | 
					
						
							|  |  |  |   wiki to get started. | 
					
						
							| 
									
										
										
										
											2013-05-14 21:39:00 +08:00
										 |  |  |   <script type="text/javascript" charset="utf-8"> | 
					
						
							| 
									
										
										
										
											2013-06-06 19:45:48 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-05-14 21:39:00 +08:00
										 |  |  |     var ipc = require('ipc'); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     window.addEventListener('contextmenu', function (e) { | 
					
						
							| 
									
										
										
										
											2013-06-06 19:45:48 +08:00
										 |  |  |       while(1) {} | 
					
						
							| 
									
										
										
										
											2013-05-14 21:39:00 +08:00
										 |  |  |       e.preventDefault(); | 
					
						
							|  |  |  |       ipc.send('menu'); | 
					
						
							|  |  |  |     }, false); | 
					
						
							|  |  |  |   </script> | 
					
						
							| 
									
										
										
										
											2013-04-18 15:09:53 +08:00
										 |  |  | </body> | 
					
						
							|  |  |  | </html> |