Florsheim from Tentai Senshi Sunred. They call out the hero and try to fight him one-by-one and try to Take Over the World because they're an Evil Organization, and that's what Evil Organizations do. This despite the fact that they never have any success with either; not that they even try with the latter because everybody knows you have to defeat the hero before you can Take Over the World.
Empowered, by Adam Warren: The bad guys do this as a survival mechanism. Smack around the hero and leave him (her) tied up and escape with the diamonds? Good show, whatever. We'll get you next time! Shoot the hero? Every other hero will be after you.
When Doc Seismic from Invincible captures many of the world's superheroes but doesn't attempt to kill any of them, Atom Eve wonders why not; Invincible suggests that he's "old school".
Captain Cold alluded to this during The Rogues' Revenge storyline after Final Crisis. When your foe is The Flash, a man capable of finishing any fight before you even think of defending yourself, you keep your crimes light and theatrical and hope he responds in turn.
Films — Animated
Megamind: Megamind appears to accept that defeat is inevitable in his conflict with superhero Metro Man and operate accordingly. To the extent that he begins winding up his latest plan under the assumption that it's failed without actually checking to see that it has failed; when it turns out it's succeeded, he's as astonished as everyone else.
Even after Metro Man is defeated, this type of thinking persists. Megamind realises that to be evil, he needs to have a hero to fight. He needs to base his actions on what's the "most evil". And eventually, when he begins to fall in love, Minion points out that he's not allowed to get the girl.
Films — Live-Action
Dr. Evil from Austin Powers. He criticizes his son for being practical, saying he's just not nearly as evil because he's Genre Savvy. Take, for example, Dr. Evil putting Austin and Vanessa into a deathtrap:
Scott Evil:I have a gun. In my room. You give me five seconds, I'll get it, I'll come back down here. BOOM! I'll blow their brains out! Doctor Evil: Scott, you just don't get it, do ya?
Who Framed Roger Rabbit: Toons, as cartoon characters, tend to act very poorly when it comes to being Genre Savvy and acknowledge it, because for them it's very hard if not outright impossible to jump away from the "role" they've been created for. (Roger tells Eddie that he wouldn't ever be capable to murder because "My whole purpose in life is to make people laugh!"). Double-subverted with Judge Doom, who is able to repress his basic toon urges to maintain his human disguise, but can't fight his villain "role" and places the heroes in an overly-dramatic and slow-moving Death Trap which eventually causes his own demise.
The Devil in Tenacious D in The Pick of Destiny has this almost literally. He is pissed when the main characters challenge him to a rock-off, since the "demon code" prevents him from declining. He has never lost before, but he is still reluctant to accept.
In the end he exploits a loophole; they never said who gets to judge it...
In Carpe Jugulum, the old Count de Magpyr explains that it's better for a vampire to display a sense of fairness (having big open windows with heavy drapes and easily breakable furniture in your castle) and get let yourself be killed every so often, than to become a hated tyrant and have people actually trying to get rid of you in a more longlasting way.
Contractual Genre Blindness is a clever survival technique. In the case of the Old Count, he knows that deliberately obeying old stereotypes is much better than subverting them and earning the total enmity of the local villagers, risking them putting him in a coffin full of garlic and posting a guard every year. Evil Harry Dread's continued "I'll be back" survival also works because he abides by the same rules as the heroes. If they killed Harry once and for all, they would be depriving themselves of a future job. As such, Harry is considered a close friend, even though he is still a "bad guy".
In Harry and Cohen's case, in typical Pratchett fashion, the Dangerouly Genre Savviness of both sides, resulting in their mutual Contractual Genre Blindness curved right back around to being Dangerously Genre SavvyaboutContractual Genre Blindness. When Harry seems genuinely surprised that they were expecting him to betray Cohen's Silver Horde exactly at the culmination of their grand plan, they explain that they expected nothing less from someone like Harry and congratulate him on being one of the best Evil Overlords they had ever encountered. Harry tears up not only from the respect he receives from them, but also the idea that they may be parting ways forever. One last note: in much the same way that Cohen and the Horde are the "Last Heroes", Harry is the Last Dread Lord - he always stuck to his end of the code, but the other side didn't. "The first thing they do these days, they block up your secret escape tunnels."
Soon I Will Be Invincible by Austin Grossman: villain Dr. Impossible does many things because that's what villains are supposed to do, but with a lot of realistic consequences Dr. Impossible dons his supervillain costume to impress the C-list villains at a local hangout, gets beat up and thrown out, and has to change out of his costume in nearby bushes before getting on the local Greyhound bus to go home..
In other instances, he manages to stop himself just before pulling a classic supervillain move. In one scene, he's being laughed at by some prison guards, which gets him so annoyed he begins to retort by saying "You won't be laughing when I..." Then he stops, and chides himself for always giving away his master plan.
This is all because he suffers from a mental illness — "Malign Hypercognition Disorder." He knows his actions are irrational, and most of his struggle in the books are with himself, alternately denying his problem and pitying/hating himself for it.
To elaborate on how idiotic the breakout plan was: one step of it involved moving a boulder into Jim's cell (don't ask). The two boys aren't strong enough to move it in themselves, so Jim helps them. That's right, Jim walks out of the cell and goes back in voluntarily. And then lets himself be locked back in again. Poor Jim. Jim is legally already free; Tom Sawyer just refused to tell him until he had 'broken him out' first.
In John Moore's Heroics for Beginners, the evil overlord mentions trying to foreclose the mortgage on an orphanage and chase down puppies to kick because that's how one becomes an evil overlord. This is an interesting case, as the overlord manages to be a stereotypical villain while still being Dangerously Genre Savvy. The only reason he's ultimately defeated is because the hero doesn't use conventional "heroic" methods.
Pearl in Mystery Science Theater 3000 attempts at first to get accredited by, and then follow the rules of, the Board of Mad Scientists. She is perpetually annoyed at following the mad scientist rules when she knows there are easier ways to do things, but it's "illegal to rule the world if you're not board certified" so she just goes with it.
In early series of QI, Alan Davies gave the forfeit answers because he was genuinely trying to get them right (and fell into the traps as a result). Starting around series D, Alan had wised up to the format, but was still obligated by the producers to give the "wrong" answers often, even when he knew they were wrong. Sometimes, other panelists will do this, either because they've already racked up a low score (as Jo Brand did a couple of times), or just for the heck of it (as Robert Webb did in his appearance on the show).
Buffy the Vampire Slayer: In "Real Me," when Harmony and her minions kidnap Dawn as bait to lure Buffy into a trap, her repeated insistence to simply leave Dawn be until Buffy showed up. Eventually, her own minions turn on her and decide to simply eat Dawn and kill Harmony, but Buffy shows up at that moment, and mass vampire death ensues.
A new player checks the chest for traps. An experienced player checks the floors, walls, and ceilings for traps. A Dangerously Genre Savvy player has someone ELSE check the ceiling for traps. An ultimately experienced player walks up and just opens the chest, then starts laughing when the DM starts rolling dice.
In Exalted, arguably most raksha would fit into this, although it would be quite possible for them to be wrong about what genre they're in. Also, the Infernal Exalted have Acts of Villainy that they can use to lose limit. These include telling their opponents their evil plan, leaving them in a deathtrap, and forcing people into marriage.
Most of the point of Better Angels, where the player characters are supervillains forced to hatch evil plans for their demonic masters. Fortunately, demonic masters don't understand Contractual Genre Blindness, so the characters can deliberately build weaknesses and vulnerabilities into their plans to be exploited. Rebellion has a far worse punishment than failure.
The entire gameplay of Evil Genius is designed around this trope. Your Elaborate Underground Base has an easily-visible entrance with doors that can be accessed by any agent smart enough to quickly slip past it when your minions use them. Additionally, your minions will never attack them unless each enemy is tagged. While Why Don't You Just Shoot Him? is averted for regular enemy agents, super agents cannot be killed by normal means. Attempting to execute them while they're in your cage results in their escape. Evil Gloating has the same result.
Xykon, though he's actually not so stupid. He is, however, very lazy. Xykon goes far out of his way to make sure he does villainy "the right way", such as keeping the Monster in the Darkness out of the action (and literally in darkness) until he can "properly" reveal him, even doing a rehearsal to get it right.
MitD: Can I at least get out of these dark concealing shadows? Xykon: Didn't I just say I wasn't going to reveal you? MitD: But... there's no one here but us! Xykon: HEY!! Who's the archvillain here? I know the drill, the bad guy always keeps his secret weapon cloaked in the shadows until the climax! They can do a cutaway to us at any moment....
Nale and Elan's father Tarquin takes this so far he loops back into Dangerously Genre Savvy. He's running an evil empire fully aware that many stories have such empires toppled and their leaders slain. He doesn't mind the possibility that such will be his fate if it means he gets to run an evil empire for a few decades. He's even happier to go along with genre conventions after finding out his son Elan has become an adventuring hero; rather than dying at the hands of some random schmuck, he will be defeated in an epic duel with his own son. He seems more excited at the prospect of losing than winning — winning just means he'll get to rule a bit longer, while losing will make him a legend since the villain is always more memorable in such tales. He sums it up quite nicely to Elan: "Here's to us Elan. We're going to tell the best story ever."
Cucumber Quest: A rare heroic example: even before the initial Big Bad collects all 8 Disaster Stones to awaken the Nightmare Knight, even when they get a legitimate chance to prevent said awakening, everyone except Cucumber takes You Can't Thwart Stage One for granted as unavoidable. His sister actually drives the point home by freely GIVING the last Disaster Stone over to the enemy because she thinks that preventing the crisis anticlimactically, rather than having a long and epic quest culminating in the defeat of the Nightmare Knight in an epic battle, is just a terrible idea and totally boring.
Narbonic: Every Mad Scientist acts in a given manner, even though they know it's going to bite them in the tush, precisely because of the insanity.
Goblins : The Goblin clan have strict traditions on keeping all magical weapons in a poorly locked chest in the middle of their war camp, rather than using them in battle. Later subverted; Complains steals the gear from the chest so he can do battle with Minmax (and gets banished from the clan as a result), and the goblins start training as adventurers when they realise they're tired of being fodder for low level adventurers.
Spoony's review of the Dragonstrike video board game pointed out how painfully obvious it is that the king's jester is the Big Bad and suggests just stabbing him then and there. Of course, the characters in the video miss this and just go off on the adventure anyway
The reviewers of the site are well aware of this trope. In the Channel Awesome Three Year Special Suburban Knights, all the characters have to get dressed up into fantasy costumes and start Becoming the Mask. Obscurus Lupa is Snow White, so she knows that she's contractually obligated to be horrible in battle.
In Melee's End, Zelda gets kidnapped. She then simply waits to be rescued, even though she's a perfectly competent fighter, and the dungeon she's in has no doors or guards. When Mewtwo wonders why she hasn't tried to escape, she says that that's not how getting kidnapped works.
It basically comes with the job of being a Let's Play creator, but even though Helloween4545 frequently calls out games for using cheap tricks of foreshadowing and jump scares, he eventually complies with what the games demand. But not without making fun of it. Pretty much his most used Catch Phrase is "Well, this seems legit."
Kim Possible: Seńor Senior Sr. is a paticularly Genre Savvy old man who took up supervillainy as a hobby and has since adhered to Contractual Genre Blindness. In fact, it's a tradition followed both by the villains and the heroes. So much so that the character gets upset when one villain refuses to follow the rules. He considers it to be good form.
Most supervillains are members of the Guild of Calamitous Intent — a Weird Trade Union whose bylaws obligate them to behave in this manner. It's suggested that the Guild enforces this as a protection measure for both their members and for society at large. An episode where Jonas Jr does not play along has Brock Samson warning him that a psycho with a private army, flying machines and so forth needs to be indulged if only to keep him away from committing real crimes.
Baron Undherbeit and The Monarch are both try to kill Dr. Venture at the same time. After coming to an agreement to combine their forces, Undherbeit asks if they should run the decision by the Guild first. After a brief pause, they both laugh at the suggestion and decide to 'screw protocol'. However, by the time they have finally decided upon this, all of their henchmen have been massacred by one of Venture's specially built robots.
Dr. Doofenshmirtz of Phineas and Ferb. In "No More Bunny Business" we see that he actually writes a script for his latest encounter with Perry the Platypus (presumably Perry goes Off the Rails, though.) When Perry is reassigned to other villains, he finds the new villain and helpfully tells him where he's doing it wrong and commends Perry for his methods.
In his second appearance, the Justice League version of Gorilla Grodd brings up the concept of propaganda. According to him, just killing Earth's greatest heroes won't make humanity bow down to him—he needs to kill them publicly in an utterly humiliating fashion to prevent further resistance. This means that he gives up two opportunities to kill some or most of them easily in favor of a traditionally villainous scheme, and while he plans for most of the potential pitfalls, the premise of the show necessitates that he accidentally miss one.