Archive for the Category » From the Intenets «

Friday, April 23rd, 2010 | Author: pluc | Views:

I was wondering, last night, if I’d really have to wait for everyone to implement the new Facebook Social Plugins, more specifically, the new embeddable “Like Button”. I think it’s a pretty cool alternative to replace everyone’s “Share on Facebook” annoying popup link. That being said, I decided I’d throw a little JavaScript together, actually inspired by Damon Cortesi’s DM Deleter for Twitter, I put together a bookmarklet to insert a “Like” button virtually anywhere (and by that, I mean on any site/page you visit).

First, for those who want the result before the explanation, drag this link to your browser’s bookmark toolbar: Like This

Alright, now for the smart people, here’s a breakdown of what this puppy does:


javascript:(function(){
var h=document.getElementsByTagName('head')[0];
var m1=document.createElement('meta');
m1.setAttribute('property','og:title');
m1.content=document.title;
h.appendChild(m1);

var m2=document.createElement('meta');
m2.setAttribute('property','og:site_name');
m2.content=window.location.hostname;
h.appendChild(m2);

var m3=document.createElement('meta');
m3.setAttribute('property','og:url');
m3.content=window.location;
h.appendChild(m3);

var s=document.createElement('iframe');
s.scrolling='no';
s.frameborder='0';
s.allowTransparency='true';
s.style.border='none';
s.style.overflow='hidden';
s.style.position='absolute';
s.style.zIndex='100';
s.src='http://www.facebook.com/plugins/like.php?href='+encodeURIComponent(window.location)+'&layout=standard&show_faces=true&width=450&action=like&colorscheme=light';
var a=document.body.firstChild;
document.body.insertBefore(s,a);
})();void(0);

What that is gonna do is relatively simple and most of you will be able to guess it just by looking at the code above. It creates three META tags, one for og:title, one for og:site_name, and one for og:url which are all required by Facebook to display the data that you actually like.
Once that’s done, it creates an iframe, exactly the same as just getting the Like Button code from Facebook and puts it as the first element of the body tag, making it the first thing you see on the page, technically.

This is mostly a little toy, but feel free to use it if you’d like! I’m not too sure why, but when I tried this at home, it would pop up a Facebook login window instead of just “Liking” whatever I was supposed to be Liking… this morning, it doesn’t. So let me know what you experience if you try it out.

Edit: ReadWriteWeb is also saying they’ve got a “Safe” bookmarklet. But theirs don’t add meta tags :)

Monday, July 20th, 2009 | Author: pluc | Views:

Today is another great day in the history of the Internet. Unless you’ve been living under a rock in a deep, dark corner of the web, you know who Rick Astley is, what he does and how it can be used to generate endless laughter possibilities. Keep that part in mind when I go over the next piece of information.
Someone named DJ Morgoth did an amazing mashup of Rick’s (in)famous hit “Never Gonna Give You Up” to the music of Nirvana’s Smell Like Teen Spirit. Let me say that again. Someone used Nirvana’s instrumental from “Smell Like Teen Spirit” and added the voice of Rick Astley singing “Never Gonna Give You Up”. If this doesn’t sound awesome by now, please, by all means, do yourself a favor and check the video. Both pieces fit together in a very, very creepy way:
more…

Category: From the Intenets  | Tags: , ,  | One Comment
Saturday, April 18th, 2009 | Author: pluc | Views:

halfmastAbout that whole Pirates-going-to-jail thing

You can show your support for the Pirate Bay by flying the Music Pirate Flag at half mast on your blog/website/forehead. Right-click and take it away!

Props to Atom X for creating it for me and you.
Music Pirate Half Mast is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.
Based on a work at www.makeitfall.com.

The original SVG version is here.

“Revolution is not an apple that falls from the tree when it is ripe. You have to make it fall.”

-Che Guevara

Category: From the Intenets  | Tags: ,  | Leave a Comment
Saturday, January 10th, 2009 | Author: pluc | Views:

There’s been a trend growing lately among the digital spheres I hang around… People have started blogging about seven things that people (their readers) don’t necessarily know about them. I think it’s a pretty nifty thing, because how often do you say things to random people that you usually don’t say to many of the people you know? I think it can tell a lot about a person, but that’s just me. There’s also the whole chain aspect. In your “Seven Things” post, you’re supposed to “tag” seven people that will, in turn, do the same thing. In the end, everyone learns about their friends, and you do some networking! Here’s my personal contribution to keeping the meme alive!

  1. I have visibly chipped a tooth in a mosh pit several years ago (lower incisor) at Montreal’s Foufounes Electrique. The song was “Killing in the Name” by Rage Against the Machine. I also lost my glasses that night. And yes, I was shitfaced.
  2. I have never flown. I also have never been outside my birth country, Canada. The farthest I’ve been is Halifax and Dartmouth (Nova Scotia) or sailing on Lake Champlain (up to Burlington, VT).
  3. I was in a foster care for six months when I was 16. I shared my room with a guy who had blown a hole in his cousin’s stomach with a 12 gauge while I was there because my father thought I wasn’t participating enough in the household chores. I have not seen or talked to my father since. I was kicked out for smoking weed. What would YOU have done?!
  4. I started on the internet back in 1993 with a site called WebDepart (who was started, I learned years later, by iWeb‘s president) who offered Java based IRC client. I was 13. I lied about my age, and it worked even when I met people from the IRC channel. It was on the WebChat network. I stayed there for a few years, and became IRCop for 2-3 years, which is how I learned english and the basics of programming.
  5. I owned a high traffic site that had a million visits per month. I never put ads on it – except one: a banner for my host which in exchanged, hosted the site for free. I interviewed big names of the IRC world. The reason I stopped? It was too much work for a single person, not enough appreciation, too much competition and content stealing, and the domain expired (but was immediately re-registered by someone else, of course).
  6. I sport five tattoos. In chronological order: a dragon on my right calf, Drizzt Do’Urden on my right bicep, coordinates on my collarbone, COEXIST on my right forearm and the infinity symbol wrapped in barbed wire on my nape. Two of them were re-inked, just for the feeling. Except for the dragon, they all carry extremely meaningful stories, feelings or ideas to me, and I usually dislike to talk about them except for their appearance. There’s a degree symbol missing from the coordinates, and the relativity formula from the forearm is missing the equal sign. Both are intended “mistakes”.
  7. I have lived in Repentigny, Lavaltrie, L’Assomption, Dartmouth, Laval and Montreal. I first moved to Montreal in Pointe-Aux-Trembles, then Mercier, then St-Leonard, then Outremont (though I like to say it’s The Plateau).

Now, I tag these seven people to continue the chain:

These are the rules apparently:

  • Link your original tagger(s), and list these rules on your blog.
  • Share seven facts about yourself in the post – some random, some wierd.
  • Tag seven people at the end of your post by leaving their names and the links to their blogs.
  • Let them know they’ve been tagged by leaving a comment on their blogs and/or Twitter.
Friday, November 14th, 2008 | Author: pluc | Views:

  1. Your house plants are alive, and you can’t smoke any of them.
  2. Having sex in a twin bed is out of the question.
  3. You keep more food than beer in the fridge.
  4. 6:00 AM is when you get up, not when you go to bed.
  5. You hear your favourite song on an elevator.
  6. You watch the Weather Channel.
  7. Your friends marry and divorce instead of hook up and break up.
  8. You go from 130 days of vacation time to 14.
  9. Jeans and a sweater no longer qualify as “dressed up.”
  10. You’re the one calling the police because those damn kids next door won’t turn down the stereo.
  11. Older relatives feel comfortable telling sex jokes around you.
  12. You don’t know what time Taco Bell closes anymore.
  13. Your car insurance goes down and your payments go up.
  14. You feed your dog Science Diet instead of McDonalds leftovers.
  15. Sleeping on the couch makes your back hurt.
  16. You no longer take naps from noon to 6 PM.
  17. Dinner and a movie is the whole date instead of the beginning of one.
  18. Eating a basket of chicken wings at 3 AM would severely upset, rather than settle your stomach.
  19. You go to the drug store for ibuprofen and antacid, not condoms and pregnancy tests.
  20. A $4.00 bottle of wine is no longer “pretty good stuff”.
  21. You actually eat breakfast food at breakfast time.
  22. “I just can’t drink the way I used to,” replaces, “I’m never going to drink that much again.”
  23. 90% of the time you spend in front of a computer is for real work.
  24. You drink at home to save money before going to a bar.
  25. You read this entire list looking desperately for one sign that doesn’t apply to you and can’t find one to save your sorry old ass.

Source

Category: From the Intenets  | Tags: , ,  | One Comment
Friday, October 10th, 2008 | Author: pluc | Views:

This is so fucking great. Search no more. This is what the internet was invented for.

Now, I know what you’re thinking. “Does this guy also offer advice on how to pick up women?”

Well yes, fortunately he does. Videos after the jump.
more…

Category: From the Intenets  | Tags: , ,  | Leave a Comment