Created
August 24, 2015 14:14
-
-
Save thyngster/5f00cf4d4b89cc718e76 to your computer and use it in GitHub Desktop.
GTM Debug Disabler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.querySelector('iframe[src*="about"]').contentWindow.angular.element(document.querySelector('iframe[src*="about"]').contentWindow.document.querySelector('[ng-app]')).injector().get("$log").debug = function(){}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment