Skip to content

Instantly share code, notes, and snippets.

@dvygolov
Created September 11, 2019 13:55
Show Gist options
  • Save dvygolov/fe3818b0eb7b30aff58e88b1c165a871 to your computer and use it in GitHub Desktop.
Save dvygolov/fe3818b0eb7b30aff58e88b1c165a871 to your computer and use it in GitHub Desktop.
javascript: (function () {
var url = new URL(window.location.href);
var payurl='https://business.facebook.com/ads/manager/accounts/?act='+url.searchParams.get('act')+'&business_id='+url.searchParams.get('business_id');
window.location.href=payurl;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment