Hijacking JavaScript/jQuery methods
Some people often wonder: “Hey, when a user calls $(’body’).css(’background’, ’something-awesome’); is there a way I can run some code before that happens?”. The answer is yes and it’s not very hard to do. If there is a name for this technique, I’m not aware of it so I’m just going to call it “hijacking”.
Want to have your say? just login



Be first to show your opinion !!!