Skip to main content

Add QR codes to student login card at code.org

UPDATE (2/1/2017): See the note at the bottom of this post.

Here is a bookmarklet that will add QR codes to the student login cards for your code.org class.

qrmycodeorg

Below is a video explaining how to use this bookmarklet.

UPDATE:
I was recently informed by a couple teachers that the bookmarklet doesn’t work. After some investigation, I figured out why. As a security measure, new browser standards have been set that prevent many bookmarklets from working. This security measure is called a Content Security Policy or CSP. The bookmarklet will only work if you disable CSP for the page before running it.

Steps in Chrome:

  1. Install the Disable content-security-policy Chrome extension
  2. Load the printable sign in cards page at code.org
  3. Click the disable content security policy icon to disable CSP
  4. Reload the page
  5. Use the bookmarklet as shown in the video above
  6. Click the disable content security policy icon to re-enable CSP

Get a direct link to public files shared at Copy.com

Over the past few days, I’ve been tinkering around with the cloud storage site Copy.com. It’s a lot like Dropbox and the others.

After exploring Google Drive’s ability to host files and provide direct links, I wanted to see if Copy could do the same thing. Turns out it can for most files (not html). below is an example:

change this: https://www.copy.com/s/duJ7I70PLvTK/interview109-clip.mp3

to this: https://copy.com/duJ7I70PLvTK/interview109-clip.mp3

I made a bookmarklet that does the URL hacking for you. Follow the steps below to put it into use:

  1. Drag this link to your bookmarks bar: Clean Copy
  2. go to the public URL of a file shared at Copy.com
  3. click “Clean Copy” bookmark to get a direct link to the file

(UPDATE: Copy.com made some changes. The bookmarklet about doesn’t work any longer. Changing the path still seems to work fine.)

 

Speaking of bookmarklets, here is one that will switch your Google Drive folder to a hosting folder like I described in a previous post.