Skip to content

Instantly share code, notes, and snippets.

@buzzedword
Created July 11, 2011 16:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save buzzedword/1076184 to your computer and use it in GitHub Desktop.
Save buzzedword/1076184 to your computer and use it in GitHub Desktop.
Default Circles
(function($){
var ns = {};
ns.snoop = function(defaultStreamID){
if (window.location.pathname == "/"){
window.location = "https://plus.google.com/stream/cicles/" + defaultStreamID;
} else {
//
}
};
$(window).ready(function(){
ns.snoop('p1e259fe30f57e57d'); //This is my "Friends" circle.
});
}(jQuery));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment