azureVM1

joined 1 year ago
[–] azureVM1@fedia.io 1 points 1 year ago

That made it work. Thank you.

[–] azureVM1@fedia.io 1 points 1 year ago

Yes. It swaps their positions but they rearrange on browser restart. Since I installed Close Tab to Right first and Discard later, I uninstalled Close Tab and reinstalled it. Same effect. Their positions switch but on a browser restart, they're back to where they were before all this.

 

I'm using this add-on to add a "Close Tabs to the Right" option. But after installing another add-on, the "Close Tabs to the Right" option isn't at the bottom anymore and I want to move it all the way to the bottom.

I searched and came across this guide to edit right click context menu items. However, I cannot get it to work.

This is what my userChrome.css looks like right now (scroll to the very bottom) https://pastebin.com/MWeTN19G

Here's the code I'm using to rearrange the tab context menu item

#_588c6fa6-14f9-4826-b769-71a305c80bbb_-menuitem-_close_right {
-moz-box-ordinal-group: 2 !important;
}

( I even tried setting -moz-box-ordinal-group to 2, 20, 200 but no luck)

This is the menu item id for the add-on's option I want at the bottom: _588c6fa6-14f9-4826-b769-71a305c80bbb_-menuitem-_close_right

This is the menu item id for the add-on that is currently at the bottom: _c2c003ee-bd69-42a2-b0e9-6f34222cb046_-menuitem-5

And also, I'm using Lepton to change the look of right click context menus, tabs, menu panels etc.

Here's a screenshot of the menu item ids

Edit:

#_588c6fa6-14f9-4826-b769-71a305c80bbb_-menuitem-_close_right {
order: 2 !important;
}

It works now.

[–] azureVM1@fedia.io 1 points 1 year ago* (last edited 1 year ago)

Same. I even came across this comment after doing that. Did everything it said (browser.cache.offline.enable perf wasn't there for some reason, so I made one) and still no change. Changed the values of perfs mentioned in my post again as well, combined with that comment's proposed changes but still nothing.

And yeah, it's 1440p but I've tested this on 1080p videos as well. Length of 1440p video is 2-3 mins and the 1080p one is just over 11 mins.

Honestly, I give up at this point. Btw, thank you so much for trying to help.

[–] azureVM1@fedia.io 1 points 1 year ago (2 children)

I didn't know about that. It does seem small. It's just 32 MB. So I googled around and

http://kb.mozillazine.org/Browser.cache.memory.capacity

https://tweakguides.pcgamingwiki.com/Firefox_10.html

changed browser.cache.memory.capacity value from -1 to 1000000 and changed media.cache_readahead_limit / media.cache_resume_threshold to 999999 but I didn't notice any difference. Rebuffering still happens.

What I did notice was that after hitting the replay button, if I press right arrow quickly enough to skip forward (40% or more), the buffer reppears and my network activity reflects that.

So it seems to me is that Firefox caches about 60% of the video (latter half) and when you replay it, it starts rebuffering the lost 40% of the first half of the video. I reverted my settings back to default values (the 3 prefs I mentioned above) and it still behaves this way.

[–] azureVM1@fedia.io 1 points 1 year ago

You're supposed to let it play/buffer all the way till the end. Then press replay or when you're like 50-60% through the video, click on the timeline far enough back i.e < 1 min.

For example, when this video https://www.youtube.com/watch?v=2tdiKTSdE9Y finishes playing for me, and I press replay, YouTube starts rebuffering the video from scratch. In Chrome's case, the buffer is still there.

[–] azureVM1@fedia.io 1 points 1 year ago (4 children)
[–] azureVM1@fedia.io 1 points 1 year ago (6 children)

It's not, because my CPU supports VP9 hardware decoding.

[–] azureVM1@fedia.io 1 points 1 year ago

Yeah. And I actually tried changing user agent with this but still no luck. Tried incognito as well with chrome's UA. Re-buffers the same as always.

 

Re-buffering happens if you replay a video after it buffers completely till the end and if you click on the timeline far enough back during buffering.

I've looked through many threads but didn't find any fix/workaround for this. I saw some users saying changing values for media.cache_readahead_limit and media.cache_resume_threshold to 99999 fixed it but that didn't help and actually caused Firefox to stop buffering midway through videos.