Skip to content

Instantly share code, notes, and snippets.

View backbone_pushstate_router.js
// Use absolute URLs to navigate to anything not in your Router.
// Only need this for pushState enabled browsers
if (Backbone.history && Backbone.history._hasPushState) {
// Use delegation to avoid initial DOM selection and allow all matching elements to bubble
$(document).delegate("a", "click", function(evt) {
// Get the anchor href and protcol
var href = $(this).attr("href");
var protocol = this.protocol + "//";
sayar / yammer-group-download-all-images.js
Last active Nov 28, 2016 — forked from Saturate/yammer-group-download-all-files.js
Download all files in a group. You have to enable popups. Only tested in chrome.
View yammer-group-download-all-images.js
# How to use:
1. Navigate to the files tab (
2. Press F12.
3. Paste script in console and run it.
4. Enjoy downloading files!
# Not working?
1. Enable popups