Skip to content

[GUIDE] How to install Betterfox on Android Firefox using adb #240

@gunir

Description

@gunir
  1. Install adb: https://www.xda-developers.com/install-adb-windows-macos-linux/

  2. Connect your Android device to your PC using cable, if success you'll be able to see something like this if you type adb devices and Enter:
    image

  3. Enable Remote Debugging via USB in Android Firefox's Settings:
    image

  4. From Firefox PC, type about:debugging and Enter, you'll see your Android device in the list, choose Connect:
    image

  5. And open your device and you'll see all the opening tabs:
    image

  6. Open about:support in your Firefox Android

  7. Inspect the about:support tab from your Firefox PC, you will see this console screen:
    image

  8. Paste this code to the console:



var user_pref = function(pref, val){

  try {
    if(typeof val == "string"){

         Services.prefs.setStringPref(pref, val);    
    }
    else if(typeof val == "number"){

         Services.prefs.setIntPref(pref, val);    
    }
    else if(typeof val == "boolean"){

         Services.prefs.setBoolPref(pref, val);    
    }
  } catch(e){
    console.log("pref:" + pref + " val:" + val + " e:" + e);
  }
}
//paste your user.js file content here


  1. Now the final step, copy Betterfox's code, for example Fasterfox and replace //paste your user.js file content here then Enter.

  2. You're done. Check about:config to see result.

This guide was written by a Vietnamese Firefox user with nickname @ndv92, this is the original post: https://voz.vn/t/tong-hop-nhung-addon-chat-cho-firefox-pc-mobile.682181/post-27739740

This Vietnamese thread is surprisingly deep about Firefox, but there's a lot of slangs so Google Translate won't make it.

None was written by me, I just translate it to English, literally.

Thanks for reading,
And thank @yokoffing for making and maintaining Betterfox.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions