Ceisteanna leis an gclib seo á dtaispeáint: Taispeáin gach ceist
  • Réitithe
  • Cartlannaithe

how to detect browser back and forward button clicks

I need to know when a visitor to my site is clicking the back or forward button. The reason is I have a "tabstrip" that hilites the currently selected tab and the target … (tuilleadh eolais)

I need to know when a visitor to my site is clicking the back or forward button. The reason is I have a "tabstrip" that hilites the currently selected tab and the target document is displayed in an iframe. If I click the back or forward buttons the page is updated with the last or next document in the iframe, but the tabstrip is not updated to reflect the change. Part of this is due to me not knowing how to update the tabstrip, but also because I don't know how to detect the back or forward buttons being clicked.

So I need to know how to detect those button clicks. Also, in researching this, I noticed that there seems to be an idea that you can't distinguish between the forward and back button, only that a button was clicked. That doesn't make sense given that each button has a specific action that is opposite of the other. I need to know the truth about this.

Finally, as much as I use only Firefox myself, I know there will be others who use other browsers. Is there any difference between detecting the back and forward buttons on other browsers compared to Firefox?

One of the pages I need this for is here

Edit 15 March 2022:

I had to fix the link because I had renamed the page when I finished the work on its layout. Also, since I asked this question I have realized another similar and sort-of related issue on a different page: https://wayneca.neocities.org/WebDesi.../TagList.html. The relation is that the back and forward buttons don't correctly reload the page. The difference is that this one is concerning named links.

When you click a link in the table on the left it correctly moves the document in the right table to the point where the matching id anchor is. But when you click the back or forward button the tables do not shift back to where they were on the page as reloaded. The back and forward buttons work fine if the link anchors and id anchors are not in tables.

I have been told about the history functions, but I have found no examples of using it to correct the issue in either of the above cases. Is someone here able to point me to examples of using the history to make a selected link reset back to where it was or reload a page with the last jump point being reset correctly?

Also, why does the named link thing work without tables but not with tables?

Asked by Wayne 1 bhliain ó shin

Answered by jscher2000 - Support Volunteer 1 bhliain ó shin

  • Réitithe
  • Faoi Ghlas
  • Cartlannaithe

HERE is the answer to put "TABS BELOW" which will work with Firefox V90 using the - userChrome.css - file

HERE IS THE ANSWER Here is the answer to get TABS BELOW with Firefox V90 . . copy all of this code below the broken line into your - userChrome.css - file and save it. Yo… (tuilleadh eolais)

HERE IS THE ANSWER Here is the answer to get TABS BELOW with Firefox V90 . . copy all of this code below the broken line into your - userChrome.css - file and save it. You can modify the 45px in this line if you wish to get an appropriate height . . just experiment with different numbers till you get it right --menubar-height: 45px; /*30px|41px=11px; caption buttons on menubar*/

Also to make the tabs wider or narrower, modify the line which is coded width: 50vw !important;

Finally you must enable - css - in Firefox, by typing about:config into your address bar, and search for toolkit. When all the toolkit options appear change the one which says toolkit.legacyUserProfileCustomizations.stylesheets to TRUE by click the icon in the right hand column. Than close Firefox and reopen, and check how it looks This will enable your - css - file to be read, and interpreted and accepted by the Firefox browser.

-------------------------------------------------------------------
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* TABS: bottom - Firefox 65 and later - updated for 89+ */
/* https://searchfox.org/mozilla-release/source/browser/themes/shared/tabs.inc.css */
/* https://raw.githubusercontent.com/Aris-t2/CustomCSSforFx/master/classic/css/tabs/tabs_below_navigation_toolbar_fx89.css */
/* https://developer.mozilla.org/en-US/docs/Tools/Browser_Toolbox */

/* ROOT - VARS */
/* you can adjust the CSS variables until it looks correct */
/* you can use the Browser Toolbox to get the toolbar heights */

*|*:root {
  --tab-toolbar-navbar-overlap: 0px !important;

  --tab-min-height: 40px !important;
  --tab-min-width:  60px !important;

  --tab-adjust:  0px; /* adjust tab bar - only for 68-73 */
  --tab-caption: 5px; /* caption buttons on tab bar */
}

/* TAB BAR - below nav-bar */
#navigator-toolbox toolbar:not(#nav-bar):not(#toolbar-menubar) {-moz-box-ordinal-group:10 !important;}
#TabsToolbar {-moz-box-ordinal-group:1000 !important;}

#TabsToolbar {
  display: block !important;
  position: absolute !important;
  bottom: 0 !important;
  width: 50vw !important;
}

#tabbrowser-tabs {
  width: 100vw !important;
}

/* navigator-toolbox - PADDING */
*|*:root:not([chromehidden*="toolbar"]) #navigator-toolbox {
  position: relative !important; /*89+*/
  padding-bottom: calc(var(--tab-min-height) + 1px) !important; /*ADJUST*/
  background-color: var(--toolbar-bgcolor) !important;
}

/* TabsToolbar with menubar and titlebar hidden - rules for Firefox 65-73 */
*|*:root[tabsintitlebar]:not([inFullscreen="true"]):not([sizemode="maximized"]) #toolbar-menubar[autohide="true"] ~
 #TabsToolbar{
  bottom: var(--tab-adjust); /*ADJUST*/
}

/* TABS: height */
#tabbrowser-tabs,
#tabbrowser-tabs > .tabbrowser-arrowscrollbox,
.tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
  min-height: var(--tab-min-height) !important;
  max-height: var(--tab-min-height) !important;
}

#TabsToolbar {
  height: var(--tab-min-height) !important;
  margin-bottom: 1px !important;
  box-shadow: ThreeDShadow 0 -1px inset, -moz-dialog 0 1px !important; /*OPTIONAL*/
  background-color: var(--toolbar-bgcolor) !important;
  color:            var(--toolbar-color) !important;
/*  z-index: 1 !important; */
}

/* indicators *//*
*|*:root[privatebrowsingmode=temporary] .private-browsing-indicator {
  position: absolute !important;
  display: block !important;
  right: 0px !important;
  bottom: 0px !important;
  width: 14px !important;
  pointer-events: none !important;
}
*/
.private-browsing-indicator {display: none !important;}
.accessibility-indicator    {display: none !important;}

/* Indicators - HIDE *//*
*|*:root:not([accessibilitymode])             .accessibility-indicator    {display: none !important}
*|*:root:not([privatebrowsingmode=temporary]) .private-browsing-indicator {display: none !important}
*/

/* Drag Space */
.titlebar-spacer[type="pre-tabs"],
.titlebar-spacer[type="post-tabs"] {
  width: 20px !important;
}

/* Override vertical shifts when moving a tab */
#navigator-toolbox[movingtab] > #titlebar > #TabsToolbar {
  padding-bottom: unset !important;
}

#navigator-toolbox[movingtab] #tabbrowser-tabs {
  padding-bottom: unset !important;
  margin-bottom: unset !important;
}

#navigator-toolbox[movingtab] > #nav-bar {
  margin-top: unset !important;
}

/* Hide window-controls and caption buttons on Tab Bar */
#TabsToolbar #window-controls {display: none !important;}
#TabsToolbar .titlebar-buttonbox-container {display: none !important;}

Asked by Trevor George, Bristol, UK 1 bhliain ó shin

Answered by Trevor George, Bristol, UK 1 bhliain ó shin

  • Réitithe
  • Cartlannaithe

Video lagging

Hello, I have issues with Firefox developer version for couple months now, when I play videos, like youtube, or other sites they constantly lag. They play for like 1min a… (tuilleadh eolais)

Hello, I have issues with Firefox developer version for couple months now, when I play videos, like youtube, or other sites they constantly lag. They play for like 1min and lag, continue for another 2min then lag etc etc. (even short videos on twitter lag). It was not like that before and I don't have this problem in other browsers. Does anyone know what can be the problem here? Thanks

Asked by nicaya 1 bhliain ó shin

Answered by Bithiah 1 bhliain ó shin

  • Réitithe
  • Cartlannaithe

XULRunner Error: Could not determine any profile running in backgroundtask mode!

I recently installed new pc with fresh Firefox Developer Edition. Then I transfered the profile folder from old pc to the new pc. All bookmarks, addons, etc is there. Jus… (tuilleadh eolais)

I recently installed new pc with fresh Firefox Developer Edition. Then I transfered the profile folder from old pc to the new pc. All bookmarks, addons, etc is there. Just the XULRunner popup appears only on the new pc. I uninstalled firefox on the new pc again and reinstalled it with profile cleaning. After profile cleaning firefox got faster and addons got removed. But the XULRunner popup keeps appearing. When I go to taskscheduler and trigger the "Firefox Developer Edition Background Update CA9422711AE1A81C" again, the XULRunner popup appears. Removing this taskscheduler and Firefox keeps readding it and the XULRunner popup are back. Any idea how I can get rid of the XULRunner popup?

Asked by simonbergi9 6 mhí ó shin

Answered by simonbergi9 6 mhí ó shin

  • Réitithe
  • Cartlannaithe

Disable tab refresh when switching - no solution

I have tried all of the about:config options to disable the auto-reload of the tabs. I have this working fine on my old machine macbook pro 2015 (same firefox version), b… (tuilleadh eolais)

I have tried all of the about:config options to disable the auto-reload of the tabs. I have this working fine on my old machine macbook pro 2015 (same firefox version), but on the macbook pro 2019 i cannot get it to stop. Any help would be great as I need to switch between tabs during meetings and dont want them to keep relaoding

Asked by dubado 1 bhliain ó shin

Answered by cor-el 1 bhliain ó shin

  • Réitithe
  • Cartlannaithe

YouTube Video GPU Decoding only works in Troubleshooting Mode

I recently upgraded graphics cards from an Nvidia GTX 1080 to an AMD 6900XT. Since then I noticed video stuttering on YouTube while playing 4k videos, especially noticeab… (tuilleadh eolais)

I recently upgraded graphics cards from an Nvidia GTX 1080 to an AMD 6900XT. Since then I noticed video stuttering on YouTube while playing 4k videos, especially noticeable at 4k/60FPS (example video ). Prior to the upgrade, I was not experiencing issues.

I monitored task manager as the video was playing to see CPU usage, which was sitting at 25% (4 core 8 thread CPU). GPU usage was fluctuating from 1-3%.

I tried resetting all the changed configuration options in about:config, removing all add-ons, "Refreshing" Firefox, and ultimately uninstalling and reinstalling. Nothing has worked so far except for "Troubleshooting mode" in about:support. In that mode, I experience no stuttering and GPU usage rises to 25-35% with the video playing, even before I reinstalled.

This most likely isn't a networking issue as the "Stats for nerds" option on the YouTube video shows I have 10-20s of buffer while the video is still stuttering.

I would like to find out what's different about Troubleshooting Mode that is not giving me the same problem while in "Normal Mode". Any advice?

Asked by Jacob 1 bhliain ó shin

Answered by Jacob 1 bhliain ó shin

  • Réitithe
  • Cartlannaithe

Firefox can't play youtube streams

I cannot watch a video on youtube when it is in the process of being live streamed. I remember a time when I was able to, years ago, but I can't any longer. I'm not sure … (tuilleadh eolais)

I cannot watch a video on youtube when it is in the process of being live streamed. I remember a time when I was able to, years ago, but I can't any longer. I'm not sure what has changed. I found an article that says to install the optional update called "Windows Media Pack" in apps and features, but no app with that name exists. It was only a year old solution, so I'm unsure of what changed so significantly. I just installed another optional windows update, and also updated the browser, but still doesn't work.

Edition Windows 10 Home Version 21H2 Installed on ‎09-‎Jun-‎20 OS build 19044.1466 Experience Windows Feature Experience Pack 120.2212.3920.0

Firefox: 97.0 (64-bit)

Asked by tomi.fodor 1 bhliain ó shin

Answered by tomi.fodor 1 bhliain ó shin

  • Réitithe
  • Cartlannaithe

Remove icons from bookmarks toolbar?

I've got a new computer I am setting up from scratch, and though I have set FF to sync settings, I'm still having to customize a lot. My bookmarks toolbar is crowded aga… (tuilleadh eolais)

I've got a new computer I am setting up from scratch, and though I have set FF to sync settings, I'm still having to customize a lot. My bookmarks toolbar is crowded again with icons and I'd like those to go away. I don't mind other icons staying around on the tabs--that does help me navigate faster. I had this set up before, but lost the setting when I refreshed Firefox.

Asked by Foxfree99 1 bhliain ó shin

Answered by jscher2000 - Support Volunteer 1 bhliain ó shin

  • Réitithe
  • Faoi Ghlas
  • Cartlannaithe

89.0b2 Revert new tab design

Today I updated my Firefox Developer Edition to version 89.0b2 and now I just can not look at this browser anymore, "Inspired new tab design" is taking too much space and… (tuilleadh eolais)

Today I updated my Firefox Developer Edition to version 89.0b2 and now I just can not look at this browser anymore, "Inspired new tab design" is taking too much space and now became largest and at the same time least information-dense panel in my entire desktop! I searched around the web for a bit in hopes that I will find a theme or an add-on that will revert this particular change but no luck. I really want to revert to old UI look (at least tabs bar), there should be default theme or option to get back to old style. After some investigation I found userChrome.css but don't really want to install it (maybe this is actually the way of doing this kind of styling). Please help me revert UI design to old one.

Asked by PepeTheFrog21 2 bhliain ó shin

Answered by Terry 2 bhliain ó shin

  • Réitithe
  • Cartlannaithe

Secure Connection Failed on Firefox 98 (SEC_ERROR_LIBRARY_FAILURE)

Greetings. I can't open most sites I usually visit (even google.com) via my Firefox 98.0a1. This happens since today. All error codes are SEC_ERROR_LIBRARY_FAILURE. Trie… (tuilleadh eolais)

Greetings. I can't open most sites I usually visit (even google.com) via my Firefox 98.0a1. This happens since today. All error codes are SEC_ERROR_LIBRARY_FAILURE.

Tried to:

  • Disable DNS-over-HTTPS.
  • Disable HTTP/3.
  • Disable proxy (never had it enabled anyway).
  • Disable sending info to Firefox developers.
  • Change settings of DNS-over-HTTPS.
  • Restart the browser (after each action).

Nothing helps me... But I still can visit some websites, but most common resources are not working for me. Please help me because I can't use Microsoft Edge without getting mentally ill. :/

Asked by Николай 1 bhliain ó shin

Answered by Николай 1 bhliain ó shin

  • Réitithe
  • Cartlannaithe

other bookmarks folder

Hello, I would like to know how to remove 'other bookmarks' folder from the right side of bookmark toolbar that showed up suddenly on my browser, it's right after the arr… (tuilleadh eolais)

Hello, I would like to know how to remove 'other bookmarks' folder from the right side of bookmark toolbar that showed up suddenly on my browser, it's right after the arrows to show more bookmarks. I can't seem to find a way to delete this.

Asked by nicaya 2 bhliain ó shin

Answered by cor-el 2 bhliain ó shin

  • Réitithe
  • Cartlannaithe

Sidebar width reduction via userChrome

Hello. It seems I get a problem or two almost always with a new update lately. I have been using an userChrome.css to reduce the width of sidebar but the latest version … (tuilleadh eolais)

Hello.

It seems I get a problem or two almost always with a new update lately. I have been using an userChrome.css to reduce the width of sidebar but the latest version 107.0 now ignores it and have a wide width even at the narrowest. Mine currently is set as, "#sidebar {min-width:30px !important; max-width:none !important;}" This no longer works. Your support much appreciated.

Regards,

Asked by qp 6 mhí ó shin

Answered by cor-el 6 mhí ó shin

  • Réitithe
  • Cartlannaithe

Show Popup as Tab

Hello, Whenever I use Firefox, I end up seeing popups (necessary for school) and would like to show them as tabs so I can merge them into other windows. I have tried the… (tuilleadh eolais)

Hello,

Whenever I use Firefox, I end up seeing popups (necessary for school) and would like to show them as tabs so I can merge them into other windows. I have tried the solutions given in: https://support.mozilla.org/en-US/questions/1080255 and nothing seemed to work. Is there another way to make sure that popup windows cannot hide the toolbar and show tabs?

Asked by aditya.mangalampalli 11 mí ó shin

Answered by jscher2000 - Support Volunteer 11 mí ó shin

  • Réitithe
  • Cartlannaithe

How do you remove the muted text and icon from the tabs?

I like to mute all of my tabs so they don't play annoying sounds. However a very annoying mute icon appears when I hover over it and the "muted" text is shown under the … (tuilleadh eolais)

I like to mute all of my tabs so they don't play annoying sounds. However a very annoying mute icon appears when I hover over it and the "muted" text is shown under the name. I tried adding to my userChrome.css:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); .tab-icon-overlay[muted], .tab-icon-sound[muted] {

 display: none !important;

}

This only removes the muted icon, and when I hover over a tab its favicon disappears. I also tried changing browser.tabs.showAudioPlayingIcon as suggested in [answer] but it isn't an option anymore.

How do I remove it completely without changing the context menu item?

Asked by Anynomous 1 bhliain ó shin

Answered by cor-el 1 bhliain ó shin

  • Réitithe
  • Cartlannaithe

Google search page functions broken.

When I go to google.com and do a search the results page has the "tools" button but it does not work. The "people also ask" categories are also broken (they will not expa… (tuilleadh eolais)

When I go to google.com and do a search the results page has the "tools" button but it does not work. The "people also ask" categories are also broken (they will not expand), and, if I click the "images" filter button to view images associated with my search it either shows no images (or only a few images) and a bunch of blank boxes. I have found that if I hold the shift key and click the reload button everything is back and working properly until the next time I do a google.com search, then it is back to the same odd behavior. So, my assumption here is that either a cookie or some site data is corrupting the results page for my search. Running Firefox 92.0 (64-bit) on a Windows 7 Dell machine and everything was working fine until about two months ago. Also, Chrome does not show the same behavior. BTW. I have also done everything I have found that was recommended to fix Firefox issues with Google search. Run Firefox in private mode, run without plugins, changed themes, created new profile, I even completely uninstalled Firefox and did a clean install all with the same results. Any help is appreciated. It is almost got me ready to move back to Chrome.

Asked by b.j.p.5252 1 bhliain ó shin

Answered by dveditz 1 bhliain ó shin

  • Réitithe
  • Cartlannaithe

Solved: No Aspect of File Interface works Ubuntu 22.04

I first realized an issue with downloading PDFs through the Firefox viewer - I cannot. The download button does nothing, there is no prompt, no popup, and no file downloa… (tuilleadh eolais)

I first realized an issue with downloading PDFs through the Firefox viewer - I cannot. The download button does nothing, there is no prompt, no popup, and no file downloaded. I have also tried to print to pdf, that also seems to fail.

Today I realized I also cannot attach any files to an email through Gmail in Firefox, which is now leading me to believe that the software is unable to interface with my files at all.

Things I've tried include: - Turning off popup blocker - Refreshing Firefox in the ->Help->More Troubleshooting Information Menu - Starting Firefox in safe mode - Reinstalling through snap

The only way I can currently download files is through wget, and the only way I can send attachments is by installing Google Chrome, which is kind of a last resort for me.

I am running Ubuntu 22.04, this is on Firefox 106.0, though it didn't work last update either.

Thanks for any help


Edit: I have been googling for answers but after posting this question a similar thread popped up, the solution is to install the following packages:

xdg-desktop-portal xdg-desktop-portal-gtk

Asked by james228 7 mí ó shin

Answered by cor-el 7 mí ó shin

  • Réitithe
  • Cartlannaithe

Security Error: Content on about:tab may not load or link file

I had set up a userContent.css file in the past to pull up and fetch an image on my computer to display as a background on the homepage. It worked and did it's job until … (tuilleadh eolais)

I had set up a userContent.css file in the past to pull up and fetch an image on my computer to display as a background on the homepage. It worked and did it's job until recently, when I had recently relocated a lot of my files around on my computer. I have redirected everything to where I want it to look, including the userContent.css file to the new location for the image I want as the background. Firefox loads the .css file correctly, and recognizes the file existing, but it won't load the image itself for some odd reason. It states it "may not load or link the file" because of a security error, and thus, can't load the image. I never had to deal with this before. How can I get Firefox to be able to load my image like I want it to? I have screenshots that I can provide, but this site doesn't want to upload them at the moment.

Asked by meddlingguns 11 mí ó shin

Answered by jscher2000 - Support Volunteer 11 mí ó shin

  • Réitithe
  • Cartlannaithe

stop looping of animations and videos

I'd swear that I used to be able to click on an animation/video/gif to stop at looping, but I cannot stop this one by doing that: https://d2rdhxfof4qmbb.cloudfront.net/w… (tuilleadh eolais)

I'd swear that I used to be able to click on an animation/video/gif to stop at looping, but I cannot stop this one by doing that:

https://d2rdhxfof4qmbb.cloudfront.net/wp-content/uploads/20190129121540/facts-min.gif

It must've been one of those custom settings I had before I got the new computer and ran a clean install of firefox.

I have set media seamless looping to off in about:config, but I can't see what other preferences would relate to this.

Mac OS 12.0 Monterey, FF 94.0 beta

Asked by Foxfree99 1 bhliain ó shin

Answered by cor-el 1 bhliain ó shin

  • Réitithe
  • Cartlannaithe

Disable horizontal scrolling

Is there any way I can completely disable horizontal scrolling? I'm using a laptop with a trackpoint (lenovo x230, Windows 10) and it's not terribly accurate, which means… (tuilleadh eolais)

Is there any way I can completely disable horizontal scrolling? I'm using a laptop with a trackpoint (lenovo x230, Windows 10) and it's not terribly accurate, which means scrolling whilst a youtube video is going often makes it track backwards or forwards, and another website I use uses a horizontal click to send me to the next page, which sucks. I would prefer to just be able to disable it entirely. Thanks!

I swear to god I used to have it disabled, just need to work out how again.

Asked by koco1 6 mhí ó shin

Answered by koco1 6 mhí ó shin