The tape across the window shows those from the outside that the door is armed on those "next generation" type aircraft.
And that's important on those aircraft because unlike most other aeroplanes, the door slide does NOT disarm when opened from the outside. Hence, its the only means of those outside the aircraft being able to check if the door is actually disarmed or whether they're likely to get a slide in their face if they persist.