Created
March 5, 2021 07:02
-
-
Save royling/aeff82a0cca9a300ba72f43c51bf8f5e to your computer and use it in GitHub Desktop.
Revisions
-
royling created this gist
Mar 5, 2021 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ // Copy and save the script as a predefined snippet in Chrome Devtools // Run it to proceed to an insecured website if blocked by Chrome // See how to use snippets: https://developers.google.com/web/tools/chrome-devtools/javascript/snippets (function() { const link = document.querySelector('#proceed-link'); if (link && link.tagName.toLowerCase() === 'a') { link.click(); } else if ( typeof sendCommand === "function" && SecurityInterstitialCommandId && SecurityInterstitialCommandId.CMD_PROCEED ) { sendCommand(SecurityInterstitialCommandId.CMD_PROCEED); } })();