---
layout: post
title: Flash-blocking attempts
author: Steven
date: 2007-07-17 10:56:09
categories: 
- Musings
tags: 
- adsubtract
- software
featured_image: https://www.stevenjaycohen.com/wp-content/uploads/2016/07/wsi-imageoptim-mac-keyboard.jpg
---

	I found this code over at floppymoose:

	 

	/* Prevent flash animations from playing until you click on them. */

	object[classid$=":D27CDB6E-AE6D-11cf-96B8-444553540000"],

	object[codebase*="swflash.cab"],

	object[type="application/x-shockwave-flash"],

	embed[type="application/x-shockwave-flash"],

	embed[src$=".swf"]

	{ -moz-binding: url("http://www.floppymoose.com/clickToView.xml#ctv"); }

	 

	The really important part is -moz-binding. Safari is supposed to respond to both -khtml-binding and -webkit-binding. But, my attempts to get this to work have all been fruitless so far. It is of course best to test this in the nightly versions of Safari (since that is the newest code and is most likely to have improved CSS3 support). If anyone has any luck, or ideas to try, please let me know.

	 

	Until then, I will continue to use Safari Stand's Load Plugins Manually setting to block unwanted content.