Browser Code Injection
It sounds just like what it is. It is the process of injecting code into something like a WordPress post where the web browser interprets the code presented like normal. To do that with a WordPress post, you have to be in HTML mode, or where you can edit the raw code of the post. Once there, you can insert code called CSS, or Cascading Style Sheets, where you can change various aspects of the code. Take this snippet of code:
<style type=”text/css”>
a:hover {
color: #ff0000;
text-decoration: none;
}
</style>
In the standard default theme for WordPress, when you put your mouse over the link, the color changes, and the link becomes underlined. All that the above code does is make it so that when the mouse is on top of a link (hovering), it doesn’t underline it and changes it to red. This sort of code has been used on other sites like MySpace, but for more nefarious reasons. I’ve even heard of people injecting code onto CNN to make a fake news report for his mother. Using it to change the theme for a WordPress blog, or at least your own, is not malicious in any way. Using it to change someone else’s site is bad and considered hacking. Don’t use this technique for anything bad. That’s all that I have to say. Many parts of the WordPress theme can be edited through injections, you can see most of the parts through the theme editor and under styles.css. Then inject the individual parts into the post. Good Luck, and don’t break anything.
