Skip to content

Instantly share code, notes, and snippets.

@conraddecker
Created November 25, 2011 22:38
Show Gist options
  • Select an option

  • Save conraddecker/1394585 to your computer and use it in GitHub Desktop.

Select an option

Save conraddecker/1394585 to your computer and use it in GitHub Desktop.
(function(b,c,h,i,g,e,f,d){if(!b[h]||i>b[h].fn.jquery){f=c.documentElement.childNodes[0];d=c.createElement("script");d.type="text/javascript";d.src="https://ajax.googleapis.com/ajax/libs/jquery/"+i+"/jquery.min.js";f.appendChild(d);e=g;g=function($,L){$(d).remove();e($,L)}}(function a($){($=b[h])&&i<=$.fn.jquery?g(f?$.noConflict(1):$,!!f):setTimeout(a,50)})()})(window,document,"jQuery","1.4.4",function($,L){
$("div.Project a:contains('Order #')").each(function(){
url = "https://myaccounturl.basecamphq.com"+$(this).attr("href")+"/project/delete_project"
$.post(url);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment