Skip to content

Commit

Permalink
Merge branch 'gh-pages' of git://github.com/rentzsch/clicktoflash int…
Browse files Browse the repository at this point in the history
…o cocoa-killer
  • Loading branch information
ssp committed Oct 7, 2009
2 parents 9e93692 + a6605e3 commit 996c079
Show file tree
Hide file tree
Showing 22 changed files with 1,277 additions and 0 deletions.
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
clicktoflash.com
Binary file added ctf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
251 changes: 251 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="Ever wanted to rid the web of the scourge that is Adobe Flash, but still retain the ability to view Flash whenever you want? With ClickToFlash, you can!" />
<link rel="stylesheet" type="text/css" href="standard.css" />
<link rel="canonical" href="http://rentzsch.github.com/clicktoflash/" />
<title>ClickToFlash</title>
</head>
<body>
<div class="main_box_high">
<div class="product_header_box">
<div class="product_header_left_side">
<div class="product_icon_short">
<img src="ctf.png" class="big_icon" alt="ClickToFlash Icon" />
</div>
</div>
<div class="product_header_right_side">
<div class="title_box">
<h1>ClickToFlash</h1>
<script type="text/javascript">
var randNum = Math.floor(Math.random()*3);
if (randNum == 0) {
document.write('your web browsing prophylactic');
} else if (randNum == 1) {
document.write('saving the web one click at a time');
} else {
document.write('any crash is probably Flash');
}
</script>
</div>

<div class="download_box">
<div class="download_button_box">
<a href="http://cloud.github.com/downloads/rentzsch/clicktoflash/ClickToFlash-1.5.3-golden.zip">1.5.3</a>
</div>
Latest stable version<br />
<div class="sys_reqs_box">
size: 524 KB<br />
Tiger, Leopard, Snowy Leopard
</div>
</div>

<div class="download_box">
<div class="download_button_box beta">
<a href="http://cloud.github.com/downloads/rentzsch/clicktoflash/ClickToFlash-1.6b2.zip">1.6b2</a>
</div>
Latest beta version<br />
<div class="sys_reqs_box">
size: 600 KB<br />
Tiger, Leopard, Snowy Leopard
</div>
</div>
<div class="small_text_box">
<span style="font-size:9px;">(click the version numbers to download)</span>
</div>

<div class="link_box">
<a href="http://github.com/rentzsch/clicktoflash/tree/master">official Github source code page</a>
</div>

<div class="link_box">
<a href="http://rentzsch.lighthouseapp.com/projects/24342-clicktoflash/tickets?q=all">Lighthouse site for reporting bugs</a>
</div>
</div>

</div>

<div class="topmost_content_box">
<h2 id="features">Features:</h2>
<div class="features_column_1">
<ul>
<li><span class="feature_header">Block evil Adobe Flash</span><br />
Flash only when you want it.</li>
<li><span class="feature_header">One-click Flash loading</span><br />
View blocked Flash with just one click.</li>
<li><span class="feature_header">Higher quality YouTube</span><br />
Play H.264 videos in QuickTime.</li>
<li><span class="feature_header">HD YouTube support</span><br />
No more crappy, blocky video.</li>
</ul>
</div>
<div class="features_column_2">
<ul>
<li><span class="feature_header">Website Whitelist</span><br />
Allow Flash on certain websites.</li>
<li><span class="feature_header">Application Whitelist</span><br />
Allow Flash in certain applications.</li>
<li><span class="feature_header">sIFR Typography Support</span><br />
Load quality typesetting automatically.</li>
<li><span class="feature_header">Automatic Updating</span><br />
Download updates when they're ready.</li>
</ul>
</div>

</div>

<div class="important_content_box" style="border-color: green;">
Want to play videos from other sites using QuickTime instead of Flash? <a href="killers.html">Help us out!</a>
</div>

<div class="important_content_box" style="text-align:left">
<span class="section_header header_important">Important:</span> @rentzsch screwed up migrating software update hosting from Amazon S3 to github.
<br>&nbsp;<br>
If you were automatically updated to ClickToFlash 1.5 or 1.5.1, <b>you'll need manually download and upgrade to 1.5.2 or later yourself</b>. Sorry.
</div>

<div class="important_content_box">
<span class="section_header header_important">Important:</span> if
ClickToFlash gives you an error during installation, please see <a href="#installer-issue">this section</a>.
</div>

<div class="content_box less_padding">
<p>Ever wanted to get rid of the scourge of the web that is Adobe Flash, but still retain the ability
to view Flash whenever you want? With ClickToFlash, you can! Using ClickToFlash, all of those
icky Flash bits that have infected most webpages on the internets are replaced with a nice, smooth
gradient and the word "Flash" set in a nice, pleasing font. When you want to view the Flash, just click
on it!</p>

<p>The advantages of ClickToFlash are numerous. Since Flash isn't loaded until you specifically ask for it,
your CPU usage will stay at normal levels when browsing the web. This has tons of benefits: web browsing
stays speedy, your Mac laptop won't get as hot, and your Mac's fan won't come on as often. In fact, we
guarantee* that ClickToFlash will quintuple your battery life and that it will protect those precious parts
of your body on which you rest your laptop! (*note: not actually guaranteed)</p>

<p>Although similar to Flashblock for Firefox and Camino, ClickToFlash offers features over and above what
Flashblock offers, and it offers them for Safari. Best among them, ClickToFlash supports viewing all those
ADORABLE meowing cat videos, annoying dog videos, and hilarious rickrolls from YouTube without using Flash at all!
That's because YouTube also offers H.264 videos, which are used when viewing YouTube on the iPhone. With
ClickToFlash, you get access to those same, higher quality videos.</p>

<p>Come join us! The web is so much better without Flash.</p>
</div>

<div class="content_box" id="usage">
<h2 id="usage_notes">Usage Notes:</h2>
<p id="context-menu"><span class="header_standard">Contextual menu:</span> the gear in the upper-left corner of any unloaded
Flash box allows access to ClickToFlash's contextual menu. This menu allows you to do advanced things
like edit ClickToFlash's whitelist, specify settings, and load all Flash on the page.</p>

<p id="app-menu"><span class="header_standard">ClickToFlash menu:</span> in certain applications, ClickToFlash will
activate a menu item in the application's menu. For example, Safari has a ClickToFlash menu located at
[Safari --> ClickToFlash], near the "Preferences..." menu item. This gives access to ClickToFlash's settings
window and a few other features.</p>

<p id="uninstall"><span class="header_standard">Uninstalling ClickToFlash:</span> for versions 1.5 and later, go to the
Settings window and click the "Uninstall ClickToFlash" button. For versions prior to 1.5, navigate to
~/Library/Internet Plug-ins/ in the Finder, where ~ is your home folder, and delete the item named
"ClickToFlash.webplugin" (or "ClickToFlash.plugin").</p>

<p>Please <a href="http://rentzsch.lighthouseapp.com/projects/24342-clicktoflash/tickets/new">report bugs
and request features</a> on the
<a href="http://rentzsch.lighthouseapp.com/projects/24342-clicktoflash/tickets?q=all">Lighthouse ClickToFlash
project site</a>.</p>

<p>Want to chip in?
<a href="http://rentzsch.lighthouseapp.com/projects/24342-clicktoflash/tickets?q=not-tagged%3Abrokensite+state%3Aopen&amp;filter=">Here's
what needs to be done</a>.</p>
</div>

<div class="content_box" id="installer-issue">
<h2 id="installation_troubles">Installation Troubles:</h2>
<p>When installing ClickToFlash, you may receive this error if you've installed ClickToFlash before:</p>

<pre><code>Installer could not install files in /tmp</code></pre>

<p>This is a known problem with pre-release versions of 1.4 and 1.5. To fix it, open the Terminal
(located in the Applications folder), and type in the following command, followed by
a return:</p>

<pre><code>sudo pkgutil --forget com.github.rentzsch.clicktoflash.pkg</code></pre>

<p>A password may be required. If it asks for your password, type it in (you will not
see any letters, numbers, or bullets), and then press return again.</p>

<p>You may also see this error after issuing the aforementioned Terminal command: </p>

<pre><code>No receipt for 'com.github.rentzsch.clicktoflash.pkg' found at '/'</code></pre>

<p>Don't worry, that's OK. ClickToFlash should now install normally.</p>

<h3 id="further_problems">Further problems:</h3>
<p>If the installer is <strong>still</strong> giving you troubles, and you're running under a non-admin user,
type the following terminal command, followed by a return:</p>

<pre><code>su admin_user -c 'touch /Library/Receipts/ClickToFlash.pkg'</code></pre>

<p>replacing "admin_user" with the short user name of an admin user. You will need to enter a password as well,
and then type return again. Now attempt ClickToFlash installation again.</p>
</div>

<div class="content_box" id="pandorajam-issue">
<h2 id="pandorajam_troubles">PandoraJam Troubles:</h2>
<p>If you're having troubles with PandoraJam, make sure you are running ClickToFlash 1.5 or later, and
<a href="http://www.bitcartel.com/pandorajam/">upgrade to
PandoraJam</a> 1.4 (build 288) or later.
</div>

<div class="content_box" id="application-whitelist">
<h2 id="application_whitelist">Application Whitelist:</h2>
<p>ClickToFlash 1.5 and higher now include an application whitelist. For apps that absolutely require
Flash, ClickToFlash may cause the app to not function at all, or it may cause severe inconveniences. If an
app is on the application whitelist, ClickToFlash will automatically load all Flash.</p>

<p>Currently, the application whitelist does not have a GUI. Use the following Terminal command (or your favorite
plist editor) to add apps to the whitelist, replacing "bundleID" with the bundle ID of the app you're whitelisting:</p>

<pre><code class="small_code">defaults write com.github.rentzsch.clicktoflash applicationWhitelist -array-add bundleID</code></pre>

<p><b>App developers:</b> you do not need to wait for a new release of ClickToFlash in order to use the
application whitelist. Simply include a key named "ClickToFlashOptOut" in your app's Info.plist file, set
its value to "YES", and your app will automatically be whitelisted by ClickToFlash.</p>
</div>

<!--
<div class="content_box">
<div class="section_header"><a name="screenshots">Screenshots:</a></div>
<div class="screenshot_images_box" style="float: left; position: relative; left: 25px; height: 250px;">
<a href="sample_screenshot.png" target="_blank">
<img src="sample_screenshot_thumb.png" alt="Sample Screenshot" style="margin-bottom: 5px;" /><br />
</a>
some random screenshot
</div>
</div>
-->

<div class="content_box">
<h2 id="version_history">Version History:</h2>
ClickToFlash's version history can be found at the
<a href="http://github.com/rentzsch/clicktoflash">official Github source code page</a>.
</div>

<div class="footer">
Last updated 2009-10-03. Copyright &copy; 2009 ClickToFlash Developers.<br />
Original website design by Simone Manganelli (a.k.a. <a href="http://twitter.com/simX">@simX</a>)
</div>
</div>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-463677-6");
pageTracker._trackPageview();
} catch(err) {}
</script>

</body>
</html>
89 changes: 89 additions & 0 deletions killers.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="standard.css" />
<title>ClickToFlash Video Site Support</title>
</head>
<body>
<div class="content_box"><h3>ClickToFlash Video Site Support</h3></div>
<div class="content_box less_padding">
<p>One of ClickToFlash's primary goals is to eliminate as much Flash from the web
as possible, allowing users to choose only the Flash they want to see. As such, ClickToFlash has
support for viewing videos from YouTube using the QuickTime Player instead. We've heard a
lot of feedback indicating that users love this feature, and that they'd love it even more
if we expanded it to other video sites.</p>

<p>The ClickToFlash developers are currently considering how best to accomplish this task.
(If you're interested in technical details, you can see a proposal for an extensible
architecture for supporting alternative sites
<a href="http://homepage.mac.com/simx/technonova/software_development/clicktoflash_killers.html">here</a>.)</p>

<p>What do we need from you? We need help figuring out which video sites we are actually
able to support in ClickToFlash.</p>

<p>Playing YouTube videos in QuickTime is not as simple as loading the Flash file
using the QuickTime player. ClickToFlash has to construct a URL to an .mp4 file
for that video (or any file that QuickTime is able to play natively). So we need you to help
figure out a standard method for figuring out URLs to files
that QuickTime can play, instead of the .swf files that video sites normally use to load
their own player interface and the video file. We've already succeeded in doing this for YouTube, but each
video site is different.</p>

<p>(Please note: we highly prefer .mp4 files, but if you have a method for constructing URLs to .flv files,
let us know anyway. Supporting .flv files will require Perian, but we haven't decided on whether or not that's
a good idea.)</p>

<p>If you do figure out a method, please file a ticket at
<a href="http://rentzsch.lighthouseapp.com/projects/24342-clicktoflash/tickets/new">ClickToFlash's Lighthouse site.</a> Name the ticket "ClickToFlash Site Support: NameOfVideoSite" and then describe the steps needed to construct a URL
to a QuickTime-playable file.</p>

<p>Three examples for known sites are below, YouTube, Vimeo, and Break.com. Please use these as guidelines
for how to write a ticket when you figure out a method for other video sites.</p>

<p>Thanks for your help!</p>
</div>
<div class="content_box less_padding">
<h4>YouTube</h4>
<ol>
<li>Go to the webpage for any YouTube video (e.g.: http://www.youtube.com/watch?v=ikFVwOuI650 )</li>
<li>Look at the source HTML for the webpage.</li>
<li>Search for "var swfArgs" in the source HTML.</li>
<li>The first occurrence of "video_id" after "var swfArgs" should be followed by a string of characters enclosed in quotation marks that matches the last part of the webpage URL (e.g.: ikFVwOuI650 )</li>
<li>A variable named "t" should also appear soon after "var swfArgs", which is followed by a much longer string of characters enclosed in quotation marks (e.g.: vjVQa1PpcFPf2Mhlr4GK85oHM9DlhMLaHBvQH1fh1zk%3D )</li>
<li>The final URL to the video file is "http://www.youtube.com/get_video?fmt=22&video_id=video_id_chars&t=t_chars", where "video_id_chars" is replaced with the string of characters from step 4, and "t_chars" is replaced with the string of characters from step 5 (e.g.: http://www.youtube.com/get_video?fmt=22&video_id= ikFVwOuI650&t= vjVQa1PpcFPf2Mhlr4GK85oHM9DlhMLaHBvQH1fh1zk%3D ).</li>
</ol>
</div>
<div class="content_box less_padding">
<h4>Vimeo</h4>
<ol>
<li>Go to the webpage for any Vimeo video (e.g.: http://www.vimeo.com/6523546 )</li>
<li>The string of numbers in the URL of the webpage is the clip ID.</li>
<li>Go to the following URL: http://vimeo.com/moogaloop/load/clip:clip_id , replacing "clip_id" with the clip ID from step 2. This is an XML file.</li>
<li>In the XML file from step 3, extract the string of characters that is preceded by "&lt;request_signature&gt;" and is followed by "&lt;/request_signature&gt;" (e.g.: ddcbe28494865ca6f7392915e15d7152 )</li>
<li>In the XML file from step 3, extract the string of characters that is preceded by "&lt;request_signature_expires&gt;" and is followed by "&lt;/request_signature_expires&gt;" (e.g.: 1254601800 )</li>
<li>The final URL to the video file is "http://vimeo.com/moogaloop/play/clip:clip_id/request_signature/request_signature_expires/?q=hd", where clip_id is replaced with the clip ID from step 2, request_signature is replaced with the string of characters from step 4, and request_signature_expires is replaced with the string of characters from step 5 (e.g.: http://vimeo.com/moogaloop/play/clip: 6523546/ddcbe28494865ca6f7392915e15d7152/1254601800/?q=hd ).</li>
</ol>
</div>

<div class="content_box less_padding">
<h4>Break.com</h4>
<ol>
<li>Go to the webpage for any Break.com video (e.g.: http://www.break.com/index/how-not-to-start-a-fire.html )</li>
<li>Look at the source HTML for the webpage.</li>
<li>Search for "sGlobalFileName=" in the source. The characters following that string, enclosed by single quotes, are the video file name (e.g.: how-not-to-start-a-fire_1 ).</li>
<li>Search for "sGlobalContentFilePath=" in the source. The characters following that string, enclosed by single quotes, are the global file path (e.g.: 2009/10 )</li>
<li>The final URL to the video file is "http://video1.break.com/dnet/media/sGlobalContentFilePath/sGlobalFileName.flv", where sGlobalContentFilePath is replaced with the global file path from step 4, and sGlobalFileName is replaced with the file name from step 3 (e.g.: http://video1.break.com/dnet/media/2009/10/how-not-to-start-a-fire_1.flv )</li>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-463677-6");
pageTracker._trackPageview();
} catch(err) {}
</script>
</body>
</html>
18 changes: 18 additions & 0 deletions release_notes/1.4.1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>ClickToFlash 1.4.1 release notes</title>
</head>
<body>
<li>
<p>
<strong>1.4.1</strong>
</p>
<ul>
<li>
[FIX] Tweak WebPluginDescription from <code>9.0.151.0</code> to <code>9.0.151</code>. bugs <a href="http://rentzsch.lighthouseapp.com/projects/24342/tickets/161">161</a>, <a href="http://rentzsch.lighthouseapp.com/projects/24342/tickets/162">162</a>, <a href="http://rentzsch.lighthouseapp.com/projects/24342/tickets/163">163</a>, <a href="http://rentzsch.lighthouseapp.com/projects/24342/tickets/168">168</a>, <a href="http://rentzsch.lighthouseapp.com/projects/24342/tickets/171">171</a>, <a href="http://rentzsch.lighthouseapp.com/projects/24342/tickets/174">174</a> (<a href="http://github.com/rentzsch/clicktoflash/commit/34897240e80470a36ee7778dd3d62f79891c5c84">Jeff Johnson</a>)
</li>
</ul>
</li>
</body>
</html>
Loading

0 comments on commit 996c079

Please sign in to comment.