Blocking in-line content rollover or keyword advertisements in Safari
Instructions for blocking rollover "keyword" ads in Safari with the aid of PithHelmet.
Numerous sites have implemented "keyword rollover" advertisements that are inline with content. Generally they appear as underlined or double-underlined text strings that are part of an article or other content, and trigger a bubble-shaped pop-up whenever the mouse scrolls over them.
Unfortunately, routines for blocking these advertisements -- which can interfere with the display of content and significantly slow page load times -- are not built-in to most browsers, as are routines for blocking traditional pop-up or pop-under ads. With the use of a shareware utility called PithHelmet, however, you can eliminate the display of these ads while leaving other advertisements and site features intact.
- Quit Safari if it is open.
- Download and install PithHelmet, a US $10 shareware utility, which uses the SIMBL architecture to inject code into Safari.
- Open Safari and select "Preferences" from the "Safari" menu.
- Select the "PithHelmet" tab.
- Turn the Ad Blocking Level to "Block none" and Cookie Privacy Level to "Use Safari settings" so Safari's operation is similar to default.
- Press the "Show Rule Editor" button, which is where you can edit filtering rules for specific domains.
- Click the "New" button in the lower right-hand corner of the Rule Editor window. This will create a new rule.
- In the "Matching Pattern" field, enter the URL that is delivering the ads you would like to block. The best way to identify this URL is to locate and click on a keyword rollover ad you would like to block, then watch the URL field in Safari for the domain that is delivering the ad. For this example, we will use one of the more notorious delivery domains, kona.kontera.com.
- After entering the domain you would like to block, click on the "Filter" tab.
- Turn all of the options: "Matching URL request action:," "Matching images and other inline content:" and "Matching links:" to "Block."
- Click the "Apply" button.
- Go to the page where keyword rollovers appeared and check for their persistence.
Like what you've found in this tutorial? Get more troubleshooting guidance (updated daily) by subscribing to MacFixIt Pro.