FORUMS
Remove All Ads from XDA

[XPOSED][MOD][4.0.3+] Firefox Tablet Mode

31 posts
Thanks Meter: 23
 
By defkev, Member on 1st March 2019, 02:21 AM
Post Reply Email Thread
Force Firefox (including Beta, Aurora and Fennec) and Tor to start in tablet mode on phones and phone mode on tablets.


Phone:

Tablet:



The same can be accomplished by changing the display size which has the caveat of affecting the entire phone/tablet.

To disable/enable tabs enable Disable Tablet Mode or Disable Phone Mode
This is for people who just want to use one or more of the other features without changing the interface.

Some pages might show their desktop version on a tablet, to get around this enable Report Mobile User Agent or disable Report Tablet User Agent respectively. Disabling phone/tablet mode will disable this feature.

Request Desktop Site to explicitly request the desktop version by default.

Start in Private Mode will start Firefox with a private tab.

Enable Full Actionbar to get the full action bar (w/ back/forward & reload button depending on mode)
Note that this can make the address bar illegible and even cause Firefox to crash when rotating the phone or closing tabs if there isn't enough space to draw everything (inflation exception), thus Experimental.

Set Screen Density to change the DPI of Firefox, lower this to improve usability of the Full Actionbar on small screen.
Set to 0 or nothing to restore the default value.

Download either directly from the Xposed Module Repository or through the Xposed Installer (search for Firefox Tablet)

Changelog:
  • 0.4.1 - Fix for v68
  • 0.4.0 - Don't alter density if 0
  • 0.3.5 - Fix density resets on activity pause/resume
  • 0.3.4 - Add option to change Screen Density
  • 0.3.3 - Add option to disable phone/tablet mode and Add support for Tor (Alpha)
  • 0.3.2 - Version bump
  • 0.3.1 - Add tablet support
  • 0.3.0 - Open queued tabs in Private Mode and Stay in Private Mode if last private tab is closed, if enabled
  • 0.2.2 - Open external tabs in private mode, if enabled
  • 0.2.1 - Improve stability with Tablet Actionbar enabled
  • 0.2.0 - Code cleanup and version bump
  • 0.1.4 - Add Request Desktop Site and Start in Private Mode
  • 0.1.3 - Add support for Fennec F-Droid
  • 0.1.2 - Add support for Beta and Nightly (Aurora)
  • 0.1.1 - Lower SDK to 15
  • 0.1.0 - Initial release

XDA:DevDB Information
Firefox Tablet Mode, Xposed for all devices (see above for details)

Contributors
defkev
Xposed Package Name:

Version Information
Status: Beta
Current Stable Version: defkev.xposed.fennec
Current Beta Version: 0.4.1
Beta Release Date: 2019-07-05

Created 2019-03-01
Last Updated 2019-07-04
Attached Thumbnails
Click image for larger version

Name:	Screenshot_1551406277.jpg
Views:	1208
Size:	181.4 KB
ID:	4714543   Click image for larger version

Name:	Screenshot_1551406377.jpg
Views:	1156
Size:	185.8 KB
ID:	4714544   Click image for larger version

Name:	Screenshot_1551406404.jpg
Views:	1130
Size:	182.7 KB
ID:	4714545   Click image for larger version

Name:	Screenshot_1553102759.png
Views:	694
Size:	251.2 KB
ID:	4727818   Click image for larger version

Name:	Screenshot_1553102896.png
Views:	672
Size:	240.6 KB
ID:	4727819   Click image for larger version

Name:	Screenshot_1553102919.png
Views:	660
Size:	245.1 KB
ID:	4727820   Click image for larger version

Name:	Screenshot_1554069449.png
Views:	544
Size:	146.8 KB
ID:	4734590  
The Following 9 Users Say Thank You to defkev For This Useful Post: [ View ] Gift defkev Ad-Free
1st March 2019, 04:41 PM |#2  
zipsu's Avatar
Senior Member
Thanks Meter: 38
 
More
Great little module, makes it easier to multitask between several tabs.
3rd March 2019, 10:40 PM |#4  
OP Member
Thanks Meter: 23
 
More
This should be straight forward considering its the same code base.
Let me take a look.
The Following 2 Users Say Thank You to defkev For This Useful Post: [ View ] Gift defkev Ad-Free
4th March 2019, 12:31 AM |#5  
Member
Montpellier
Thanks Meter: 6
 
More
I have been hoping for such a mod for years!

I use the fdroid version of firefox https://f-droid.org/en/packages/org....fennec_fdroid/

It's called fennec although I don't think it's the same as fennec on the play store

I hope you'll make it compatible!

But in any case, thank you for this mod
4th March 2019, 04:02 PM |#6  
OP Member
Thanks Meter: 23
 
More
Quote:
Originally Posted by Bipo

I have been hoping for such a mod for years!

I use the fdroid version of firefox https://f-droid.org/en/packages/org....fennec_fdroid/

It's called fennec although I don't think it's the same as fennec on the play store

I hope you'll make it compatible!

But in any case, thank you for this mod

Done
The Following User Says Thank You to defkev For This Useful Post: [ View ] Gift defkev Ad-Free
4th March 2019, 04:17 PM |#7  
zipsu's Avatar
Senior Member
Thanks Meter: 38
 
More
I tried to update it and it says "app not installed", so I tried to uninstall the older version and install the newer one, now I can't install any version at all. Also every time you updated, xposed installer seems to think it and every other version is "installed". Odd. Dalvik wipes and cache clears don't seem to help.

Edit: I managed to get it working by resigning it with zipsigner, so you must be messing up version management somehow, since I don't have issues with other modules great module though.
4th March 2019, 04:52 PM |#8  
Alexey71's Avatar
Senior Member
Thanks Meter: 841
 
Donate to Me
More
Good work latest build.
Can u add setting to always open the pc version of the site, not the mobile one? Or so that the tick does not reset "request desktop site"
4th March 2019, 04:53 PM |#9  
OP Member
Thanks Meter: 23
 
More
Quote:
Originally Posted by zipsu

I tried to update it and it says "app not installed", so I tried to uninstall the older version and install the newer one, now I can't install any version at all. Also every time you updated, xposed installer seems to think it and every other version is "installed". Odd. Dalvik wipes and cache clears don't seem to help.

Edit: I managed to get it working by resigning it with zipsigner, so you must be messing up version management somehow, since I don't have issues with other modules great module though.

Strange as it works for me.
I use major.minor.patch as versionName tracked by commit
Maybe that isn't to the repos liking.

Edit:
Yeah looks like my build script somehow failed to bump the versionCode :/
4th March 2019, 05:07 PM |#10  
Member
Montpellier
Thanks Meter: 6
 
More
Quote:
Originally Posted by defkev

Done

It works beautifully. Thanks a ton!
5th March 2019, 07:37 PM |#11  
OP Member
Thanks Meter: 23
 
More
Quote:
Originally Posted by Alexey71

Good work latest build.
Can u add setting to always open the pc version of the site, not the mobile one? Or so that the tick does not reset "request desktop site"

Added along with an option to start in Private Mode.
The Following User Says Thank You to defkev For This Useful Post: [ View ] Gift defkev Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes