You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Tern is a stand-alone code-analysis engine for JavaScript. It is intended to be used with a code editor plugin to enhance the editor's support for intelligent JavaScript editing. Features provided are: Autocompletion on variables and properties Function argument hints Querying the type of an expression Finding the definition of something Automatic refactoring Tern is open-source (MIT license), wri
5/14ã®æ¥è¨XSS対ç:JavaScriptã®ã¨ã¹ã±ã¼ã(ãã®2) - ockeghem(徳丸浩)ã®æ¥è¨ã«å¯¾ãã¦ãid:hasegawayosukeããããã³ã¡ã³ããé æ´ããããã®å 容ã¯ãJavaScriptã«å¯¾å¿ãã¦ããªããã©ã¦ã¶ã®å ´åã«å¯¾ããèæ ®ãæãã¦ããã¨ãã趣æ¨ã ã¨ç解ããã å ã®æ¥è¨ã«ãæ¸ããããã«ãç§èªèº«ã¯JavaScriptã®åççæã¯(ç¹æ®ãªå ´åãé¤ãã¦)好ã¾ãããªãã¨èãã¦ããããå§ãã以ä¸ã¯æå¾ã¾ã§æ¤è¨ãããã¨æãã 解決ãã¹ã課é¡ã®æ´ç ã¾ãã解決ãã¹ã課é¡ãæ´çããããå ã®æ¥è¨ã§ã¯ãJavaScriptãåççæãã(ãã ããæååãªãã©ã«å ã®ãã¼ã¿ã«éã)å ´åã®XSS対çã¨ãã¦äºæ®µéã®ã¨ã¹ã±ã¼ããå¿ è¦ã§ãããã¨ã説æãããå ·ä½çã«ã¯ã(1)JavaScriptæååãªãã©ã«ã®ã¨ã¹ã±ã¼ãã¨ãã¦ãã"ããã'ããã\ãã®ã¨ã¹ã±ã¼ãã®å®æ½ã(2)HTMLã¨ãã¦ã®ã¨ã¹
ãã ãWebRTCã§é¡èªèããããã¨ããã¨é ãã¦ãããããªãã£ãã æåã¯éããã¨ããããã10åãããèªèããããã¨ããã«é ããªãã ã¨ããããããã¢ã ããã§ããã¥ã¼ãã³ã°ããã¦ã¿ããã¨ã«ããã ã¾ããJavaScriptã®å®çªã®é«éåã試ãã¦ã¿ãã ä¾ãã°ãæ£ã®æ°ã§ä½¿ãããMath.floor(x)ããã(x | 0)ãã«ãæ´æ°ã§ä½¿ãããx * Math.pow(2, y)ãããx << yãã«ããçã ããã§ã10~30%é«éåã§ããã 次ã«ãé ããªã£ã¦ããé¨åã調ã¹ãããWeb Workersã§åæ£ããããã®ä»çµã¿ãé ããªãåå ã ã¨ããã£ãã ããã¯ãWeb Workersã使ããªãå ´åã«ãå½±é¿ãåºã¦ããã ããããWeb Workersã使ãã°éããªãã®ãã¨ããã°ãã®éã§ã20åé ããªã£ã¦ããã 詳ããã¯èª¿ã¹ã¦ãªããã©ãå¤åWorkerã¹ã¬ããã«å¦çãã¼ã¿ã渡ãæã«JSONåã
ä¸é£ä¼ã®åéã¨ãããã¨ã§å¯åãã¾ããã ä»é 大å¤ãªãã¨ã«ãªã£ã¦ããè·å ´ãå¤ãããããã¾ããããè»äºæ©å¯ãå¤ãããªéå·¥ãçããã模æ§ã NobMiwa :ã»ãã¥ãªãã£æ¥çãé±æãããç¥ãã®äºæããä¸è±éå·¥ ã¦ã¤ã«ã¹ææã§èª¿æ»ããwww3.nhk.or.jp/news/html/2011⦠piyokango :ãå¤é¨ãããµã¼ãã¼ãªã©ã«ä¾µå ¥ãããæ å ±ãæãåããã¦ããçè·¡ãè¦ã¤ããã èªå£²ã§ã¯æ å ±ãæãããã¨ã®å ±éã / âä¸è±éã«ãµã¤ãã¼æ»æãï¼ï¼å°ææâ¦é²è¡é¢é£ã : ç¤¾ä¼ : YOMIURI ONLINEï¼èªå£²æ°èï¼â http://htn.to/ET9Eqe tentama_go :ãã¡ãã®è¨äºã ã¨å°æ°æ¸ãã¦ããã¾ããã¼ï¼ä¸è±éå·¥ã®ã¦ã£ã«ã¹ä¾µå ¥ãå°ãªãã¨ãç´ï¼ï¼å°ã ã¨ããæ ç¹ã¯ãç¥æ¸é è¹æãããé·å´é è¹æãããåå¤å±èªå°æ¨é²ã·ã¹ãã 製ä½æãï¼æç¥çå°ç§å¸ï¼ãªã©ã®è£½é ã»ç 究æ ç¹ï¼ãæã«ã
Ajaxãªã¢ããªã±ã¼ã·ã§ã³ã«ããã¦ããµã¼ãããJSONãè¿ãå ´åã«ãJSONèªä½ã¯validã§ããã«ãé¢ãããã(IEã®é½åã§)ã¨ã¹ã±ã¼ããä¸è¶³ãã¦ãã¦èå¼±æ§ã«ã¤ãªãã£ã¦ãå ´åãããã®ã§ãæ¸ãã¦ããã¾ãã çºçãããããããªãèå¼±æ§ JSONã®ã¨ã¹ã±ã¼ããä¸è¶³ãã¦ããå ´åã«çºçããå¯è½æ§ã®ããèå¼±æ§ã¯ä»¥ä¸ã®éãã§ãã JSONå ã«å«ã¾ããæ©å¯æ å ±ã®æ¼ãã XSS ããããã®è©³ç´°ã«ã¤ãã¦ã¯å¾è¿°ãã¾ãã éçºå´ã§ããã¹ãã㨠æååä¸ã®Unicodeæå㯠"\uXXXX" ãªå½¢å¼ã«ã¨ã¹ã±ã¼ãããã¨ã¨ãã«ãASCIIãªç¯å²ã§ãã£ã¦ãã/ãã<ãã>ãã+ããåæ§ã«ã¨ã¹ã±ã¼ããããã¨ã«ãããåè¿°ã®èå¼±æ§ãé²ããã¨ãã§ãã¾ãã Perlã§ããã°ã以ä¸ã®ãããªæãã«ãªãã¾ããJSON->ascii(1) ã«ç¶ãã¦ãJSONæååãæ£è¦è¡¨ç¾ã§ç½®æãã¦ãããããããã¢ã«ãªãã¾ãã use utf8; u
Written by Magnus Holm From Wikipediaâs article on JSON JSON was based on a subset of the JavaScript scripting language. All JSON-formatted text is also syntactically legal JavaScript code. JSON is a subset of JavaScript. All these years weâve heard it over and over again: âJSON is a JavaScript subsetâ. Guess what? Theyâre wrong. Wrong, wrong, wrong. You see, the devilâs in the details, and thereâ
JavaScriptããå¤é¨ãã¡ã¤ã³ã«ããAPIãå¼ã³åºãããã«ä½¿ãããJSONPã§ãããscriptã¿ã°ãåçã«è¿½å ããæ¹æ³ï¼ä¸è¨ã®è¨äºãªã©ï¼JSONPã®åå¾æã«ãµã¼ãéè² è·ãªã©ã§ã¨ã©ã¼ãåºãå ´åãã¨ã©ã¼å¦çãã§ããªãã¨ããæ¬ ç¹ãããã¾ããã ã¯ãã¹ãã¡ã¤ã³JavaScriptå¼ã³åºããã¯ã©ã¹å, ã¯ãã¼ã¸ã£ã«ãå¯¾å¿ - Okiraku Programming scriptã¿ã°ã« onerror= ã¨ããå±æ§ãä»å ããã¨ã¨ã©ã¼çºçæã«ã¹ã¯ãªãããå®è¡ããããã¨ãã§ãããã©ã¦ã¶ãããã¾ããããã試ãã¦ã¿ãã¨ã Firefox: ãµã¼ããã¹ãã¼ã¿ã¹4xx, 5xxãè¿ããéã«onerrorãå®è¡ãããã Safari: ãµã¼ããã¹ãã¼ã¿ã¹404ãè¿ããéã«ã®ã¿onerrorãå®è¡ãããã Opera: å®è¡ãããªã IE: å®è¡ãããªã ã¨ãã£ãããã«ããã©ã¦ã¶ãã¨ã«æåãã¾ã¡ã¾ã¡ã ã¾ãã¹
ã¯ããã« æ¬ç¨¿ã§ã¯ãJavaãPythonã«ãããµã¼ãã¼å´ã³ã¼ãã£ã³ã°ãä¸åå¿ è¦ã¨ããã«Google App Engineã«ããéçºãå®ç¾ãããã¼ã«ãjsonengineãã«ã¤ãã¦ç´¹ä»ãã¾ãã 対象èªè Google App Engineã«èå³ã¯ãããçµé¨ã®ãªãæ¹ãJavaScriptãActionScriptã«ããã¯ã©ã¤ã¢ã³ãéçºãã¾ãã¯iPhoneãAndroidã«ããã¹ãã¼ããã©ã³éçºã®çµé¨ã®ããæ¹ãJavaãPythonã®éçºçµé¨ã¯ä¸è¦ã§ãã å¿ è¦ãªç°å¢ æä½åä½ç°å¢ã¯æ¬¡ã®ã¨ããã§ãã Java SE 5 jsonengineã£ã¦ä½ï¼ ãjsonengineãã¯ãJavaãPythonã«ãããµã¼ãã¼å´ã³ã¼ãã£ã³ã°ãä¸åå¿ è¦ã¨ããã«Google App Engineã«ããéçºãå®ç¾ãããªã¼ãã³ã½ã¼ã¹ã®ãã¼ã«ã§ãããã®ãã¼ã«ã¯ãæ¨å¹´éå¬ããããMashup Awards 6ãã«ããã¦ã
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
è¿½è¨ os0xããã«json2.jsã§ä½¿ããã¦ããææ³ã§ããäºãæãã¦ãããã¾ããã æ£ããã¯ã¨ã¹ã±ã¼ããå¿ è¦ã 以ä¸ãã©ã¼ã©ã ã§è°è«ããã¦ããå 容ããæå validating json unnecessarily is killing firefox - jQuery Forum // Try to use the native JSON parser first if (window.JSON && window.JSON.parse) { try { return window.JSON.parse( data ); } catch (err) { jQuery.error( "Invalid JSON: " + data ); } } else { if ( /^[\],:{}\s]*$/.test(data.replace(/\\(?:["\\\/bfnrt]|u[0-9a-f
æè¿JSONãªãã¼ã¿ãã´ãã§ã´ãã§ãããã¨ãå¤ãã ããããã¼ã¿æ§é ã調ã¹ãã®ãããã©ãããã ããã¥ã¡ã³ããªãã¦ããå¿ããã èªåã§æ¸ãããµã¼ãã¹ã§ãå¿ããã ã¨ãããã¨ã§JSONãªãã¼ã¿ãè¦è¦çã«è¡¨ç¤ºããJavaScriptã®ã©ã¤ãã©ãªãæ¸ãã¾ããã Firefoxã¨Safariã§åä½ç¢ºèªã http://code.google.com/p/jvisualobj/ ãããªæãã§ã jv posted by (C)gioext 使ãæ¹ã¯ã¨ã£ã¦ãç°¡å $jv.p(obj, area_id); 詳ããã¯sampleãã¡ã¤ã«ãè¦ã¦ãã ããã éçºã®ãä¾ã«ã©ããã
When youâre working with JSON, performance and security are often opposing, yet equally important concerns. One of these areas of contention is handling the JSON strings returned by a server. Most JavaScript libraries do a great job of abstracting away the details, but the underlying process has long been a frustrating exercise in compromise. On one hand, eval() is the fastest widely available met
JSONï¼http://www.json.org/ï¼ãã¼ã¿ã¯ãã£ãããã使ãã®ã§ãä½åº¦ã話é¡ã«ãããã¨ãããã¾ãï¼ä¾ãã°ãããä¸åº¦ãã¡ããã¨JSONå ¥éãï¼ãã§ããJSONã«ã¯åæ å ±ï¼ã¡ã¿æ å ±ãä»ããããªãã®ãã¨ã¦ãä¸æºã§ãJSONæ¹ãªãã¦ãããèãããã¨ãããã¾ãããï¼å¾ã§XIONã«æ¹åï¼ JSONãã¼ã¿ã«å¯¾ããã¹ãã¼ãå®ç¾©ã®ä»æ§ãããã¾ãã¤ã¤ãããã¨ããããæè¿ã«ãªã£ã¦ç¥ãã¾ããã http://json-schema.org/ JSONæ¬ä½ã¯RFC 4627ã«ãªã£ã¦ãã¾ãããJSONã¹ãã¼ãã®æ¨æºåã®ã¹ãã¼ã¿ã¹ã¯ããã¾ãããããªã¨ã¯åããã¾ããï¼åã«ã¯ï¼ãhttp://groups.google.com/group/json-schema?pli=1 ãè¦ãè¦ããæãã§ã¯ãç¾ç¶ã¯ã¼ãã³ã°ãã©ããã¨ããä½ç½®ä»ããããã§ãã ãªããªãé¢ç½ããå½¹ã«ç«ã¡ãããªã®ã§ç´¹ä»ãã¾ãããã ããåã«ã¨ã£
JSONæååãevalãã¦å¤ãåãããã¨ãã«æåãå¦ã§ã¯ã¾ã£ããã¨ãã話ãèããã®ã§ãFirefox1.5ä¸ã®FireBugã®ã³ã³ã½ã¼ã«ã§ä½ãã¿ã¼ã³ã試ãã¦ã¿ãã {"key":"value"}ã¨ããJSONãã¼ã¿ãæååã§æ¸¡ã£ã¦ãã¦ããããevalãã¦JavaScriptã®å¤ã¨ãã¦ä½¿ããããã¨ããæ³å®ã ééã£ãJSONæååãevalããå ´å >>> jsonstr = "{key:\"value\"}" "{key:"value"}" >>> var obj = eval(jsonstr) >>> obj "value" >>> typeof(obj) "string"JSONã®ãªãã¸ã§ã¯ãã§ã¯ãã©ãã«ã""ã§ããã£ã¦æååã«ããªãã¨ãããªãã®ã ããã¾ãã¯ãããå¿ããå ´åã試ãã¦ã¿ããçµæã¨ãã¦è¿ã£ã¦ããã®ã¯ããªãã¨JSONã®ããã·ã¥ã®è¦ç´ ã«ããã¤ããã®æååã®ã¿ã æ£ããJSON
ã¯ã¦ãª http://b.hatena.ne.jp/entry/json/URL livedoor http://api.clip.livedoor.com/json/comments?link=URL ã§JSONã³ã¼ããåå¾ã§ããã®ã ããå¾®å¦ã«ä»æ§ãç°ãªãã ã¯ã¦ãªã¯ãªãã¸ã§ã¯ãã®åå¾ã«()ãä»ãã®ã«å¯¾ãã¦livedoorã®ã¯ä»ããªã ã¯ã¦ãª:({"count":"100","bookmarks":[{....}]}) livedoor:{"link":"URL","Comments":[{....}]} ã¨ããæãã Firefox3ããå°å ¥ãããJavaScriptã¢ã¸ã¥ã¼ã«ã使ç¨ãã¦ä¸¡è ã®ã³ã¼ãããã³ã¼ããããã¨è©¦ã¿ãã®ã ãã()ãä»ãã¦ããã¨ãã³ã¼ãã§ããã«ã¨ã©ã¼ãè¿ã£ã¦ãã¾ãã Chromeç¹æ¨©ä¸ã§ã³ã¼ããåããã¦ããã®ã§åç´ã«evalã使ãã®ã¯å±éºããªã¨æããSandBoxä¸
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}