* サーバー側は、小松氏のこれをbloga.jp:80へ置いてあります。
* クライアント側はWS処理をjQueryプラグイン化してみました。これです。
* ちなみに、このDemoサンプルは、下記5行でローカルでも別ドメインでもどこにでも設置出来ます。
<script src="http://bloga.jp/ws/jq/js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="http://bloga.jp/ws/jq/js/jquery.ws-0.3-noenc-pre.js" type="text/javascript" charset="utf-8"></script>
<script src="http://bloga.jp/ws/jq/conn/wschatdemo0.3.js" type="text/javascript"></script>
<script>/*サポートしてない時のalertメッセージを抑止*/$.ws.wsSetup({nonosupportmsg:true});</script>
<div id="wsdemos"></div>
【info】いつもいろいろなテストなどをページ内のあちこちでやっているので、重かったり、壊れていたりするf^^;ことも多いです。実験用ですので、カオス(混沌)をあえて意図したりもしますので、標準やValidとは無縁だったりしますが、何卒、ご了承ください ( _ _ b
【info】
最近はTwitterでぶつぶつ言ってることが多いです。
>http://twitter.com/toshirot
【info】
Chrome Extension [WebSocket Chat] もちろんChrome専用です
https://chrome.google.com/extensions/detail/fnoegeafibddabfhmpmhniphlcojkjli
一応、これもチェックしておきます。window以下は下記forinページで。結構重いので注意。iPhoneはいっぱいいっぱいです(^^;
forin
http://jsgt.org/forin/
|window|
for ( var i in window ) document.write (""+i+" : "+window[i]+"<br>");
external : --[object Object]--
Node : --function Node() { [native code] }--
Rect : --function Rect() { [native code] }--
name : ----
Event : --function Event() { [native code] }--
Text : --function Text() { [native code] }--
Range : --function Range() { [native code] }--
status : ----
closed : --false--
parent : --[object global]--
frames : --[object global]--
Entity : --function Entity() { [native code] }--
opener : --null--
screen : --[object Screen]--
length : --0--
scrollX : --0--
scrollY : --0--
UIEvent : --function UIEvent() { [native code] }--
Comment : --function Comment() { [native code] }--
screenY : --101--
Element : --function Element() { [native code] }--
screenX : --278--
history : --[object History]--
toolbar : --[object BarInfo]--
CSSRule : --function CSSRule() { [native code] }--
console : --[object Console]--
document : --[object HTMLDocument]--
Counter : --function Counter() { [native code] }--
SVGColor : --function SVGColor() { [native code] }--
Document : --function Document() { [native code] }--
Notation : --function Notation() { [native code] }--
SVGAngle : --function SVGAngle() { [native code] }--
CSSValue : --function CSSValue() { [native code] }--
NodeList : --function NodeList() { [native code] }--
SVGPaint : --function SVGPaint() { [native code] }--
navigator : --[object Navigator]--
screenTop : --101--
MediaList : --function MediaList() { [native code] }--
TextEvent : --function TextEvent() { [native code] }--
statusbar : --[object BarInfo]--
DOMParser : --function DOMParser() { [native code] }--
SVGLength : --function SVGLength() { [native code] }--
MouseEvent : --function MouseEvent() { [native code] }--
WheelEvent : --function WheelEvent() { [native code] }--
outerWidth : --691--
screenLeft : --278--
StyleSheet : --function StyleSheet() { [native code] }--
innerWidth : --691--
SVGPathSeg : --function SVGPathSeg() { [native code] }--
scrollbars : --[object BarInfo]--
NodeFilter : --function NodeFilter() { [native code] }--
CSSPageRule : --function CSSPageRule() { [native code] }--
CSSRuleList : --function CSSRuleList() { [native code] }--
personalbar : --[object BarInfo]--
locationbar : --[object BarInfo]--
innerHeight : --882--
pageYOffset : --0--
XMLDocument : --function Document() { [native code] }--
XPathResult : --function XPathResult() { [native code] }--
HTMLElement : --function HTMLElement() { [native code] }--
outerHeight : --882--
SVGUnitTypes : --function SVGUnitTypes() { [native code] }--
frameElement : --undefined--
DOMException : --function DOMCoreException() { [native code] }--
SVGException : --function SVGException() { [native code] }--
CDATASection : --function CDATASection() { [native code] }--
CSSValueList : --function CSSValueList() { [native code] }--
NamedNodeMap : --function NamedNodeMap() { [native code] }--
MessageEvent : --function MessageEvent() { [native code] }--
DocumentType : --function DocumentType() { [native code] }--
SVGTransform : --function SVGTransform() { [native code] }--
CSSStyleRule : --function CSSStyleRule() { [native code] }--
HTMLDocument : --function HTMLDocument() { [native code] }--
CSSMediaRule : --function CSSMediaRule() { [native code] }--
defaultStatus : ----
XSLTProcessor : --function XSLTProcessor() { [native code] }--
CSSImportRule : --function CSSImportRule() { [native code] }--
MutationEvent : --function MutationEvent() { [native code] }--
CharacterData : --function CharacterData() { [native code] }--
HTMLBRElement : --function HTMLBRElement() { [native code] }--
ProgressEvent : --function ProgressEvent() { [native code] }--
KeyboardEvent : --function KeyboardEvent() { [native code] }--
OverflowEvent : --function OverflowEvent() { [native code] }--
XMLSerializer : --function XMLSerializer() { [native code] }--
HTMLLIElement : --function HTMLLIElement() { [native code] }--
CSSStyleSheet : --function CSSStyleSheet() { [native code] }--
HTMLHRElement : --function HTMLHRElement() { [native code] }--
defaultstatus : ----
HTMLModElement : --function HTMLModElement() { [native code] }--
StyleSheetList : --function StyleSheetList() { [native code] }--
HTMLPreElement : --function HTMLPreElement() { [native code] }--
XPathEvaluator : --function XPathEvaluator() { [native code] }--
EventException : --function EventException() { [native code] }--
XPathException : --function XPathException() { [native code] }--
XMLHttpRequest : --function XMLHttpRequest() { [native code] }--
RangeException : --function RangeException() { [native code] }--
HTMLMapElement : --function HTMLMapElement() { [native code] }--
CSSCharsetRule : --function CSSCharsetRule() { [native code] }--
HTMLDivElement : --function HTMLDivElement() { [native code] }--
HTMLMenuElement : --function HTMLMenuElement() { [native code] }--
HTMLLinkElement : --function HTMLLinkElement() { [native code] }--
EntityReference : --function EntityReference() { [native code] }--
HTMLMetaElement : --function HTMLMetaElement() { [native code] }--
CSSFontFaceRule : --function CSSFontFaceRule() { [native code] }--
HTMLFontElement : --function HTMLFontElement() { [native code] }--
HTMLBaseElement : --function HTMLBaseElement() { [native code] }--
HTMLFormElement : --function HTMLFormElement() { [native code] }--
HTMLBodyElement : --function HTMLBodyElement() { [native code] }--
HTMLHtmlElement : --function HTMLHtmlElement() { [native code] }--
HTMLHeadElement : --function HTMLHeadElement() { [native code] }--
HTMLAreaElement : --function HTMLAreaElement() { [native code] }--
HTMLTitleElement : --function HTMLTitleElement() { [native code] }--
HTMLEmbedElement : --function HTMLEmbedElement() { [native code] }--
DocumentFragment : --function DocumentFragment() { [native code] }--
HTMLImageElement : --function HTMLImageElement() { [native code] }--
HTMLOListElement : --function HTMLOListElement() { [native code] }--
HTMLTableElement : --function HTMLTableElement() { [native code] }--
HTMLQuoteElement : --function HTMLQuoteElement() { [native code] }--
HTMLParamElement : --function HTMLParamElement() { [native code] }--
HTMLDListElement : --function HTMLDListElement() { [native code] }--
HTMLFrameElement : --function HTMLFrameElement() { [native code] }--
HTMLLabelElement : --function HTMLLabelElement() { [native code] }--
HTMLUListElement : --function HTMLUListElement() { [native code] }--
devicePixelRatio : --1--
HTMLStyleElement : --function HTMLStyleElement() { [native code] }--
HTMLInputElement : --function HTMLInputElement() { [native code] }--
clientInformation : --[object Navigator]--
HTMLSelectElement : --function HTMLSelectElement() { [native code] }--
HTMLObjectElement : --function HTMLObjectElement() { [native code] }--
HTMLScriptElement : --function HTMLScriptElement() { [native code] }--
HTMLLegendElement : --function HTMLLegendElement() { [native code] }--
HTMLOptionElement : --function HTMLOptionElement() { [native code] }--
HTMLIFrameElement : --function HTMLIFrameElement() { [native code] }--
HTMLAppletElement : --function HTMLAppletElement() { [native code] }--
DOMImplementation : --function DOMImplementation() { [native code] }--
HTMLAnchorElement : --function HTMLAnchorElement() { [native code] }--
CSSPrimitiveValue : --function CSSPrimitiveValue() { [native code] }--
HTMLCanvasElement : --function HTMLCanvasElement() { [native code] }--
HTMLButtonElement : --function HTMLButtonElement() { [native code] }--
SVGRenderingIntent : --function SVGRenderingIntent() { [native code] }--
SVGTextPathElement : --function SVGTextPathElement() { [native code] }--
SVGGradientElement : --function SVGGradientElement() { [native code] }--
HTMLHeadingElement : --function HTMLHeadingElement() { [native code] }--
HTMLIsIndexElement : --function HTMLIsIndexElement() { [native code] }--
offscreenBuffering : --true--
HTMLMarqueeElement : --function HTMLMarqueeElement() { [native code] }--
HTMLFieldSetElement : --function HTMLFieldSetElement() { [native code] }--
HTMLTableColElement : --function HTMLTableColElement() { [native code] }--
CSSStyleDeclaration : --function CSSStyleDeclaration() { [native code] }--
HTMLTextAreaElement : --function HTMLTextAreaElement() { [native code] }--
HTMLTableRowElement : --function HTMLTableRowElement() { [native code] }--
HTMLBaseFontElement : --function HTMLBaseFontElement() { [native code] }--
HTMLOptGroupElement : --function HTMLOptGroupElement() { [native code] }--
HTMLFrameSetElement : --function HTMLFrameSetElement() { [native code] }--
HTMLTableCellElement : --function HTMLTableCellElement() { [native code] }--
HTMLDirectoryElement : --function HTMLDirectoryElement() { [native code] }--
HTMLParagraphElement : --function HTMLParagraphElement() { [native code] }--
HTMLBlockquoteElement : --function HTMLBlockquoteElement() { [native code] }--
ProcessingInstruction : --function ProcessingInstruction() { [native code] }--
SVGTextContentElement : --function SVGTextContentElement() { [native code] }--
SVGPreserveAspectRatio : --function SVGPreserveAspectRatio() { [native code] }--
HTMLTableSectionElement : --function HTMLTableSectionElement() { [native code] }--
HTMLTableCaptionElement : --function HTMLTableCaptionElement() { [native code] }--
XMLHttpRequestException : --function XMLHttpRequestException() { [native code] }--
SVGMarkerElement : --function SVGMarkerElement() { [native code] }--
pageXOffset : --0--
menubar : --[object BarInfo]--
window : --[object global]--
Attr : --function Attr() { [native code] }--
self : --[object global]--
top : --[object global]--
onkeydown : --null--
onabort : --null--
ondblclick : --null--
blur : --function () { [native code] }--
onmousewheel : --null--
onerror : --null--
onkeyup : --null--
onmousedown : --null--
onfocus : --null--
onmousemove : --null--
onload : --null--
ondragdrop : --null--
onmove : --null--
onscroll : --null--
close : --function () { [native code] }--
focus : --function () { [native code] }--
onmouseout : --null--
onreset : --null--
onsubmit : --null--
onmouseup : --null--
onmouseover : --null--
onbeforeunload : --null--
onsearch : --null--
location : --http://jsgt.org/forin/--
onkeypress : --null--
onunload : --null--
onblur : --null--
onresize : --null--
onclick : --null--
onselect : --null--
onchange : --null--
getSelection : --function () { [native code] }--
print : --function () { [native code] }--
stop : --function () { [native code] }--
alert : --function () { [native code] }--
confirm : --function () { [native code] }--
prompt : --function () { [native code] }--
find : --function () { [native code] }--
getComputedStyle : --function () { [native code] }--
getMatchedCSSRules : --function () { [native code] }--
open : --function () { [native code] }--
showModalDialog : --function () { [native code] }--
back : --function () { [native code] }--
forward : --function () { [native code] }--
scrollBy : --function () { [native code] }--
scrollTo : --function () { [native code] }--
scroll : --function () { [native code] }--
moveBy : --function () { [native code] }--
moveTo : --function () { [native code] }--
resizeBy : --function () { [native code] }--
resizeTo : --function () { [native code] }--
clearTimeout : --function () { [native code] }--
clearInterval : --function () { [native code] }--
setTimeout : --function () { [native code] }--
setInterval : --function () { [native code] }--
atob : --function () { [native code] }--
btoa : --function () { [native code] }--
captureEvents : --function () { [native code] }--
releaseEvents : --function () { [native code] }--
addEventListener : --function () { [native code] }--
removeEventListener : --function () { [native code] }--
| 日 | 月 | 火 | 水 | 木 | 金 | 土 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 |




