Skip to content

Instantly share code, notes, and snippets.

Clayton Herendeen ka05

  • Envative
  • United States
Block or report user

Report or block ka05

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ka05 / momentum_background_fetcher_script.js
Created Mar 27, 2017
Script to obtain background image from chrome extension called momentum
View momentum_background_fetcher_script.js
// If you have the chrome extension, called momentum you will notice the background changes daily and you may want to save these backgrounds
// Below is the link to this chrome extension.
// You can use this simple code to get the background image.
var backgroundString = $('#background').find('li').attr('style');
var backgroundURL = backgroundString.substring(backgroundString.indexOf("(")+2, backgroundString.indexOf(")")-1);
window.location = backgroundURL;
You can’t perform that action at this time.