X
Tap here to go to the mobile version of the site.

Support Forum

Google Play Books is not working well after trying ArchWiki "Firefox on RAM"

Posted

Dear Sirs,

I tried to improve Firefox performance by following the steps at https://wiki.archlinux.org/index.php/Firefox_on_RAM

In brief,

   open about:config in the address bar
   set browser.cache.disk.enable to "false" (double click the line)
   verify that browser.cache.memory.enable is set to "true" (default value)
   add the entry (right click->new->integer) browser.cache.memory.capacity and set it to the amount of KB you'd like to spare, or to -1 for automatic cache size selection. (Skipping this step has the same effect as setting the value to -1.) [I skipped]
   profile backup using tar zcvfp ~/firefox_profile_backup.tar.gz ~/.mozilla/firefox/xyz.default
   creation of a script:

firefox-sync

  1. !/bin/sh

static=main link=xyz.default volatile=/dev/shm/firefox-$USER

IFS= set -efu

cd ~/.mozilla/firefox

if [ ! -r $volatile ]; then mkdir -m0700 $volatile fi

if [ "$(readlink $link)" != "$volatile" ]; then mv $link $static ln -s $volatile $link fi

if [ -e $link/.unpacked ]; then rsync -av --delete --exclude .unpacked ./$link/ ./$static/ else rsync -av ./$static/ ./$link/ touch $link/.unpacked fi

First execution of the script: $ killall firefox firefox-bin $ chmod +x ~/bin/firefox-sync $ ~/bin/firefox-sync

Script calling every login and logout: echo '~/bin/firefox-sync' | tee -a ~/.bash_logout ~/.bash_profile >/dev/null

After this Google Play Books fails with the error:

Can't open book

To read books on Google Play, set your web browser to allow cookies for books.googleusercontent.com. Learn more

Firefox

   Open Firefox.
   Click on the Firefox menu > Preferences > Privacy.
   Under “History,” select Use custom settings for history.
   Next to “Accept cookies from site,” click Exceptions.
   Under “Address of website,” type books.googleusercontent.com.
   Click Allow.

Did that many times. Kept failing. Restored the first setting set browser.cache.disk.enable to true again. Kept failing. Loaded again the cookie exeption for playbooks. Worked.

Then I restored the disk.enable setting to false, and since that Google Play Books won't work anymore with either setting, cookie exeption or anything.

I'll apreciate any guideline before the profile deletion; or if it helps you to improve Firefox I'll be glad to help.

Regards,

Nicolás Adamo

Dear Sirs, I tried to improve Firefox performance by following the steps at https://wiki.archlinux.org/index.php/Firefox_on_RAM In brief, open about:config in the address bar set browser.cache.disk.enable to "false" (double click the line) verify that browser.cache.memory.enable is set to "true" (default value) add the entry (right click->new->integer) browser.cache.memory.capacity and set it to the amount of KB you'd like to spare, or to -1 for automatic cache size selection. (Skipping this step has the same effect as setting the value to -1.) [I skipped] profile backup using tar zcvfp ~/firefox_profile_backup.tar.gz ~/.mozilla/firefox/xyz.default creation of a script: firefox-sync #!/bin/sh static=main link=xyz.default volatile=/dev/shm/firefox-$USER IFS= set -efu cd ~/.mozilla/firefox if [ ! -r $volatile ]; then mkdir -m0700 $volatile fi if [ "$(readlink $link)" != "$volatile" ]; then mv $link $static ln -s $volatile $link fi if [ -e $link/.unpacked ]; then rsync -av --delete --exclude .unpacked ./$link/ ./$static/ else rsync -av ./$static/ ./$link/ touch $link/.unpacked fi First execution of the script: $ killall firefox firefox-bin $ chmod +x ~/bin/firefox-sync $ ~/bin/firefox-sync Script calling every login and logout: echo '~/bin/firefox-sync' | tee -a ~/.bash_logout ~/.bash_profile >/dev/null After this Google Play Books fails with the error: Can't open book To read books on Google Play, set your web browser to allow cookies for books.googleusercontent.com. Learn more Firefox Open Firefox. Click on the Firefox menu > Preferences > Privacy. Under “History,” select Use custom settings for history. Next to “Accept cookies from site,” click Exceptions. Under “Address of website,” type books.googleusercontent.com. Click Allow. Did that many times. Kept failing. Restored the first setting set browser.cache.disk.enable to true again. Kept failing. Loaded again the cookie exeption for playbooks. Worked. Then I restored the disk.enable setting to false, and since that Google Play Books won't work anymore with either setting, cookie exeption or anything. I'll apreciate any guideline before the profile deletion; or if it helps you to improve Firefox I'll be glad to help. Regards, Nicolás Adamo

Additional System Details

Installed Plug-ins

  • Version: 5.41.0.0
  • The IcedTea-Web Plugin executes Java applets.
  • Shockwave Flash 11.2 r202
  • Mime Type x-skype for Skype Buttons

Application

  • Firefox 47.0.1
  • User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0
  • Support URL: https://support.mozilla.org/1/firefox/47.0.1/Linux/en-US/

Extensions

  • EPUBReader 1.5.0.8 ({5384767E-00D9-40E9-B72F-9CC39D655D6F})
  • Firefox Hello 1.3.2 (loop@mozilla.org)
  • Multi-process staged rollout 1.0 (e10srollout@mozilla.org)
  • Pocket 1.0.2 (firefox@getpocket.com)
  • Inbox™ Notifier 0.1.7 (jid1-uqsEZwSqa1FZUc@jetpack) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: X.Org -- Gallium 0.4 on AMD KAVERI (DRM 2.43.0 / 4.6.4-1-ARCH, LLVM 3.8.0)
  • adapterDeviceID: Gallium 0.4 on AMD KAVERI (DRM 2.43.0 / 4.6.4-1-ARCH, LLVM 3.8.0)
  • adapterDrivers:
  • adapterRAM:
  • adapterVendorID: X.Org
  • driverDate:
  • driverVersion: 3.0 Mesa 12.0.1
  • info: {u'AzureCanvasAccelerated': 0, u'AzureCanvasBackend': u'cairo', u'AzureFallbackCanvasBackend': u'none', u'CairoUseXRender': 0, u'AzureContentBackend': u'cairo'}
  • numAcceleratedWindows: 0
  • numAcceleratedWindowsMessage: [u'']
  • numTotalWindows: 1
  • supportsHardwareH264: No
  • webglRenderer: X.Org -- Gallium 0.4 on AMD KAVERI (DRM 2.43.0 / 4.6.4-1-ARCH, LLVM 3.8.0)
  • windowLayerManagerRemote: True
  • windowLayerManagerType: Basic

Modified Preferences

Misc

  • User JS: No
  • Accessibility: No
alex_mayorga
  • Moderator
376 solutions 2935 answers

¡Hola Nicolás!

The Refresh feature (called "Reset" in older Firefox versions) can fix many issues by restoring Firefox to its factory default state while saving your bookmarks, history, passwords, cookies, and other essential information.

Note: When you use this feature, you will lose any extensions, toolbar customizations, and some preferences. See the Refresh Firefox - reset add-ons and settings article for more information.

To Refresh Firefox:

  1. Open the Troubleshooting Information page using one of these methods:
    • Click the menu button New Fx Menu , click help Help-29 and select Troubleshooting Information. A new tab containing your troubleshooting information should open.
    • If you're unable to access the Help menu, type about:support in your address bar to bring up the Troubleshooting Information page.
  2. At the top right corner of the page, you should see a button that says "Refresh Firefox" ("Reset Firefox" in older Firefox versions). Click on it.
  3. Firefox will close. After the refresh process is completed, Firefox will show a window with the information that is imported.
  4. Click Finish and Firefox will reopen.

Did this fix the problem? Please report back to us!

¡Gracias!

¡Hola Nicolás! The Refresh feature (called "Reset" in older Firefox versions) can fix many issues by restoring Firefox to its factory default state while saving your bookmarks, history, passwords, cookies, and other essential information. '''''Note:''' When you use this feature, you will lose any extensions, toolbar customizations, and some preferences.'' See the [[Refresh Firefox - reset add-ons and settings]] article for more information. To Refresh Firefox: # Open the Troubleshooting Information page using one of these methods: #*Click the menu button [[Image:New Fx Menu]], click help [[Image:Help-29]] and select ''Troubleshooting Information''. A new tab containing your troubleshooting information should open. #*If you're unable to access the Help menu, type '''about:support''' in your address bar to bring up the Troubleshooting Information page. #At the top right corner of the page, you should see a button that says "Refresh Firefox" ("Reset Firefox" in older Firefox versions). Click on it. #Firefox will close. After the refresh process is completed, Firefox will show a window with the information that is imported. #Click Finish and Firefox will reopen. Did this fix the problem? Please report back to us! ¡Gracias!