X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

How to force focus last focused HTML input element when going back in history with backspace?

Kuphostiwe

SUMMARY: I am a Firefox user with HTML knowledge. I want to be able to configure Firefox to behave in a special manner when I hit backspace. It's something that Firefox already does, BUT NOT ALWAYS. I don't know why it behaves differently in different situations for no apparent reason. I want to be able to configure firefox to ALWAYS behave in the manner I want to. Read below for the precise description.

When I fill a FORM in a page, wether POST or GET, and press ENTER, it obviously acts as expected: submits the data and brings me to a new page. When I get to the new page, and I press BACKSPACE, Firefox behaves in sometimes like TYPE 1 and sometimes like TYPE 2 (see below), and I can't predict which one he will choose. I want to be able to configure it to behave ALWAYS like TYPE 2.

TYPE 1 - Firefox reloads the previous page, as if I just entered it for the first time.

TYPE 2 - Firefox brings me back to the exact same page view I had before pressing ENTER to submit the FORM. 2.1 - It doesn't reload the page; 2.2 - It places the page in the same scrolled position I was before (for example, if I scrolled to the bottom of the page to fill the FORM and press enter, after pressing backspace it brings me to the bottom of the page again; 2.3 - It automatically focus the HTML input element I last typed (the element that was focused at the very moment I pressed ENTER to submit the FORM).

So, I want to be able to configure Firefox for it to ALWAYS BEHAVE LIKE TYPE 2 whenever I fill a HTML FORM, press ENTER and press backspace after going to the new page. All three details I gave are important. Remember that I've already experienced TYPE 2 in previous versions of Firefox, I just wish to FORCE IT to behave like that ALWAYS (because for no apparent reason, sometimes it behaves like TYPE 1 instead).

Please let me know if that's possible, and if not, I would really THANK YOU ALL FOREVER if you add this feature to the next version.

SUMMARY: I am a Firefox user with HTML knowledge. I want to be able to configure Firefox to behave in a special manner when I hit backspace. It's something that Firefox already does, BUT NOT ALWAYS. I don't know why it behaves differently in different situations for no apparent reason. I want to be able to configure firefox to ALWAYS behave in the manner I want to. Read below for the precise description. When I fill a FORM in a page, wether POST or GET, and press ENTER, it obviously acts as expected: submits the data and brings me to a new page. When I get to the new page, and I press BACKSPACE, Firefox behaves in sometimes like TYPE 1 and sometimes like TYPE 2 (see below), and I can't predict which one he will choose. I want to be able to configure it to behave ALWAYS like TYPE 2. TYPE 1 - Firefox reloads the previous page, as if I just entered it for the first time. TYPE 2 - Firefox brings me back to the exact same page view I had before pressing ENTER to submit the FORM. 2.1 - It doesn't reload the page; 2.2 - It places the page in the same scrolled position I was before (for example, if I scrolled to the bottom of the page to fill the FORM and press enter, after pressing backspace it brings me to the bottom of the page again; 2.3 - It automatically focus the HTML input element I last typed (the element that was focused at the very moment I pressed ENTER to submit the FORM). So, I want to be able to configure Firefox for it to ALWAYS BEHAVE LIKE TYPE 2 whenever I fill a HTML FORM, press ENTER and press backspace after going to the new page. All three details I gave are important. Remember that I've already experienced TYPE 2 in previous versions of Firefox, I just wish to FORCE IT to behave like that ALWAYS (because for no apparent reason, sometimes it behaves like TYPE 1 instead). Please let me know if that's possible, and if not, I would really THANK YOU ALL FOREVER if you add this feature to the next version.

Eminye Imininingwane Yohlelo

Fakela amapulagi

  • Shockwave Flash 12.0 r0
  • Adobe PDF Plug-In For Firefox and Netscape 11.0.06
  • Garena Talk Plugin
  • Next Generation Java Plug-in 10.9.2 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • NPWLPG

Isisebenziso

  • Firefox 29.0
  • Umsebenzisi oyi-ejenti: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
  • I-URL Yokweseka: https://support.mozilla.org/1/firefox/29.0/WINNT/pt-BR/

Izandiso

  • Skype Click to Call 7.2.15747.10003 ({82AF8DCA-6DE9-405D-BD5E-43525BDAD38A})
  • Troubleshooter 1.1a (troubleshooter@mozilla.org)
  • AVG Do Not Track 12.0.0.2189 ({F53C93F1-07D5-430c-86D4-C9531B27DFAF}) (Akusebenzi)
  • AVG Safe Search 12.0.0.2222 ({1E73965B-8B48-48be-9C8D-68B920ABC1C4}) (Akusebenzi)

I-Javascript

  • incrementalGCEnabled: True

Imidwebo

  • adapterDescription: Mobile Intel(R) 4 Series Express Chipset Family
  • adapterDescription2:
  • adapterDeviceID: 0x2a42
  • adapterDeviceID2:
  • adapterDrivers: igdumd64 igd10umd64 igdumdx32 igd10umd32
  • adapterDrivers2:
  • adapterRAM: Unknown
  • adapterRAM2:
  • adapterVendorID: 0x8086
  • adapterVendorID2:
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 6.1.7601.17789
  • driverDate: 8-25-2010
  • driverDate2:
  • driverVersion: 8.15.10.2202
  • driverVersion2:
  • info: {u'AzureCanvasBackend': u'direct2d', u'AzureFallbackCanvasBackend': u'cairo', u'AzureContentBackend': u'direct2d', u'AzureSkiaAccelerated': 0}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • webglRenderer: Google Inc. -- ANGLE (Mobile Intel(R) 4 Series Express Chipset Family Direct3D9Ex vs_3_0 ps_3_0)
  • windowLayerManagerRemote: False
  • windowLayerManagerType: Direct3D 10

Okuthandwayo Okulungisiwe

  • accessibility.typeaheadfind.flashBar: 0
  • browser.cache.disk.capacity: 358400
  • browser.cache.disk.smart_size.first_run: False
  • browser.cache.disk.smart_size.use_old_max: False
  • browser.cache.disk.smart_size_cached_value: 358400
  • browser.places.smartBookmarksVersion: 6
  • browser.sessionstore.upgradeBackup.latestBuildID: 20140421221237
  • browser.startup.homepage: http://ejohn.org/apps/learn/|http://javascript.crockford.com/private.html|http://stackoverflow.com/questions/55611/javascript-private-methods|http://webreflection.blogspot.com.br/2008/04/natural-javascript-private-methods.html
  • browser.startup.homepage_override.buildID: 20140421221237
  • browser.startup.homepage_override.mstone: 29.0
  • dom.mozApps.used: True
  • extensions.lastAppVersion: 29.0
  • font.internaluseonly.changed: False
  • gfx.direct3d.last_used_feature_level_idx: 1
  • network.cookie.prefsMigrated: True
  • places.database.lastMaintenance: 1398985122
  • places.history.expiration.transient_current_max_pages: 79506
  • plugin.disable_full_page_plugin_for_types: application/pdf
  • plugin.importedState: True
  • plugin.state.npauthz: 1
  • plugin.state.npctrl: 1
  • plugin.state.npspwrap: 1
  • plugin.state.npwlpg: 1
  • privacy.sanitize.migrateFx3Prefs: True
  • storage.vacuum.last.index: 1
  • storage.vacuum.last.places.sqlite: 1396913884

Misc

  • Umsebenzisi JS: Cha
  • Ukufinyeleleka: Cha
guigs 1072 izisombululo 11697 izimpendulo
Kuphostiwe

What is the value for "browser.formfill.enable" in the about config page?

Reference: http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entrie...

Or you can try this add on Lazarus form recovery

What is the value for "browser.formfill.enable" in the about config page? Reference: [http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entries] Or you can try this add on [https://addons.mozilla.org/en-US/firefox/addon/lazarus-form-recovery/?src=ss Lazarus form recovery]

Okulungisiwe ngu guigs

Umnikazi wombuzo

It's set to true.

I saw the add on you suggested, but it does not fulfill my needs.

I like the behavior exactly as I said because, after submitting the form, I want to be able to look something in the new page and quickly get back to the form, change the text I wrote in the input element and submit it again, in a matter of one or two seconds only...

I was able to do that whenever firefox behaved like TYPE 2 (explained above)...

Thanks for the reply but didn't solve my problem yet...

It's set to true. I saw the add on you suggested, but it does not fulfill my needs. I like the behavior exactly as I said because, after submitting the form, I want to be able to look something in the new page and quickly get back to the form, change the text I wrote in the input element and submit it again, in a matter of one or two seconds only... I was able to do that whenever firefox behaved like TYPE 2 (explained above)... Thanks for the reply but didn't solve my problem yet...
jscher2000
  • Top 10 Contributor
8789 izisombululo 71880 izimpendulo
Kuphostiwe

Websites can prevent you from going "back" to where you left off in a page in a number of ways, including instructing Firefox not to cache the page and/or creating a script in the page that detects a redisplay and reloads the page. If this is the cause of your TYPE 1 experience, it is difficult to prevent.

Can you give an example of a TYPE 1 form (address to the page)?

Websites can prevent you from going "back" to where you left off in a page in a number of ways, including instructing Firefox not to cache the page and/or creating a script in the page that detects a redisplay and reloads the page. If this is the cause of your TYPE 1 experience, it is difficult to prevent. Can you give an example of a TYPE 1 form (address to the page)?