removed error while using reddit toolbar

Make sure adlink is not null before doing anythign with it. Shows up on
reddit toolbar pages, since it's still reddit, but doesn't have the
footer