FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Added the missing IE specific VBScript code that was making IE failing. · lapsio/JavaScript-ID3-Reader@fdcb46d · GitHub

Commit fdcb46d

Browse files
committed
Added the missing IE specific VBScript code that was making IE failing.
1 parent 2795796 commit fdcb46d

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎src/bufferedbinaryajax.js‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,3 +391,14 @@ function BinaryFile(strData, iDataOffset, iDataLength) {
391391
data = window.atob(strBase64);
392392
};
393393
}
394+
395+
document.write(
396+
"<script type='text/vbscript'>\r\n"
397+
+ "Function IEBinary_getByteAt(strBinary, iOffset)\r\n"
398+
+ " IEBinary_getByteAt = AscB(MidB(strBinary,iOffset+1,1))\r\n"
399+
+ "End Function\r\n"
400+
+ "Function IEBinary_getLength(strBinary)\r\n"
401+
+ " IEBinary_getLength = LenB(strBinary)\r\n"
402+
+ "End Function\r\n"
403+
+ "</script>\r\n"
404+
);

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL