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
tell application "Safari" | |
activate | |
tell application "System Events" | |
keystroke "f" using {control down, command down} | |
end tell | |
repeat | |
try | |
delay 60 -- 60 seconds | |
set URL of document of window 1 to URL of document of window 1 |
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
function decrypt(token) { | |
var password = pm.environment.get('YOUR_PASSWORD_ENV_VARIABLE_NAME'); | |
var iterations = 1; | |
var keySize = 256; | |
var parts = token.split('*'); | |
var encryptionSalt = parts[2]; | |
var encryptionIv = parts[3]; | |
var encryptedB64 = parts[4]; |