Are you over 18 and want to see adult content?
More Annotations
A complete backup of abeautifulplate.com
Are you over 18 and want to see adult content?
A complete backup of estadodemexicopublica.com
Are you over 18 and want to see adult content?
A complete backup of schrijvenonline.org
Are you over 18 and want to see adult content?
A complete backup of technomarine.com
Are you over 18 and want to see adult content?
Favourite Annotations
A complete backup of paleodietfood.org
Are you over 18 and want to see adult content?
A complete backup of psychcongress.com
Are you over 18 and want to see adult content?
A complete backup of thesweethouseofmadness.com
Are you over 18 and want to see adult content?
A complete backup of texasfarmersmarket.org
Are you over 18 and want to see adult content?
A complete backup of kwintessential.co.uk
Are you over 18 and want to see adult content?
Text
JOJI.ME
WALKTHROUGH: DECRYPT SSL/TLS TRAFFIC (HTTPS AND HTTP/2) IN I was recently researching HTTP/2. However I can only see encrypted network packets in Wireshark because all browsers only support HTTP/2 that run over TLS. Actually Wireshark does provide some settings to decrypt SSL/TLS traffic. HOW TO FIX EDGE START FAILURE ERROR: UNABLE TO CREATE Expand fix-edge, right click File System, click Add File, choose directory C:\Windows\System32, keep default settings and click OK, in next Add Object dialog, keep default settings and click OK. Right click fix-edge, click Save. Go to the template path, you should see the configuration file: fix-edge.inf. Edit it in notepad. HOW TO RESOLVE "SEC7111: HTTPS SECURITY IS COMPROMISED BYSEE MORE ONJOJI.ME
PERFORMANCE ISSUE OF USING MASSIVE TRANSFERABLE OBJECTS INSEE MORE ONJOJI.ME
IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW ANDSEE MORE ONJOJI.ME
使用FILEREADER.READASARRAYBUFFER()在浏览器中处理 …TRANSLATETHIS PAGE
HTML5的FileReader
API可以让客户端浏览器对用户本地文件进行读取,这样就不再需要上传文件由服务器进行读取了,这大大减轻了服务器的负担,也节省了上传文件所需要的时间。不过在实践中我发现用FileReader.readAsText()可以轻易地处理一个300k的日志文件,但当日志文件有1G、甚至2G那么大,浏览 SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. HOW TO CREATE AN IIS WEBSITE THAT REQUIRES CLIENT Some IE/IIS issues may involve client certificate. It always took me hours to deploy a test website that requires client certificate. Therefore, I am going to write this blog to record every steps including: creating self-signed root CA, server certificate, client certificate and configuring IIS. THE HTTP CONNECT TUNNEL HTTPS is widely used on Internet to secure the data being transferred. However, when a browser needs to send a HTTPS request through proxy, since the request hostname and port number are all encrypted in HTTPS request header and even the proxy cannot get them, then how does the proxy know where to send client's request? PROCESSING HUGE FILES USING FILEREADER.READASARRAYBUFFERSEE MORE ONJOJI.ME
WALKTHROUGH: DECRYPT SSL/TLS TRAFFIC (HTTPS AND HTTP/2) IN I was recently researching HTTP/2. However I can only see encrypted network packets in Wireshark because all browsers only support HTTP/2 that run over TLS. Actually Wireshark does provide some settings to decrypt SSL/TLS traffic. HOW TO FIX EDGE START FAILURE ERROR: UNABLE TO CREATE Expand fix-edge, right click File System, click Add File, choose directory C:\Windows\System32, keep default settings and click OK, in next Add Object dialog, keep default settings and click OK. Right click fix-edge, click Save. Go to the template path, you should see the configuration file: fix-edge.inf. Edit it in notepad. HOW TO RESOLVE "SEC7111: HTTPS SECURITY IS COMPROMISED BYSEE MORE ONJOJI.ME
PERFORMANCE ISSUE OF USING MASSIVE TRANSFERABLE OBJECTS INSEE MORE ONJOJI.ME
IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW ANDSEE MORE ONJOJI.ME
使用FILEREADER.READASARRAYBUFFER()在浏览器中处理 …TRANSLATETHIS PAGE
HTML5的FileReader
API可以让客户端浏览器对用户本地文件进行读取,这样就不再需要上传文件由服务器进行读取了,这大大减轻了服务器的负担,也节省了上传文件所需要的时间。不过在实践中我发现用FileReader.readAsText()可以轻易地处理一个300k的日志文件,但当日志文件有1G、甚至2G那么大,浏览 SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. JAVASCRIPT: WHAT'S THE DIFFERENCE BETWEEN HTML ATTRIBUTE Property. Properties belong to DOM, the nature of DOM is an object in JavaScript. We can get and set properties as we do to a normal object in JavaScript and properties can be any types. Non-custom attributes have 1:1 mapping onto properties, like: id, class, title, etc. Notice: We need to use "className" when get and set "class" by property TUTORIAL: CONNECT TO SQL SERVER FROM A JAVA APPLICATION I've started supporting Microsoft JDBC Driver for SQL server. The driver provides Java database connectivity from any Java application, application server, or Java-enabled applet. As a beginner of Java programming, I am writing this tutorial to record how to create a simple console Java application to connect SQL server using JDBCDriver.
JAVASCRIPT ES5: THE OBJECT.DEFINEPROPERTY() METHOD JavaScript ES5: the Object.defineProperty () method. We can use the form: varable.property to get and set the value of an object: var obj = {a:1} in JavaScript. This is the most common and convenient way we code in JS, however the property that is IE11 MIGRATION GUIDE: HOW TO SOLVE COMPATIBILITY ISSUE? Incorrect Document Mode. Incorrect Document Mode is the root cause of most common compatibility issues. Previous versions of IE use quirks mode (IE5 document mode) to render a webpage that doesn't contain a valid DOCTYPE declaration while IE10 and IE11 use the highest document mode to render the same page.CATEGORY: HTTPS
HTTPS is widely used on Internet to secure the data being transferred. However, when a browser needs to send a HTTPS request through proxy, since the request hostname and port number are all encrypted in HTTPS request header and even the proxy cannot get them, then how does the proxy know where to send client's request? IE11 MIGRATION GUIDE: EVERYTHING YOU NEED TO KNOW ABOUT Compatibility view is unable to resolve all compatibility issues in Internet Explorer 11. Enterprise Mode was first introduced in April 2014 IE11 cumulative security update. It was originally aimed at emulating the behaviors of IE7 and IE8 to avoid the common compatibility problems associated with web apps written and tested on older versions of Internet Explorer. IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW AND Compatibility View is the most common backward compatible solution in Internet Explorer, it can be configured by Compatibility View Settings, Group Policy and Local intranet security zone. We can control some of the sub-domains to be displayed in Compatibility View and some of them not by using these configurations. HOW TO USE SIGN-IN CARD TO AUTHENTICATE YOUR BOT AGAINST A Bot Framework (v4) provides OAuth sign-in feature to authenticate against an OAuth login provider. However, there are few samples showing how to use Sign-in Card to authenticate against a third party login service. This article will show you how to use Sign-in Card toauthenticate a
JOJI.ME
301 Moved Permanently. nginx/1.14.0 (Ubuntu) SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. HOW TO CREATE AN IIS WEBSITE THAT REQUIRES CLIENT Some IE/IIS issues may involve client certificate. It always took me hours to deploy a test website that requires client certificate. Therefore, I am going to write this blog to record every steps including: creating self-signed root CA, server certificate, client certificate and configuring IIS. WALKTHROUGH: DECRYPT SSL/TLS TRAFFIC (HTTPS AND HTTP/2) IN I was recently researching HTTP/2. However I can only see encrypted network packets in Wireshark because all browsers only support HTTP/2 that run over TLS. Actually Wireshark does provide some settings to decrypt SSL/TLS traffic. THE HTTP CONNECT TUNNEL HTTPS is widely used on Internet to secure the data being transferred. However, when a browser needs to send a HTTPS request through proxy, since the request hostname and port number are all encrypted in HTTPS request header and even the proxy cannot get them, then how does the proxy know where to send client's request? PROCESSING HUGE FILES USING FILEREADER.READASARRAYBUFFERSEE MORE ONJOJI.ME
HOW TO RESOLVE "SEC7111: HTTPS SECURITY IS COMPROMISED BYSEE MORE ONJOJI.ME
PERFORMANCE ISSUE OF USING MASSIVE TRANSFERABLE OBJECTS INSEE MORE ONJOJI.ME
IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW ANDSEE MORE ONJOJI.ME
HOW TO FIX EDGE START FAILURE ERROR: UNABLE TO CREATE Symptom: Edge failed to start and browse any webpage, it always showed: "That's odd something stopped working, so this page can't load." The detailed error message 使用FILEREADER.READASARRAYBUFFER()在浏览器中处理 …TRANSLATETHIS PAGE
HTML5的FileReader
API可以让客户端浏览器对用户本地文件进行读取,这样就不再需要上传文件由服务器进行读取了,这大大减轻了服务器的负担,也节省了上传文件所需要的时间。不过在实践中我发现用FileReader.readAsText()可以轻易地处理一个300k的日志文件,但当日志文件有1G、甚至2G那么大,浏览 SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. HOW TO CREATE AN IIS WEBSITE THAT REQUIRES CLIENT Some IE/IIS issues may involve client certificate. It always took me hours to deploy a test website that requires client certificate. Therefore, I am going to write this blog to record every steps including: creating self-signed root CA, server certificate, client certificate and configuring IIS. WALKTHROUGH: DECRYPT SSL/TLS TRAFFIC (HTTPS AND HTTP/2) IN I was recently researching HTTP/2. However I can only see encrypted network packets in Wireshark because all browsers only support HTTP/2 that run over TLS. Actually Wireshark does provide some settings to decrypt SSL/TLS traffic. THE HTTP CONNECT TUNNEL HTTPS is widely used on Internet to secure the data being transferred. However, when a browser needs to send a HTTPS request through proxy, since the request hostname and port number are all encrypted in HTTPS request header and even the proxy cannot get them, then how does the proxy know where to send client's request? PROCESSING HUGE FILES USING FILEREADER.READASARRAYBUFFERSEE MORE ONJOJI.ME
HOW TO RESOLVE "SEC7111: HTTPS SECURITY IS COMPROMISED BYSEE MORE ONJOJI.ME
PERFORMANCE ISSUE OF USING MASSIVE TRANSFERABLE OBJECTS INSEE MORE ONJOJI.ME
IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW ANDSEE MORE ONJOJI.ME
HOW TO FIX EDGE START FAILURE ERROR: UNABLE TO CREATE Symptom: Edge failed to start and browse any webpage, it always showed: "That's odd something stopped working, so this page can't load." The detailed error message 使用FILEREADER.READASARRAYBUFFER()在浏览器中处理 …TRANSLATETHIS PAGE
HTML5的FileReader
API可以让客户端浏览器对用户本地文件进行读取,这样就不再需要上传文件由服务器进行读取了,这大大减轻了服务器的负担,也节省了上传文件所需要的时间。不过在实践中我发现用FileReader.readAsText()可以轻易地处理一个300k的日志文件,但当日志文件有1G、甚至2G那么大,浏览 SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. TUTORIAL: CONNECT TO SQL SERVER FROM A JAVA APPLICATION I've started supporting Microsoft JDBC Driver for SQL server. The driver provides Java database connectivity from any Java application, application server, or Java-enabled applet. As a beginner of Java programming, I am writing this tutorial to record how to create a simple console Java application to connect SQL server using JDBCDriver.
JAVASCRIPT ES5: THE OBJECT.DEFINEPROPERTY() METHOD We can use the form: varable.property to get and set the value of an object: var obj = {a:1} in JavaScript. This is the most common and convenient way we code in JS, however the property that is created in this way can be easily modified and is enumerable. The Object.defineProperty() allows precise addition to or modification of a property on an object. IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW AND Compatibility View is the most common backward compatible solution in Internet Explorer, it can be configured by Compatibility View Settings, Group Policy and Local intranet security zone. We can control some of the sub-domains to be displayed in Compatibility View and some of them not by using these configurations. 理解HTTP CONNECT通道 为了确保数据通信的安全,https已广泛应用于互联网,浏览器与服务器之间的https通信都是加密的。然而当浏览器需要通过代理服务器发起https请求时,由于请求的站点地址和端口号都是加密保存于https请求头中的,代理服务器是如何既确保通信是加密的(代理服务器自身也无法读取通信内容)又 IE11 MIGRATION GUIDE: EVERYTHING YOU NEED TO KNOW ABOUT Compatibility view is unable to resolve all compatibility issues in Internet Explorer 11. Enterprise Mode was first introduced in April 2014 IE11 cumulative security update. It was originally aimed at emulating the behaviors of IE7 and IE8 to avoid the common compatibility problems associated with web apps written and tested on older versions of Internet Explorer. IE11 MIGRATION GUIDE: HOW TO SOLVE COMPATIBILITY ISSUE? Incorrect Document Mode. Incorrect Document Mode is the root cause of most common compatibility issues. Previous versions of IE use quirks mode (IE5 document mode) to render a webpage that doesn't contain a valid DOCTYPE declaration while IE10 and IE11 use the highest document mode to render the same page. 使用FILEREADER.READASARRAYBUFFER()在浏览器中处理 …TRANSLATETHIS PAGE
HTML5的FileReader
API可以让客户端浏览器对用户本地文件进行读取,这样就不再需要上传文件由服务器进行读取了,这大大减轻了服务器的负担,也节省了上传文件所需要的时间。不过在实践中我发现用FileReader.readAsText()可以轻易地处理一个300k的日志文件,但当日志文件有1G、甚至2G那么大,浏览 网页性能优化:设置永久缓存 当浏览器请求一个之前访问过的静态文件时,会在HTTP头中加上:If-Modified-Since、If-None-Match以向服务器确认该文件是否有更新,如果没有更新,服务器则返回304Not
Modified,浏览器就会使用本地缓存而不是从服务器重新下载该文件。这是多数Web Server对于静态文件的默认缓存行为,然而这个缓存行为仍有 企业IE11迁移指南:了解和使用IE11企业模式TRANSLATE THISPAGE
在ie11中,仅仅使用兼容性视图可能无法解决所有兼容性问题。2014年4月的ie11累积更新首次引入了企业模式。起初企业模式旨在模拟ie7、ie8浏览器行为以兼容更多的老旧站点,之后的更新中企业模式允许针对某个站点指定使用特定的文档模式(5~11)。所以为了使用到功能最全面的企业模式,请先将ie11 SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. HOW TO CREATE AN IIS WEBSITE THAT REQUIRES CLIENT Some IE/IIS issues may involve client certificate. It always took me hours to deploy a test website that requires client certificate. Therefore, I am going to write this blog to record every steps including: creating self-signed root CA, server certificate, client certificate and configuring IIS. WALKTHROUGH: DECRYPT SSL/TLS TRAFFIC (HTTPS AND HTTP/2) IN I was recently researching HTTP/2. However I can only see encrypted network packets in Wireshark because all browsers only support HTTP/2 that run over TLS. Actually Wireshark does provide some settings to decrypt SSL/TLS traffic. THE HTTP CONNECT TUNNEL HTTPS is widely used on Internet to secure the data being transferred. However, when a browser needs to send a HTTPS request through proxy, since the request hostname and port number are all encrypted in HTTPS request header and even the proxy cannot get them, then how does the proxy know where to send client's request? TUTORIAL: CONNECT TO SQL SERVER FROM A JAVA APPLICATION I've started supporting Microsoft JDBC Driver for SQL server. The driver provides Java database connectivity from any Java application, application server, or Java-enabled applet. As a beginner of Java programming, I am writing this tutorial to record how to create a simple console Java application to connect SQL server using JDBCDriver.
PROCESSING HUGE FILES USING FILEREADER.READASARRAYBUFFERSEE MORE ONJOJI.ME
HOW TO RESOLVE "SEC7111: HTTPS SECURITY IS COMPROMISED BYSEE MORE ONJOJI.ME
HOW TO FIX EDGE START FAILURE ERROR: UNABLE TO CREATE Expand fix-edge, right click File System, click Add File, choose directory C:\Windows\System32, keep default settings and click OK, in next Add Object dialog, keep default settings and click OK. Right click fix-edge, click Save. Go to the template path, you should see the configuration file: fix-edge.inf. Edit it in notepad. IE11 MIGRATION GUIDE: UNDERSTANDING BROWSER MODE, DOCUMENT In Compatibility View mode, the User-Agent string contains " MSIE 7.0 " token and the Trident engine version of current browser. If you find the User-Agent of IE8, IE9 or IE10 contains " MSIE 7.0 ", it indicates current page is displayed in Compatibility View. The User-Agent also contains " MSIE 7.0 " in IE11 Compatibility View, however IE11 使用FILEREADER.READASARRAYBUFFER()在浏览器中处理 …TRANSLATETHIS PAGE
HTML5的FileReader
API可以让客户端浏览器对用户本地文件进行读取,这样就不再需要上传文件由服务器进行读取了,这大大减轻了服务器的负担,也节省了上传文件所需要的时间。不过在实践中我发现用FileReader.readAsText()可以轻易地处理一个300k的日志文件,但当日志文件有1G、甚至2G那么大,浏览 SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. HOW TO CREATE AN IIS WEBSITE THAT REQUIRES CLIENT Some IE/IIS issues may involve client certificate. It always took me hours to deploy a test website that requires client certificate. Therefore, I am going to write this blog to record every steps including: creating self-signed root CA, server certificate, client certificate and configuring IIS. WALKTHROUGH: DECRYPT SSL/TLS TRAFFIC (HTTPS AND HTTP/2) IN I was recently researching HTTP/2. However I can only see encrypted network packets in Wireshark because all browsers only support HTTP/2 that run over TLS. Actually Wireshark does provide some settings to decrypt SSL/TLS traffic. THE HTTP CONNECT TUNNEL HTTPS is widely used on Internet to secure the data being transferred. However, when a browser needs to send a HTTPS request through proxy, since the request hostname and port number are all encrypted in HTTPS request header and even the proxy cannot get them, then how does the proxy know where to send client's request? TUTORIAL: CONNECT TO SQL SERVER FROM A JAVA APPLICATION I've started supporting Microsoft JDBC Driver for SQL server. The driver provides Java database connectivity from any Java application, application server, or Java-enabled applet. As a beginner of Java programming, I am writing this tutorial to record how to create a simple console Java application to connect SQL server using JDBCDriver.
PROCESSING HUGE FILES USING FILEREADER.READASARRAYBUFFERSEE MORE ONJOJI.ME
HOW TO RESOLVE "SEC7111: HTTPS SECURITY IS COMPROMISED BYSEE MORE ONJOJI.ME
HOW TO FIX EDGE START FAILURE ERROR: UNABLE TO CREATE Expand fix-edge, right click File System, click Add File, choose directory C:\Windows\System32, keep default settings and click OK, in next Add Object dialog, keep default settings and click OK. Right click fix-edge, click Save. Go to the template path, you should see the configuration file: fix-edge.inf. Edit it in notepad. IE11 MIGRATION GUIDE: UNDERSTANDING BROWSER MODE, DOCUMENT In Compatibility View mode, the User-Agent string contains " MSIE 7.0 " token and the Trident engine version of current browser. If you find the User-Agent of IE8, IE9 or IE10 contains " MSIE 7.0 ", it indicates current page is displayed in Compatibility View. The User-Agent also contains " MSIE 7.0 " in IE11 Compatibility View, however IE11 使用FILEREADER.READASARRAYBUFFER()在浏览器中处理 …TRANSLATETHIS PAGE
HTML5的FileReader
API可以让客户端浏览器对用户本地文件进行读取,这样就不再需要上传文件由服务器进行读取了,这大大减轻了服务器的负担,也节省了上传文件所需要的时间。不过在实践中我发现用FileReader.readAsText()可以轻易地处理一个300k的日志文件,但当日志文件有1G、甚至2G那么大,浏览 SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. PROCESSING HUGE FILES USING FILEREADER.READASARRAYBUFFER The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. PERFORMANCE ISSUE OF USING MASSIVE TRANSFERABLE OBJECTS IN Performance issue of massive transferable objects. Based on the test results above, using Transferable Objects for worker communication would be a wise choice if you need to transfer only one (or small number of) large size object and there is no need to access the object in original context. However, the text parser I am developing needs to HOW TO DEVELOP HIGH PERFORMANCE ONSCROLL EVENT? We need to take special care of the performance while hooking up to the onscroll event as it fires more frequently with shorter interval time comparing to other events like mouse and keyboard. The FPS drops if your onscroll event contains elaborate logic or animations. In addition, user usually scrolls the mouse wheel continuously, it may aggravate the FPS drop, increase the browser CPU usage 理解HTTP CONNECT通道 理解HTTP CONNECT通道. 为了确保数据通信的安全,HTTPS已广泛应用于互联网,浏览器与服务器之间的HTTPS通信都是加密的。. 然而当浏览器需要通过代理服务器发起HTTPS请求时,由于请求的站点地址和端口号都是加密保存于HTTPS请求头中的,代理服务器是如何既确保 IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW AND Compatibility View is the most common backward compatible solution in Internet Explorer, it can be configured by Compatibility View Settings, Group Policy and Local intranet security zone. We can control some of the sub-domains to be displayed in Compatibility View and some of them not by using these configurations. 企业IE11迁移指南:了解和使用IE11企业模式TRANSLATE THISPAGE
在ie11中,仅仅使用兼容性视图可能无法解决所有兼容性问题。2014年4月的ie11累积更新首次引入了企业模式。起初企业模式旨在模拟ie7、ie8浏览器行为以兼容更多的老旧站点,之后的更新中企业模式允许针对某个站点指定使用特定的文档模式(5~11)。所以为了使用到功能最全面的企业模式,请先将ie11 如何搭建要求客户端证书的IIS站点(使用自签名证书)TRANSLATETHIS PAGE
项目 内容; 域: iislab.com: IIS服务器: iis-lab-server @ Windows Server 2012 R2 Standard: 客户端: iis-lab-client @ Windows 7 Enterprise: 所需工具: makecert.exe和pvk2pfx.exe。这两个EXE可以在一台装有Visual Studio的机器上找到,比如在一台装有VS2015的64位Windows 10上就可以在C:\Program Files (x86)\Windows Kits\10\bin\x64中拿到这两个文件。 如何通过WIRESHARK查看HTTPS、HTTP/2网络包(解 …TRANSLATETHIS PAGE
Chrome和Firefox在启动时会检查这个环境变量,如果存在的话,它会向指定的文件写入访问HTTPS站点时使用的密钥。. 我们可以在客户端配置Wireshark读取这个文件来解码TLS、 SSL网络包。. 右键 计算机 ,查看 属性 ,打开 高级系统设置 ,查看 高级 选项卡,点击 环境 IE XSS筛选器的误判 最近我在往博客文章中添加评论功能后,发现使用IE访问某一篇文章的页面总是弹出警告:InternetExplorer
已对此页面进行了修改,以帮助阻止跨站点脚本。通过Fiddler不断调试和测试,发现是因为这篇文章的标题以 JavaScript:开头,然后触发IE的XSS筛选器认为这是一个跨站点脚本攻击。 SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. HOW TO CREATE AN IIS WEBSITE THAT REQUIRES CLIENT Some IE/IIS issues may involve client certificate. It always took me hours to deploy a test website that requires client certificate. Therefore, I am going to write this blog to record every steps including: creating self-signed root CA, server certificate, client certificate and configuring IIS. WALKTHROUGH: DECRYPT SSL/TLS TRAFFIC (HTTPS AND HTTP/2) IN I was recently researching HTTP/2. However I can only see encrypted network packets in Wireshark because all browsers only support HTTP/2 that run over TLS. Actually Wireshark does provide some settings to decrypt SSL/TLS traffic. THE HTTP CONNECT TUNNEL HTTPS is widely used on Internet to secure the data being transferred. However, when a browser needs to send a HTTPS request through proxy, since the request hostname and port number are all encrypted in HTTPS request header and even the proxy cannot get them, then how does the proxy know where to send client's request? PROCESSING HUGE FILES USING FILEREADER.READASARRAYBUFFERSEE MORE ONJOJI.ME
HOW TO RESOLVE "SEC7111: HTTPS SECURITY IS COMPROMISED BYSEE MORE ONJOJI.ME
HOW TO FIX EDGE START FAILURE ERROR: UNABLE TO CREATE Expand fix-edge, right click File System, click Add File, choose directory C:\Windows\System32, keep default settings and click OK, in next Add Object dialog, keep default settings and click OK. Right click fix-edge, click Save. Go to the template path, you should see the configuration file: fix-edge.inf. Edit it in notepad. PERFORMANCE ISSUE OF USING MASSIVE TRANSFERABLE OBJECTS INSEE MORE ONJOJI.ME
IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW ANDSEE MORE ONJOJI.ME
使用FILEREADER.READASARRAYBUFFER()在浏览器中处理 …TRANSLATETHIS PAGE
HTML5的FileReader
API可以让客户端浏览器对用户本地文件进行读取,这样就不再需要上传文件由服务器进行读取了,这大大减轻了服务器的负担,也节省了上传文件所需要的时间。不过在实践中我发现用FileReader.readAsText()可以轻易地处理一个300k的日志文件,但当日志文件有1G、甚至2G那么大,浏览 SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. HOW TO CREATE AN IIS WEBSITE THAT REQUIRES CLIENT Some IE/IIS issues may involve client certificate. It always took me hours to deploy a test website that requires client certificate. Therefore, I am going to write this blog to record every steps including: creating self-signed root CA, server certificate, client certificate and configuring IIS. WALKTHROUGH: DECRYPT SSL/TLS TRAFFIC (HTTPS AND HTTP/2) IN I was recently researching HTTP/2. However I can only see encrypted network packets in Wireshark because all browsers only support HTTP/2 that run over TLS. Actually Wireshark does provide some settings to decrypt SSL/TLS traffic. THE HTTP CONNECT TUNNEL HTTPS is widely used on Internet to secure the data being transferred. However, when a browser needs to send a HTTPS request through proxy, since the request hostname and port number are all encrypted in HTTPS request header and even the proxy cannot get them, then how does the proxy know where to send client's request? PROCESSING HUGE FILES USING FILEREADER.READASARRAYBUFFERSEE MORE ONJOJI.ME
HOW TO RESOLVE "SEC7111: HTTPS SECURITY IS COMPROMISED BYSEE MORE ONJOJI.ME
HOW TO FIX EDGE START FAILURE ERROR: UNABLE TO CREATE Expand fix-edge, right click File System, click Add File, choose directory C:\Windows\System32, keep default settings and click OK, in next Add Object dialog, keep default settings and click OK. Right click fix-edge, click Save. Go to the template path, you should see the configuration file: fix-edge.inf. Edit it in notepad. PERFORMANCE ISSUE OF USING MASSIVE TRANSFERABLE OBJECTS INSEE MORE ONJOJI.ME
IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW ANDSEE MORE ONJOJI.ME
使用FILEREADER.READASARRAYBUFFER()在浏览器中处理 …TRANSLATETHIS PAGE
HTML5的FileReader
API可以让客户端浏览器对用户本地文件进行读取,这样就不再需要上传文件由服务器进行读取了,这大大减轻了服务器的负担,也节省了上传文件所需要的时间。不过在实践中我发现用FileReader.readAsText()可以轻易地处理一个300k的日志文件,但当日志文件有1G、甚至2G那么大,浏览 SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. TUTORIAL: CONNECT TO SQL SERVER FROM A JAVA APPLICATION I've started supporting Microsoft JDBC Driver for SQL server. The driver provides Java database connectivity from any Java application, application server, or Java-enabled applet. As a beginner of Java programming, I am writing this tutorial to record how to create a simple console Java application to connect SQL server using JDBCDriver.
HOW TO DEVELOP HIGH PERFORMANCE ONSCROLL EVENT? We need to take special care of the performance while hooking up to the onscroll event as it fires more frequently with shorter interval time comparing to other events like mouse and keyboard. The FPS drops if your onscroll event contains elaborate logic or animations. In addition, user usually scrolls the mouse wheel continuously, it may aggravate the FPS drop, increase the browser CPU usage IE11 MIGRATION GUIDE: EVERYTHING YOU NEED TO KNOW ABOUT Compatibility view is unable to resolve all compatibility issues in Internet Explorer 11. Enterprise Mode was first introduced in April 2014 IE11 cumulative security update. It was originally aimed at emulating the behaviors of IE7 and IE8 to avoid the common compatibility problems associated with web apps written and tested on older versions of Internet Explorer. IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW AND Compatibility View is the most common backward compatible solution in Internet Explorer, it can be configured by Compatibility View Settings, Group Policy and Local intranet security zone. We can control some of the sub-domains to be displayed in Compatibility View and some of them not by using these configurations. 理解HTTP CONNECT通道 理解HTTP CONNECT通道. 为了确保数据通信的安全,HTTPS已广泛应用于互联网,浏览器与服务器之间的HTTPS通信都是加密的。. 然而当浏览器需要通过代理服务器发起HTTPS请求时,由于请求的站点地址和端口号都是加密保存于HTTPS请求头中的,代理服务器是如何既确保 企业IE11迁移指南:了解和使用IE11企业模式TRANSLATE THISPAGE
在ie11中,仅仅使用兼容性视图可能无法解决所有兼容性问题。2014年4月的ie11累积更新首次引入了企业模式。起初企业模式旨在模拟ie7、ie8浏览器行为以兼容更多的老旧站点,之后的更新中企业模式允许针对某个站点指定使用特定的文档模式(5~11)。所以为了使用到功能最全面的企业模式,请先将ie11JOJI.ME
301 Moved Permanently. nginx/1.14.0 (Ubuntu) 使用FILEREADER.READASARRAYBUFFER()在浏览器中处理 …TRANSLATETHIS PAGE
HTML5的FileReader
API可以让客户端浏览器对用户本地文件进行读取,这样就不再需要上传文件由服务器进行读取了,这大大减轻了服务器的负担,也节省了上传文件所需要的时间。不过在实践中我发现用FileReader.readAsText()可以轻易地处理一个300k的日志文件,但当日志文件有1G、甚至2G那么大,浏览 网页性能优化:设置永久缓存 网页性能优化:设置永久缓存. 2015年6月1日. 网页性能优化 | 缓存. 当浏览器请求一个之前访问过的静态文件时,会在HTTP头中加上: If-Modified-Since 、 If-None-Match 以向服务器确认该文件是否有更新,如果没有更新,服务器则返回304 Not Modified,浏览器就会使用本地 SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. HOW TO CREATE AN IIS WEBSITE THAT REQUIRES CLIENT Some IE/IIS issues may involve client certificate. It always took me hours to deploy a test website that requires client certificate. Therefore, I am going to write this blog to record every steps including: creating self-signed root CA, server certificate, client certificate and configuring IIS. WALKTHROUGH: DECRYPT SSL/TLS TRAFFIC (HTTPS AND HTTP/2) IN I was recently researching HTTP/2. However I can only see encrypted network packets in Wireshark because all browsers only support HTTP/2 that run over TLS. Actually Wireshark does provide some settings to decrypt SSL/TLS traffic. THE HTTP CONNECT TUNNEL HTTPS is widely used on Internet to secure the data being transferred. However, when a browser needs to send a HTTPS request through proxy, since the request hostname and port number are all encrypted in HTTPS request header and even the proxy cannot get them, then how does the proxy know where to send client's request? PROCESSING HUGE FILES USING FILEREADER.READASARRAYBUFFERSEE MORE ONJOJI.ME
JAVASCRIPT: WHAT'S THE DIFFERENCE BETWEEN HTML ATTRIBUTESEE MORENEW CONTENT WILL BE ADDED ABOVE THE CURRENT AREA OF FOCUS UPON SELECTIONSEE MORE ON JOJI.MEJAVASCRIPT OUTPUT IN HTMLJAVASCRIPTATTRIBUTES LIST
HOW TO RESOLVE "SEC7111: HTTPS SECURITY IS COMPROMISED BYSEE MORE ONJOJI.ME
PERFORMANCE ISSUE OF USING MASSIVE TRANSFERABLE OBJECTS INSEE MORE ONJOJI.ME
HOW TO FIX EDGE START FAILURE ERROR: UNABLE TO CREATE Expand fix-edge, right click File System, click Add File, choose directory C:\Windows\System32, keep default settings and click OK, in next Add Object dialog, keep default settings and click OK. Right click fix-edge, click Save. Go to the template path, you should see the configuration file: fix-edge.inf. Edit it in notepad. IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW ANDSEE MORE ONJOJI.ME
SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. HOW TO CREATE AN IIS WEBSITE THAT REQUIRES CLIENT Some IE/IIS issues may involve client certificate. It always took me hours to deploy a test website that requires client certificate. Therefore, I am going to write this blog to record every steps including: creating self-signed root CA, server certificate, client certificate and configuring IIS. WALKTHROUGH: DECRYPT SSL/TLS TRAFFIC (HTTPS AND HTTP/2) IN I was recently researching HTTP/2. However I can only see encrypted network packets in Wireshark because all browsers only support HTTP/2 that run over TLS. Actually Wireshark does provide some settings to decrypt SSL/TLS traffic. THE HTTP CONNECT TUNNEL HTTPS is widely used on Internet to secure the data being transferred. However, when a browser needs to send a HTTPS request through proxy, since the request hostname and port number are all encrypted in HTTPS request header and even the proxy cannot get them, then how does the proxy know where to send client's request? PROCESSING HUGE FILES USING FILEREADER.READASARRAYBUFFERSEE MORE ONJOJI.ME
JAVASCRIPT: WHAT'S THE DIFFERENCE BETWEEN HTML ATTRIBUTESEE MORENEW CONTENT WILL BE ADDED ABOVE THE CURRENT AREA OF FOCUS UPON SELECTIONSEE MORE ON JOJI.MEJAVASCRIPT OUTPUT IN HTMLJAVASCRIPTATTRIBUTES LIST
HOW TO RESOLVE "SEC7111: HTTPS SECURITY IS COMPROMISED BYSEE MORE ONJOJI.ME
PERFORMANCE ISSUE OF USING MASSIVE TRANSFERABLE OBJECTS INSEE MORE ONJOJI.ME
HOW TO FIX EDGE START FAILURE ERROR: UNABLE TO CREATE Expand fix-edge, right click File System, click Add File, choose directory C:\Windows\System32, keep default settings and click OK, in next Add Object dialog, keep default settings and click OK. Right click fix-edge, click Save. Go to the template path, you should see the configuration file: fix-edge.inf. Edit it in notepad. IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW ANDSEE MORE ONJOJI.ME
SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. THE HTTP CONNECT TUNNEL HTTPS is widely used on Internet to secure the data being transferred. However, when a browser needs to send a HTTPS request through proxy, since the request hostname and port number are all encrypted in HTTPS request header and even the proxy cannot get them, then how does the proxy know where to send client's request? PROCESSING HUGE FILES USING FILEREADER.READASARRAYBUFFER The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. MEET THE JAVASCRIPT AST I was developing a tool to inlinify the external Web Worker references in a JavaScript file. It checks all external Web Worker references like: new Worker('worker.js') and then reads the content from worker.js, eventually transforms the external reference to inline reference like: new Worker(window.URL.createObjectURL(new Blob())). JAVASCRIPT ES5: THE OBJECT.DEFINEPROPERTY() METHOD JavaScript ES5: the Object.defineProperty () method. We can use the form: varable.property to get and set the value of an object: var obj = {a:1} in JavaScript. This is the most common and convenient way we code in JS, however the property that is IE11 MIGRATION GUIDE: EVERYTHING YOU NEED TO KNOW ABOUT Compatibility view is unable to resolve all compatibility issues in Internet Explorer 11. Enterprise Mode was first introduced in April 2014 IE11 cumulative security update. It was originally aimed at emulating the behaviors of IE7 and IE8 to avoid the common compatibility problems associated with web apps written and tested on older versions of Internet Explorer. IE11 MIGRATION GUIDE: HOW TO SOLVE COMPATIBILITY ISSUE? Incorrect Document Mode. Incorrect Document Mode is the root cause of most common compatibility issues. Previous versions of IE use quirks mode (IE5 document mode) to render a webpage that doesn't contain a valid DOCTYPE declaration while IE10 and IE11 use the highest document mode to render the same page. IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW AND Compatibility View is the most common backward compatible solution in Internet Explorer, it can be configured by Compatibility View Settings, Group Policy and Local intranet security zone. We can control some of the sub-domains to be displayed in Compatibility View and some of them not by using these configurations. 企业IE11迁移指南:了解和使用IE11企业模式TRANSLATE THISPAGE
在ie11中,仅仅使用兼容性视图可能无法解决所有兼容性问题。2014年4月的ie11累积更新首次引入了企业模式。起初企业模式旨在模拟ie7、ie8浏览器行为以兼容更多的老旧站点,之后的更新中企业模式允许针对某个站点指定使用特定的文档模式(5~11)。所以为了使用到功能最全面的企业模式,请先将ie11 使用FILEREADER.READASARRAYBUFFER()在浏览器中处理 …TRANSLATETHIS PAGE
HTML5的FileReader
API可以让客户端浏览器对用户本地文件进行读取,这样就不再需要上传文件由服务器进行读取了,这大大减轻了服务器的负担,也节省了上传文件所需要的时间。不过在实践中我发现用FileReader.readAsText()可以轻易地处理一个300k的日志文件,但当日志文件有1G、甚至2G那么大,浏览 SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. HOW TO CREATE AN IIS WEBSITE THAT REQUIRES CLIENT Some IE/IIS issues may involve client certificate. It always took me hours to deploy a test website that requires client certificate. Therefore, I am going to write this blog to record every steps including: creating self-signed root CA, server certificate, client certificate and configuring IIS. WALKTHROUGH: DECRYPT SSL/TLS TRAFFIC (HTTPS AND HTTP/2) IN I was recently researching HTTP/2. However I can only see encrypted network packets in Wireshark because all browsers only support HTTP/2 that run over TLS. Actually Wireshark does provide some settings to decrypt SSL/TLS traffic. THE HTTP CONNECT TUNNEL HTTPS is widely used on Internet to secure the data being transferred. However, when a browser needs to send a HTTPS request through proxy, since the request hostname and port number are all encrypted in HTTPS request header and even the proxy cannot get them, then how does the proxy know where to send client's request? PERFORMANCE ISSUE OF USING MASSIVE TRANSFERABLE OBJECTS INSEE MORE ONJOJI.ME
PROCESSING HUGE FILES USING FILEREADER.READASARRAYBUFFERSEE MORE ONJOJI.ME
JAVASCRIPT: WHAT'S THE DIFFERENCE BETWEEN HTML ATTRIBUTESEE MORENEW CONTENT WILL BE ADDED ABOVE THE CURRENT AREA OF FOCUS UPON SELECTIONSEE MORE ON JOJI.MEJAVASCRIPT OUTPUT IN HTMLJAVASCRIPTATTRIBUTES LIST
HOW TO RESOLVE "SEC7111: HTTPS SECURITY IS COMPROMISED BYSEE MORE ONJOJI.ME
HOW TO FIX EDGE START FAILURE ERROR: UNABLE TO CREATE Symptom: Edge failed to start and browse any webpage, it always showed: "That's odd something stopped working, so this page can't load." The detailed error message IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW ANDSEE MORE ONJOJI.ME
SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. HOW TO CREATE AN IIS WEBSITE THAT REQUIRES CLIENT Some IE/IIS issues may involve client certificate. It always took me hours to deploy a test website that requires client certificate. Therefore, I am going to write this blog to record every steps including: creating self-signed root CA, server certificate, client certificate and configuring IIS. WALKTHROUGH: DECRYPT SSL/TLS TRAFFIC (HTTPS AND HTTP/2) IN I was recently researching HTTP/2. However I can only see encrypted network packets in Wireshark because all browsers only support HTTP/2 that run over TLS. Actually Wireshark does provide some settings to decrypt SSL/TLS traffic. THE HTTP CONNECT TUNNEL HTTPS is widely used on Internet to secure the data being transferred. However, when a browser needs to send a HTTPS request through proxy, since the request hostname and port number are all encrypted in HTTPS request header and even the proxy cannot get them, then how does the proxy know where to send client's request? PERFORMANCE ISSUE OF USING MASSIVE TRANSFERABLE OBJECTS INSEE MORE ONJOJI.ME
PROCESSING HUGE FILES USING FILEREADER.READASARRAYBUFFERSEE MORE ONJOJI.ME
JAVASCRIPT: WHAT'S THE DIFFERENCE BETWEEN HTML ATTRIBUTESEE MORENEW CONTENT WILL BE ADDED ABOVE THE CURRENT AREA OF FOCUS UPON SELECTIONSEE MORE ON JOJI.MEJAVASCRIPT OUTPUT IN HTMLJAVASCRIPTATTRIBUTES LIST
HOW TO RESOLVE "SEC7111: HTTPS SECURITY IS COMPROMISED BYSEE MORE ONJOJI.ME
HOW TO FIX EDGE START FAILURE ERROR: UNABLE TO CREATE Symptom: Edge failed to start and browse any webpage, it always showed: "That's odd something stopped working, so this page can't load." The detailed error message IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW ANDSEE MORE ONJOJI.ME
SHENG JIANG'S JOJI.ME The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. THE HTTP CONNECT TUNNEL HTTPS is widely used on Internet to secure the data being transferred. However, when a browser needs to send a HTTPS request through proxy, since the request hostname and port number are all encrypted in HTTPS request header and even the proxy cannot get them, then how does the proxy know where to send client's request? PROCESSING HUGE FILES USING FILEREADER.READASARRAYBUFFER The FileReader API in HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. MEET THE JAVASCRIPT AST I was developing a tool to inlinify the external Web Worker references in a JavaScript file. It checks all external Web Worker references like: new Worker('worker.js') and then reads the content from worker.js, eventually transforms the external reference to inline reference like: new Worker(window.URL.createObjectURL(new Blob())). JAVASCRIPT ES5: THE OBJECT.DEFINEPROPERTY() METHOD We can use the form: varable.property to get and set the value of an object: var obj = {a:1} in JavaScript. This is the most common and convenient way we code in JS, however the property that is created in this way can be easily modified and is enumerable. The Object.defineProperty() allows precise addition to or modification of a property on an object. IE11 MIGRATION GUIDE: EVERYTHING YOU NEED TO KNOW ABOUT Compatibility view is unable to resolve all compatibility issues in Internet Explorer 11. Enterprise Mode was first introduced in April 2014 IE11 cumulative security update. It was originally aimed at emulating the behaviors of IE7 and IE8 to avoid the common compatibility problems associated with web apps written and tested on older versions of Internet Explorer. IE11 MIGRATION GUIDE: HOW TO SOLVE COMPATIBILITY ISSUE? Incorrect Document Mode. Incorrect Document Mode is the root cause of most common compatibility issues. Previous versions of IE use quirks mode (IE5 document mode) to render a webpage that doesn't contain a valid DOCTYPE declaration while IE10 and IE11 use the highest document mode to render the same page. IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW AND Compatibility View is the most common backward compatible solution in Internet Explorer, it can be configured by Compatibility View Settings, Group Policy and Local intranet security zone. We can control some of the sub-domains to be displayed in Compatibility View and some of them not by using these configurations. 企业IE11迁移指南:了解和使用IE11企业模式 在ie11中,仅仅使用兼容性视图可能无法解决所有兼容性问题。2014年4月的ie11累积更新首次引入了企业模式。起初企业模式旨在模拟ie7、ie8浏览器行为以兼容更多的老旧站点,之后的更新中企业模式允许针对某个站点指定使用特定的文档模式(5~11)。所以为了使用到功能最全面的企业模式,请先将ie11 使用FILEREADER.READASARRAYBUFFER()在浏览器中处理大文件HTML5的FileReader
API可以让客户端浏览器对用户本地文件进行读取,这样就不再需要上传文件由服务器进行读取了,这大大减轻了服务器的负担,也节省了上传文件所需要的时间。不过在实践中我发现用FileReader.readAsText()可以轻易地处理一个300k的日志文件,但当日志文件有1G、甚至2G那么大,浏览 SHENG JIANG - JOJI.ME* 中
* EN
LOGIC APP EDITOR IN VISUAL STUDIO STOPS WORKING AFTER INSTALLING KB4507460 ON WINDOWS 10 VERSION 1607 AND WINDOWS SERVER 2016 The 2019 July update: KB4507460 of Windows 10 version 1607 and Windows Server 2016 has a known issue where Internet Explorer 11 and applications using JavaScript or the WebBrowser control may fail to run. Logic App Editor in Visual Studio is also affected by this issue since it uses Internet Explorer render engine: mshtml.dll and jscript9.dll to display the webpage in Visual Studio. The provided workaround in KB4507460 does not fix the issue of Logic App Editor as Visual Studio has its private registry keys. This article will show you how to fix the issue for Logic App Editor before Microsoft official fix is available. -------------------------Aug 9, 2019
Internet Explorer | Azure | Visual Studio | LogicApp Read More
IMPLEMENT THE FOLLOW-UP PROMPT FOR QNA BOT QnA Maker can automatically create a Bot on Azure that links to the knowledge base you have. Recently, I was asked many times that the QnA Bot created by the template does not display the follow-up prompt. The follow-up prompt is just a PREVIEW feature of QnA Maker. The QnA Bot template has not supported this follow-up prompt feature yet. Before Microsoft Bot Framework officially supporting follow-up prompt feature, we have to make code change in order to support it in our QnA Bot. In this article, I will show you how to implement the follow-up prompt by changing the Bot code. -------------------------Aug 3, 2019
Bot Framework | QnA Maker | Azure | Node.js |C# Read More
TUTORIAL: CONNECT TO SQL SERVER FROM A JAVA APPLICATION USING JDBCDRIVER
I've started supporting Microsoft JDBC Driver for SQL server. The driver provides Java database connectivity from any Java application, application server, or Java-enabled applet. As a beginner of Java programming, I am writing this tutorial to record how to create a simple console Java application to connect SQL server using JDBCDriver.
-------------------------Aug 27, 2018
JDBC | SQL Server
| Java Read More
THE HTTP CONNECT TUNNEL HTTPS is widely used on Internet to secure the data being transferred. However, when a browser needs to send a HTTPS request through proxy, since the request hostname and port number are all encrypted in HTTPS request header and even the proxy cannot get them, then how does the proxy know where to send client's request? To solve this problem, the browser sends a HTTP request with method CONNECT and the target hostname and port number to the proxy. When receiving the CONNECT request, the proxy establishes a TCP connection to the requested hostname on the specified port and then returns HTTP 200 response to tell the browser the requested connection was made. After that, the proxy should just blindly forward the packets back and forth between the client and the server without looking at them until the tunnel isclosed.
-------------------------Aug 12, 2018
Internet Explorer | HTTPS | SSL/TLS Read More MEET THE JAVASCRIPT AST I was developing a tool to inlinify the external Web Worker references in a JavaScript file. It checks all external Web Worker references like: new Worker('worker.js') and then reads the content from worker.js, eventually transforms the external reference to inline reference like: new Worker(window.URL.createObjectURL(new Blob())). The function of the tool seems to be very simple, I was considering to use Regular expression to find out the value of the external Web Worker reference, however it turned out that a lot of edge cases cannot be covered by the Regular expression solution. In the end, JavaScript AST (Abstract Syntax Tree) parser became the life saver. -------------------------Apr 12, 2018
JavaScript Read More PERFORMANCE ISSUE OF USING MASSIVE TRANSFERABLE OBJECTS IN WEB WORKER I was recently developing a text file parser based on File Reader API in browsers. To prevent the heavy file parsing job from blocking the UI thread, using Web Worker to parse the file would be the best choice. Web Worker needs to parse the text file into lines and transfer each line to the main thread. We will encounter performance issues on transfer speed and memory usage when Web Worker needs to pass hundreds of thousands, or even millions of lines. Most browsers implement the structured clone algorithm that allows you to pass more complex types in/out of Web Worker such as File, Blob, ArrayBuffer, and JSON objects. However, when passing these types of data using postMessage(), a copy is still made. Therefore, if you are passing a large 100MB file, there's a noticeable overhead in getting that file between the worker and the main thread. To solve this problem, postMessage() method was designed to support passing Transferable Objects. When passing Transferable Objects, data is transferred from one context (worker thread or main thread) to another without additional memory consumption, and the transfer speed is really quick since no copy is made. However I still see notable performance issue when Web Worker needs to pass massive Transferable Objects. -------------------------Jan 23, 2018
JavaScript | Web PerformanceRead More
PROCESSING HUGE FILES USING FILEREADER.READASARRAYBUFFER() IN WEBBROWSER
The FileReader
API in
HTML5 allows web browsers to access user files without uploading the files to the web servers. It not only lightens the load of web server but also saves the time of uploading files. It is very easy to use FileReader.readAsText() to process a 300K log file. However, when the file size grows to 1GB, or even 2GB, then the page might crash in browser or not function correctly. This is because readAsText() loads the full file into memory before processing it. As a result, the process memory exceeds the limitation. To prevent this issue, we should use FileReader.readAsArrayBuffer() to stream the file when the web application needs to process huge files, so you only hold a part of the file in the memory. -------------------------Sep 5, 2017
JavaScript | Web PerformanceRead More
ES6: ARROW FUNCTIONS It is very common to use anonymous functions as parameters in JavaScript. Event binding, async callback and so on all use anonymous function. ES6 introduced new Arrow Functions which has shorter syntax as a replacement for anonymous function. The basic syntax is: (arguments) => {expression or return value}. -------------------------Feb 17, 2017
JavaScript | ES6
Read More
JAVASCRIPT ES5: THE OBJECT.DEFINEPROPERTY() METHOD We can use the form: varable.property to get and set the value of an object: var obj = {a:1} in JavaScript. This is the most common and convenient way we code in JS, however the property that is created in this way can be easily modified and is enumerable. The OBJECT.DEFINEPROPERTY() allows precise addition to or modification of a property on an object. It has been widely used in some popular two-way binding JS libraries. -------------------------Feb 9, 2017
JavaScript | ES5
Read More
IE11 MIGRATION GUIDE: HOW TO SOLVE COMPATIBILITY ISSUE? Before solving website compatibility issue in IE11, we need to understand the nature of compatibiltiy issue and our target. Most webpage compatibility issues in IE11 can be divided into following twoscenarios:
-------------------------Sep 16, 2016
Internet Explorer | IE11 Migration GuideRead More
IE11 MIGRATION GUIDE: WEB PAGE LAYOUT BROKEN ISSUE DUE TO "NATURALMETRICS" IN IE11
After upgrading to IE11, web page layout may be broken. The most common reason is the web page runs in a newer document mode in IE11. However, the layout issue might still occur even if the document mode is same as before. This is because IE11 uses natural metrics for font rendering while previous IE versions use Windows Graphics Device Interface (GDI) metrics. -------------------------Aug 20, 2016
Internet Explorer | HTML | IE11 Migration Guide | CSSRead More
HOW TO CREATE AN IIS WEBSITE THAT REQUIRES CLIENT CERTIFICATE USING SELF-SIGNED CERTIFICATES Some IE/IIS issues may involve client certificate. It always took me hours to deploy a test website that requires client certificate. Therefore, I am going to write this blog to record every steps including: creating self-signed root CA, server certificate, client certificate and configuring IIS. -------------------------Jul 31, 2016
IIS | HTTPS | SSL/TLSRead More
AUTOMATE AZURE WEB APP DEPLOYMENT USING GULP + GIT I have used Visual Studio to deploy Azure Website, the integration of VS and Azure makes web deployment very easy. However, I have another website that is built by Gulp automating tasks. And therefore, I was looking for a single command to deploy website using Gulp, like: gulp deploy. Azure offers many options to deploy Web App: Visual Studio, Git, Powershell, FTP, manual deployment. After weighing all the factors, I chose Gulp + Git to automate the deployment. Each Azure Web App allows user to create a Git repository as the deployment source. Local Git Deployment to Azure App Service shows how to enable the Git repository from Azure portal and how to deploy your app to Azure App Service from a Git repository on your local computer. This article will focus on how to automate the deployment using Gulp. -------------------------May 31, 2016
Node.js | Gulp | Git| Azure Read More
USE NODEMON TO RESTART NODE APPLICATION AUTOMATICALLY ON CODE CHANGE We usually need to rerun node server.js when debugging Node.js project, which is painful and inefficient. Actually we can use nodemon to automatically restart NODE by monitoring the files change. -------------------------Mar 25, 2016
Node.js Read More
IE11 MIGRATION GUIDE: EVERYTHING YOU NEED TO KNOW ABOUT IE11ENTERPRISE MODE
Compatibility view is unable to resolve all compatibility issues in Internet Explorer 11. Enterprise Mode was first introduced in April 2014 IE11 cumulative security update. It was originally aimed at emulating the behaviors of IE7 and IE8 to avoid the common compatibility problems associated with web apps written and tested on older versions of Internet Explorer. Later update of this feature added the ability to specify the document mode (5~11) for a certain website. In order to use comprehensive functions of Enterprise Mode, please first update IE11 to the latest version: KB4018271.
-------------------------Jan 27, 2016
Internet Explorer | IE11 Migration GuideRead More
WALKTHROUGH: DECRYPT SSL/TLS TRAFFIC (HTTPS AND HTTP/2) IN WIRESHARK I was recently researching HTTP/2. However I can only see encrypted network packets in Wireshark because all browsers only support HTTP/2 that run over TLS. Actually Wireshark does provide some settings to decrypt SSL/TLS traffic. -------------------------Dec 15, 2015
HTTPS | HTTP/2 |
SSL/TLS Read More
IE11 MIGRATION GUIDE: UNDERSTANDING COMPATIBILITY VIEW AND LOCALINTRANET ZONE
Compatibility View is the most common backward compatible solution in Internet Explorer, it can be configured by Compatibility View Settings, Group Policy and Local intranet security zone. We can control some of the sub-domains to be displayed in Compatibility View and some of them not by using these configurations. -------------------------Nov 19, 2015
Internet Explorer | IE11 Migration GuideRead More
IE11 MIGRATION GUIDE: UNDERSTANDING BROWSER MODE, DOCUMENT MODE, USER-AGENT AND X-UA-COMPATIBLE Browser Mode determines the User-Agent that Internet Explorer sends to servers and the document mode Internet Explorer defaults to. This article is going to explain the relationship between them in detail. -------------------------Nov 4, 2015
Internet Explorer | IE11 Migration GuideRead More
HOW TO RESOLVE "SEC7111: HTTPS SECURITY IS COMPROMISED BY (NULL)"ERROR IN IE11
I recently encountered an issue that a webpage does not function in IE11 with exception "SEC7111: HTTPS SECURITY IS COMPROMISED BY (NULL)". It turned out it was caused by using document.write() function in the HTTPS webpage. -------------------------Oct 21, 2015
Internet Explorer | HTTPSRead More
A NEW WAY TO DECLARE VARIABLES IN JAVASCRIPT WITH "LET" ECMAScript 2015 (ES6) provides a stricter way to declare variables: LET which can be used to supersede legacy VAR statement. The LET statement declares a block scope local variable while the variables declared with VAR are scoped to the function block level. Although it is very loose and comfortable to declare variables with VAR, but this characteristic usually leads to some unexpected behaviors, especially in a complicated project. -------------------------Aug 8, 2015
JavaScript | ES6
Read More
HOW TO DEVELOP HIGH PERFORMANCE ONSCROLL EVENT? We need to take special care of the performance while hooking up to the onscroll event as it fires more frequently with shorter interval time comparing to other events like mouse and keyboard. The FPS drops if your onscroll event contains elaborate logic or animations. In addition, user usually scrolls the mouse wheel continuously, it may aggravate the FPS drop, increase the browser CPU usage and impact the user experience. Developers sometimes don't notice such kind of issue since most development machines have better performance than normal user machines. Next, let's talk about how to prevent the performance issue caused by onscroll event. -------------------------Jun 19, 2015
JavaScript | Web PerformanceRead More
STRING STARTING WITH "JAVASCRIPT:" WOULD CAUSE FALSE ALARM OF IE XSSFILTER
Recently I was adding comment function to my blog article pages, IE always prompted message: "INTERNET EXPLORER HAS MODIFIED THIS PAGE TO HELP PREVENT CROSS-SITE SCRIPTING" when browsing a specific article page. After debugging by Fiddler, I found the reason was that the article title began with: JavaScript:, which triggered the XSS filter considering it as a javascript protocol string and blocking the web page. Actually the title was just a normal string without any scriptcode.
-------------------------Jun 12, 2015
Internet Explorer | XSSRead More
REMOVE BLOCKING JAVASCRIPT AND CSS External file references in web page like: JavaScript and CSS may block page rendering. They force the browser to wait for the files to be downloaded, parsed and execute. Assuming that there is a JavaScript file reference which needs 2 seconds to be loaded, then the browser will stop rendering until the JS file is loaded after 2 seconds. We need to eliminate any potential blocking external JavaScript and CSS files when optimize web page. -------------------------Jun 5, 2015
JavaScript | HTML
| CSS | Web PerformanceRead More
CACHE STATIC FILE AS MUCH AS YOU CAN The browser sends http header: IF-MODIFIED-SINCE and IF-NONE-MATCH to check whehter a static file has been updated when it fetches the file again. If the file has not been updated, the server would send 304 Not Modified HTTP header message and the browser would use cached version instead of downloading the file again. This is the default cache mechanism of most web servers, however there is some room for improvement in the web performance. The default cache behavior still requires establishing HTTP connection between the client and the server in order to check whether the file has been modified. It may takes the browser tens to hundreds of milliseconds to talk to the server and it also consumes server resources. -------------------------Jun 1, 2015
Web Performance | CacheRead More
JAVASCRIPT: WHAT'S THE DIFFERENCE BETWEEN HTML ATTRIBUTE AND DOMPROPERTY?
It is easy to confuse ATTRIBUTE with PROPERTY when manipulating DOM object by JavaScript. document.getElementById('test').getAttribute('id'), $('#test').attr('id'), document.getElementById('test').id and $('#test').prop('id') return the same id: "test". In this article, I will explain the differences between ATTRIBUTE and PROPERTY. -------------------------May 23, 2015
JavaScript | HTML
Read More
IE11 MIGRATION GUIDE: CREATE INTERNET EXPLORER 11 BATCH DEPLOYMENTPACKAGE
Beginning January 12, 2016, older versions of IE browser (8~10) will not be supported anymore. A growing number of enterprises and individual customers start migrating to Internet Explorer 11. Upgrading to IE11 is an easy job for individual customers, however it could be challenging to IT administrators in large enterprise as they need to ensure the success of hundreds and thousands PCs. -------------------------Apr 15, 2015
Internet Explorer | IE11 Migration GuideRead More
CATEGORIES
* Internet Explorer (10)* JavaScript (9)
* IE11 Migration Guide (6) * Web Performance (5)* HTTPS (4)
* Azure (3)
* Node.js (3)
* SSL/TLS (3)
* HTML (3)
* ES6 (2)
* CSS (2)
* Visual Studio (1)* Logic App (1)
* Bot Framework (1)* QnA Maker (1)
* C# (1)
* JDBC (1)
* SQL Server (1)
* Java (1)
* ES5 (1)
* IIS (1)
* Gulp (1)
* Git (1)
* HTTP/2 (1)
* XSS (1)
* Cache (1)
2019 joji.me
Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0