Last active
August 25, 2021 05:54
-
-
Save v1c77/184b9a2d7aa8f94e4df2b8c67c2186e5 to your computer and use it in GitHub Desktop.
bypass chrome or edge NET::ERR_CERT_AUTHORITY_INVALID NET::ERR_CERT_INVALID certificate warning
This file contains 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
-- | |
-- Created by: v1c77 | |
-- Created on: 2021/8/22 | |
-- | |
-- DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
-- Version 2, December 2004 | |
-- Copyright (C) 2021 v1c77 | |
-- Everyone is permitted to copy and distribute verbatim or modified | |
-- copies of this license document, and changing it is allowed as long | |
-- as the name is changed. | |
-- DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
-- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | |
-- 0. You just DO WHAT THE FUCK YOU WANT TO. | |
-- This script can bypass the error `NET::ERR_CERT_AUTHORITY_INVALID` and `NET::ERR_CERT_INVALID` in your browser. | |
-- 1. Build this script with the "Script Editor" and export as a application. | |
-- 2. open System Preferences -> Security & Privacy -> Accessibility and add the new app to the list. | |
-- 3. bind a keyboard shortcut at System Preferences -> Keyboard -> Shortcuts -> Services -> Gernal -> Your App | |
tell application "System Events" | |
set visible of (first application process whose frontmost is true) to false | |
set textBuf to " thisisunsafe" | |
tell application "System Events" | |
repeat with i from 1 to count characters of textBuf | |
keystroke (character i of textBuf) | |
delay 0.03 | |
end repeat | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment