I’d place the hot side on the window and attach a heatsink and fan on the other side of it as well as a heatsink and fan on the inside
about how many watts would be “okay” without it starting to mold or melt the glass?
the next project is to mod my M4500 which has about 5mm of space inside of it, I was thinking about modding my fan to always on (I don’t give a shit its not that loud) and putting some peltier’s on the CPU/GPU/north bridge
the only obstacle in my way there is if the screws aren’t long enough to keep the heatsink attached to the laptop
and the other project is for a friend who does a lot of yard work as a job, I was thinking a 5v/2a peltier attached to his wrist so it would right along the cardiovascular system to cool his whole body along with a small heatsink and 5v fan going to a 10,000mah battery bank attached to his belt
that should last around 4 hours
I was thinking on having the fan blow air away on the heatsink to prevent hot air being blown toward the arm
Another thing is that glass is a terrible conductor of heat, and with the thickness of normal window glass (I hope it's not double glazing or this is bound to fail, lol) this will not be super efficient in any case.
Maybe you can find some way to isolate the area around the whole apparatus without trapping the heat.
After thinking some more about how to get past the glass' terrible heat conductivity - why not liquid-cool the hot side of the peltier element (the whole device stays inside, just the radiator would be outside)? You could work with a small hole in the window frame and might get much better efficiency out of it.