flash.moe/public/assets/fixpng.js

10 lines
355 B
JavaScript
Raw Normal View History

2020-08-20 00:02:37 +00:00
/*@if (@_jscript_version >= 5.5)
for(i = 0; i < document.images.length; i++) {
var s = document.images[i].src;
if(s.indexOf('.png') > 0) {
document.images[i].src = '/assets/pixel.gif';
document.images[i].style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'' + s + '\', sizingMethod=\'scale\')';
}
}
@end
*/