Skip to content

Instantly share code, notes, and snippets.

@cwarden
Last active December 22, 2015 04:19
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 cwarden/6416375 to your computer and use it in GitHub Desktop.
Save cwarden/6416375 to your computer and use it in GitHub Desktop.
A bookmarklet to toggle between all components and new components in Salesforce's packaging page. Visit http://jsfiddle.net/cwarden/Vzm2s/embedded/result/ for link to drag to bookmark bar.
javascript:(function(e,a,g,h,f,c,b,d){if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){c=a.createElement("script");c.type="text/javascript";c.src="//ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js";c.onload=c.onreadystatechange=function(){if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){h((f=e.jQuery).noConflict(1),b=1);f(c).remove()}};a.documentElement.childNodes[0].appendChild(c)}})(window,document,"1.8.3",function($,L){(function() { if ($('.dataRow:hidden').length) { $('.dataRow').show(); } else { $('.dataRow').hide(); $('.dataRow td:nth-child(7):empty').add('.dataRow td:nth-child(7):contains("N/A")').parent(':has(td:nth-child(8):empty)').show(); }})()});
javascript:(function(e,a,g,h,f,c,b,d){if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){c=a.createElement("script");c.type="text/javascript";c.src="//ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js";c.onload=c.onreadystatechange=function(){if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){h((f=e.jQuery).noConflict(1),b=1);f(c).remove()}};a.documentElement.childNodes[0].appendChild(c)}})(window,document,"1.8.3",function($,L){(function() {
if ($('.dataRow:hidden').length) {
$('.dataRow').show();
} else {
$('.dataRow').hide();
$('.dataRow td:nth-child(7):empty')
.add('.dataRow td:nth-child(7):contains("N/A")')
.parent(':has(td:nth-child(8):empty)')
.show();
}
})()});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment