Skip to content

Commit

Permalink
Add a lower limit for the version of AOSP that can get noscript content.
Browse files Browse the repository at this point in the history
  • Loading branch information
itozyun committed Jan 4, 2023
1 parent f8d7edf commit ca4a0fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/js-inline/cssLoader.js
Expand Up @@ -19,6 +19,7 @@ if( DEFINE_WEB_DOC_BASE__USE_CSS_LOADER_OF_INLINE_JS ){
// Re: onLoad doesn't work with Safari?
// https://web.archive.org/web/20050418235512/http://lists.apple.com/archives/web-dev/2003/Oct/msg00036.html
cssAndJsLoader_getEngineVersionOf( WHAT_BROWSER_AM_I__ENGINE_WebKit ) < 534 || // Windows XP + Safari 4.0.5- , noscript 下のコンテンツが取れない. AOSP 2.2 WebKit 433.1 も.
cssAndJsLoader_getEngineVersionOf( WHAT_BROWSER_AM_I__ENGINE_AOSP ) < 3 || // AOSP 2.2 WebKit 433.1 , noscript 下のコンテンツが取れない.
cssAndJsLoader_chromium < 8 || // Windows XP + Chrome(Iron) 7-, nnoscript 下のコンテンツが取れない
!window.addEventListener && !window.attachEvent
){
Expand Down
3 changes: 2 additions & 1 deletion src/js/7_Patch/cssLoader.toEndOfScript.js
Expand Up @@ -25,7 +25,8 @@ if(
} else if(
p_Presto < 9.5 || // Windows XP + Presto 9.27 , noscript 下のコンテンツが取れない
p_Gecko < 1.5 || // Windows XP + Gecko 1.4.1 , noscript 下のコンテンツが取れない
p_WebKit < 534 || // Windows XP + Safari 4.0.5- , noscript 下のコンテンツが取れない. AOSP 2.2 WebKit 433.1 も.
p_WebKit < 534 || // Windows XP + Safari 4.0.5- , noscript 下のコンテンツが取れない.
p_AOSP < 3 || // AOSP 2.2 WebKit 433.1 , noscript 下のコンテンツが取れない.
p_Chromium < 8 || // Windows XP + Chrome(Iron)7-, noscript 下のコンテンツが取れない
!DEFINE_WEB_DOC_BASE__USE_CSS_LOADER_OF_INLINE_JS
){
Expand Down

0 comments on commit ca4a0fe

Please sign in to comment.