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
// Paste this into the js console of your browser whilst viewing the Luca webapp | |
(function() { | |
var originalFetch = fetch; | |
window.fetch = (url, options) => { | |
if(url === '/api//v3/sms/request') { | |
console.log('hooked fetch', url, options); | |
return Promise.resolve({ | |
json: () => Promise.resolve({ | |
challengeId: '00000000-0000-0000-0000-000000000000', | |
}) |