2014/09/10

[筆記] Silverlight 在 Chrome 瀏覽器 crash 的問題

Chrome 版本 : 36.0.1985.143 m
Silverlight 版本 : 5.1.30514.0

處理公司的產品跨瀏覽器時遇到的問題

Silverlight 上面某個按鈕,IE 跟 Firefox 點下去可以正常執行,偏偏 Chrome 就當掉了....


2014/09/05

[速報?] Chrome 於 37 版(37.0.2062.103)開始不支援 showModalDialog

中午更新了 37.0.2062.103 版,發現自家的系統怎麼點很多按鈕都沒反應 0rz

把版號跟 showModalDialog 查了一下之後發現了這個內容


The web platform has evolved organically over the past two decades, slowly growing new capabilities and APIs. Many features that are added are great ideas that enable web developers to make even better applications. But some APIs turn out, in retrospect, to be mistakes. Over time, the platform accretes more bad APIs, which makes it harder to add new browser features, confuses web developers, and even introduces security bugs. showModalDialog is a bad API that we deprecated earlier this year, and in Chrome 37 we will disable support for it by default.
showModalDialog was first introduced in Internet Explorer 4 and although it was never formally standardized, over time most other browsers added support for it. It allows applications to show a dialog of HTML content that freezes all other content while showing. showModalDialog is not a commonly used API: based on our usage countersless than 0.006% of pages use it.

哭哭...  

連結的下面一點點是有提到說  Enterprise Policy setting to re-enable showModalDialog 

可以透過連結裡面的說明來重新開啟 showModalDialog 的功能到 2015/05之前

但最好是客戶買了系統之後會乖乖聽話讓我們改 client 的機碼

我們敢講客戶的資安規則搞不好還不允許,應該正常來說都不會允許....