First Commit!

This should work out nicely
This commit is contained in:
Amrit Panesar committed 2014-06-06 09:37:24 -07:00
1 parent ccfb9833af
commit d79a13a3b3
4 files changed
+11 -38

No files matched your search

BIN
View File
Binary file not shown.
+3 -31
View File
@@ -1,37 +1,9 @@
cloud-to-butt
walk-to-wank
=============
Chrome extension that replaces occurrences of 'the cloud' with 'my butt'
[Direct download of crx file](https://github.com/panicsteve/cloud-to-butt/blob/master/CloudToButt.crx?raw=true)
Note that there are forks of this extension that simply replace 'cloud' with 'butt'.
In my personal opinion, that approach is too broad and it's less funny as a result, but it is clearly a very
polarizing issue in the cloud-to-butt user community. Forks are free to do whatever they like. But officially, _this_
extension replaces only the phrase described above. Thank you for your concern.
Screenshot Gallery
------------------
http://www.flickr.com/groups/cloud-to-butt/
Chrome extension that replaces occurrences of 'walk' with 'wank'
Installation
------------
In Chrome, choose Window > Extensions. Drag CloudToButt.crx into the page that appears.
Safari Version
--------------
Can be found here: https://github.com/logancollins/cloud-to-butt-safari
Firefox Version
---------------
Can be found here: https://github.com/DaveRandom/cloud-to-butt-mozilla
Opera Version
---------------
Can be found here: https://github.com/DaveRandom/cloud-to-butt-opera
In Chrome, choose Window > Extensions. Drag WalkToWank.crx into the page that appears.
+6 -5
View File
@@ -30,11 +30,12 @@ function walk(node)
function handleText(textNode)
{
var v = textNode.nodeValue;
v = v.replace(/\bThe Cloud\b/g, "My Butt");
v = v.replace(/\bThe cloud\b/g, "My butt");
v = v.replace(/\bthe Cloud\b/g, "my Butt");
v = v.replace(/\bthe cloud\b/g, "my butt");
// Deal with the easy case
v = v.replace(/\b(W|w)alk/g, function(match, p1, p2, offset, string) {
w = String.fromCharCode(p1.charCodeAt(0));
return w + "ank";
});
textNode.nodeValue = v;
}
+2 -2
View File
@@ -1,8 +1,8 @@
{
"manifest_version": 2,
"name": "Cloud To Butt",
"name": "Walk To Wank",
"version": "1.0",
"description": "Replaces the text 'the cloud' with 'my butt'.",
"description": "Replaces the text 'walk' with 'wank'.",
"content_scripts":
[
{