Chrome URL Interceptor
4 views
c9de6e03...
Description
Script to instantly display current tab URL on Chrome Android (Suitable for fast URL capturing). Buy me a coffee: https://www.buymeacoffee.com/raphaelQ
How to Use
Download the script and run it with Frida CLI:
Download ScriptThen run with Frida:
frida -U -f YOUR_PACKAGE_NAME -l chrome-url-interceptor.js
Replace YOUR_PACKAGE_NAME with the target app's package name.
Source Code
JavaScript
Java.perform(function () {
let Tab = Java.use("org.chromium.chrome.browser.tab.Tab");
let previousUrl = null;
Tab["getUrl"].implementation = function () {
let result = this["getUrl"]();
if (result !== previousUrl) {
console.log(`Current URL: ${result}`);
previousUrl = result;
}
return result;
};
});
Comments