While browsing the web or accessing online content, control of what is displayed, how your browser operates, and how it is configured could be changed remotely--this is browser hijacking. Most often the changes are automatically performed by malicious code from a web site, online content, but could be from a program you downloaded and ran as well.
Web browsers can run embedded code, scripts, inline applications, and plugin applications in various languages. Although in some cases you would need to make a decision and take a particular action (such as clicking on a link or a "play" button), sometimes the code which takes control of your browser's operation is executed automatically when the web page is displayed.