Modern browsers such as Google Chrome tend not to allow this because it is seen as a user unfriendly limitation.
Still, you can force a window to keep its initial size using jquery as showed it this question: Disable Browser Window Resize.
var size = [window.width,window.height];
$(window).resize(function(){
window.resizeTo(size[0],size[1]);
})