Welcome to FarJS — remote debugging for JavaScript, HTML, and CSS.
  1) Open FarJS on your mobile device and pair this console using the same passphrase.
  2) Press Alt+Enter (Mac: Option+Enter) to send the current command instantly.
  3) Use Alt+Up/Alt+Down (Mac: Option+Up/Option+Down) to navigate command history.
  - Need a walkthrough? Open the About tab for full documentation.

Live Events 0 / 0
Start event stream to see page interactions from the connected device.
Once connected to the remote-debugging device, you will see generated source code here.

FarJS 2.0 — Documentation

Remote JavaScript, HTML & CSS debugger for any device — no cables, no native tools required.

110%

How it works

FarJS acts as a relay between your mobile device and this desktop console. Inject FarJS into the target page, pair with a passphrase, and run JavaScript, inspect the DOM, and monitor events in real time.

A
Debug Proxy — fastest setup

Open farjs.net/proxy on your device, enter the URL to debug, and tap Start Debugging. No installation needed.

⚠ The page runs inside the farjs.net origin — cross-domain API calls may be blocked. Use the bookmarklet for full functionality.
B
Bookmarklet — recommended

Install the FarJS Injector bookmarklet once. Activate it on any site — including native app webviews — for unrestricted debugging on the real origin.

Quick Start

1
Connect your device. Open farjs.net/proxy (Method A) or activate the bookmarklet on any site (Method B). When prompted, enter a unique passphrase — e.g. myapp_4821.
2
Pair in this console. Click the Passphrase button and send:
:passphrase myapp_4821
You will see Handshake successful in the log when connected.
3
Start debugging. Type any JavaScript and press Alt+Enter. Results appear instantly.
document.titledocument.body.style.background = 'hotpink'alert('Hello from FarJS!')

Console Tabs

JS Console

Execute any JavaScript on the remote device. Supports multi-line code, command history, and real-time output.

HTML Elements

Browse the live DOM tree. Select elements to edit their HTML structure or CSS properties inline.

Events

Monitor DOM events fired on the remote device in real time — clicks, inputs, custom events, and more.

Source Code

View the live generated HTML source — the actual DOM state, not the original file.

Keyboard Shortcuts

Alt+Enter
Send command to device
Alt+
Previous command in history
Alt+
Next command in history

Installing the Bookmarklet

Desktop: Go to farjs.net/bookmarklets and drag the FarJS Injector button to your bookmarks bar.

iPhone / iPad:

  1. Open farjs.net/bookmarklets on the device and tap Copy Code.
  2. Bookmark any page (tap Share → Add Bookmark).
  3. Open Bookmarks → Edit → tap the bookmark you just created.
  4. Delete the URL field and paste the copied code. Tap Done.
  5. Navigate to any site, open Bookmarks and tap FarJS Injector.

FAQ

Does FarJS work inside native app WebViews?

Yes. Install the bookmarklet in the device browser, open the webview URL in that browser and activate the bookmarklet to inject FarJS.

Does it work on Android?

Yes — tested on Chrome for Android. The bookmarklet install steps differ slightly from iOS. Search “add bookmarklet on Android Chrome” for device-specific instructions.

My connection keeps dropping — why?

Passphrases are shared across all users. If someone else uses the same passphrase, both connections collide. Use a long unique string — e.g. yourname_project_7731.

The proxy breaks site API calls — why?

The proxy runs the page inside the farjs.net origin, so cross-domain API calls relying on the original cookies or CORS headers will fail. Use the bookmarklet on the real URL instead.

Can I run multi-line scripts?

Yes — the prompt is a textarea. Write as many lines as needed, then press Alt+Enter to execute the entire block at once.

FarJS  ·  Remote JavaScript, CSS & HTML debugger  ·  toni.nichev@gmail.com