Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#list all url requests in chrome browser using Chrome Headless #start chrome headless google-chrome --headless --remote-debugging-port=9222 #run the script below with nodejs nodejs script.js #now open chrome and navigate to page #click on about:blank then type address google-chrome "http://localhost:9222 //STart script// var Chrome = require('chrome-remote-interface'); Chrome(function (chrome) { with (chrome) { Network.requestWillBeSent(function (params) { console.log(params.request.url); }); //Page.loadEventFired(close); Network.enable(); Page.enable(); /* once('ready', function () { Page.navigate({'url': 'https://filmsbykris.com'}); }); */ } }).on('error', function (err) { console.error('Cannot connect to Chrome:', err); });
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)