Showing posts with label social media. Show all posts
Showing posts with label social media. Show all posts

Tuesday, September 3, 2019

Craigslist Roundup 1: Interesting Ads

Some interesting ads I found on Craigslist recently. Figured I'll start a series with these funniness. Here goes.








Monday, September 2, 2019

[Media] Useful Firefox Plugins


As an avid user of Firefox, there are many plugins which are absolutely essential to upgrade your browsing experience. Here are a few I always use.

FireShot
https://addons.mozilla.org/en-US/firefox/addon/fireshot

This is my favorite plugin to make web page screenshots which can be saved as images or pdfs with links!

uBlock Origin
https://addons.mozilla.org/en-US/firefox/addon/ublock-origin


Nowadays, ads are everywhere which unfortunately includes YouTube and other popular video streaming sites. To avoid them ever showing up, I use this efficient blocker. It runs so smoothly I never notice it's even there.

DownThemAll!
https://addons.mozilla.org/en-US/firefox/addon/downthemall/

This is the downloader for links on a page. Download images, pdfs, links, etc. all in one easily customizable plugin.

Image Picka
https://addons.mozilla.org/en-US/firefox/addon/image-picka

I use this app if I specifically want to just download images on a page. Not nearly as functionality heavy or customizable as DownThemAll! but it's perfect for downloading pictures.

In My Pocket
https://addons.mozilla.org/en-US/firefox/addon/in-my-pocket


For those of us using Pocket to bookmark and store interesting articles, the old official plugin no longer works with the latest version of Firefox. Have no fear for a guy by the name of Pierre-Adrien Buisson created an unofficial version which is just fine. With one click, save any article you want to Pocket for later perusal.

Sunday, July 28, 2019

[Media] How to Embed Videos



Guide to Embed Videos

Locate the video you would like to include and copy the embed code. For Youtube videos, this code is found within the "share" menu. For the video above, it looks like this:

<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/AqZA77eABRI" width="560"></iframe>

Youtube also has an option to share without having to type this code. First, click on the Share button which is right below the video. Then, when the box appears, click on the Embed button. A code box should appear to the right side. Select the code, copy and then paste it to whatever webpage you wish to embed the video.


What about non-Youtube sites?

Wednesday, January 5, 2011

[IT] Facebook Automatic Selecter

Today while I was surfing around facebook like all young people do, I came across an annoying issue: Facebook doesn't allow me to select all my friends when I'm trying to suggest friends to someone new on Facebook. I have to manually click each one which is time-consuming and boring.

Naturally, there was a better way. I looked it up and saw a posting on facebook discussing this exact issue. Just paste this line of code into the address bar of your browser (where you type the URL), and your friends are automatically selected:

javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}

If you're not as technically minded, you can go on your merry way and just use the code. I wanted to understand what it meant though. So to put it in more readable form:

elms = document.getElementByID('friends').getElementsByTagName('li');

for (var fid in elms) {
if (typeof elms[fid] === 'object') {
fs.click(elms[fid]);
}
}

With knowledge of DOM (Document Object Model) scripting and JavaScript, this is quite comprehensible. Let me write it step-by-step anyway though:

1. Assign the array variable 'elms' to be the array of elements (formally called collection) that is the listed items contained within the div tag named 'friends'. In this case, all the list elements are apparently objects.

2. Loop through all elements in the array 'elms'. For each loop, check whether the element is the type of data known as an object.

3. If so, activate the object called 'fs' to do the method 'click' on the 'fid'th element of the array 'elms'. Apparently, this method just selects the object for you which is the same method that is activated when you do a mouse click.

There are probably some other cool features that you can do to facebook. I'll keep my eyes peeled for some other places where code can come in handy.