Git Product home page Git Product logo

alex313031 / thorium Goto Github PK

View Code? Open in Web Editor NEW
4.0K 50.0 130.0 226.83 MB

Chromium fork named after radioactive element No. 90. Windows and MacOS/Raspi/Android/Special builds are in different repositories, links are towards the top of the README.md.

Home Page: https://thorium.rocks/

License: BSD 3-Clause "New" or "Revised" License

Shell 3.26% Python 5.19% C 1.48% Batchfile 0.22% CMake 0.04% HTML 7.86% C++ 78.56% CSS 0.31% Roff 0.12% Objective-C++ 0.20% JavaScript 2.77%
chromium chromium-browser chromedriver webbrowser web-browser web-platform content-shell thorium linux chrome

thorium's Introduction

GitHub tag (latest SemVer)  GitHub  GitHub commit activity  Subreddit subscribers

Thorium

Chromium fork for linux named after radioactive element No. 90. Windows/MacOS/RasPi/Android/Other builds see below.

  • Always built with the latest stable version of Chromium.
  • Intended to behave like and have the featureset of Google Chrome, with differences/patches/enhancements listed below.
  • Includes Widevine, All Codecs, Chrome Plugins, as well as thinLTO, CFlag, LDFlag, LLVM Loop, and PGO compiler optimizations. It is built with SSE4, AVX, and AES, so it won't launch on CPU's below 2nd gen Core or AMD FX, but benefits from Advanced Vector EXtensions. If your CPU lacks AVX, you can use builds from the Thorium SSE3 repo.

Other Builds            

 – Windows builds are here > Thorium Win
 – AVX2 Builds for Windows and Linux > Thorium AVX2
 – MacOS (M1 and X64) builds are located at > Thorium Mac
 – Android (arm32 & arm64) builds are located at > Thorium Android I might also occasionally post x86 builds.
 – Raspberry Pi builds are located at > Thorium Raspi For the Pi 3B/3B+ and Pi 4/400.
 – Special builds are located at > Thorium Special You can find SSE3 builds for CPUs without AVX here.
 – Thorium Website with deb repo for auto-updating on Linux > https://thorium.rocks/
 – NEW: Windows 7 / 8 / 8.1 / Server 2012 builds in > Thorium Win7

FEATURES & DIFFERENCES BETWEEN CHROMIUM AND THORIUM

  • Various compiler flags that improve performance and target AVX CPU's (read PATCHES.md)
  • Experimental MPEG-DASH support.
  • HEVC/H.265 support on Linux and Windows.
  • JPEG XL Image File Format turned on by default.
  • Enable Live Caption (SODA) on all builds.
  • Experimental PDF annotation support (called "Ink" on ChromiumOS). # DISABLED FOR NOW BECAUSE OF CRASHES.
  • Patches from Debian including font rendering patch, VAAPI Patch, Intel HD support patch, native notifications patch, title bar patch, and... the VDPAU Patch!! (Rejoice Nvidia users)
  • Audio Sandbox patch.
  • DoH (DNS over HTTPS) patches from Bromite.
  • Enable Do Not Track by default patch from Vanadium.
  • Show full URLs including trailing slashes in address bar by default.
  • Disable FLOC patch.
  • Disable annoying Google API Key Infobar warning (you can still use API Keys to enable sync) from Ungoogled Chromium.
  • Disable annoying Default Browser Infobar warning.
  • Adds DuckDuckGo, Brave Search, Ecosia, Ask.com, and Yandex.com in US and other locales, along with the normal search engines.
  • Always use the local NTP (New Tab Page) regardless of search engine.
  • Fix icons when distilling page content in Reader Mode.
  • Enable new Menu UI when right clicking the Reload button. (Adds 'Normal Reload', 'Hard Reload', and 'Clear Cache and Hard Reload')
  • Home button and Chrome Labs shown by Default.
  • Prefetch settings updated to respect privacy.
  • Patches for GN and chrome_sandbox when building.
  • Remove the addition of the Chrome APT sources.list during installation.
  • Widevine CDM Patch for Linux.
  • GTK auto dark mode patch
  • Various new flags either developed from scratch, or added from Ungoogled Chromium. See PATCHES.md
  • Enable Parallel Downloading by Default.
  • Inclusion of pak a utility for packing and unpacking the *.pak files in Thorium or any other Chromium based browser.
  • Logo and Branding/Naming changed to the Thorium logo, Thorium name, and "Alex313031" being appended to "The Chromium Authors" in credits, etc.
  • .desktop file includes useful cmdline flags that enable experimental or useful features. (See PATCHES.md)
  • Includes installer patches and files to include ChromeDriver and thorium_shell (content_shell), with a .desktop file being provided for thorium_shell (named thorium-shell.desktop and shows in desktop environments as Thorium Content Shell). These are also included in the Windows releases, but it doesn't make a shorcut, although a .png and .ico is in the install directory for you to make your own shortcut with an icon. You can also run content_shell with the command thorium-shell (custom wrapper for it, located in /usr/bin/). You can run ChromeDriver at /usr/bin/chromedriver or chromedriver.exe on Windows. Also, patches for abseil library and mini_installer when building with AVX on Windows.
  • Right clicking the launcher after install gives three additional desktop actions, one to open thorium-shell, another to open in Safe Mode which disables any flags one has set in chrome://flags until the next launch, and lastly to open in Dark Mode which appends the --force-dark-mode flag.

Building

See > https://github.com/Alex313031/thorium/blob/main/docs/BUILDING.md

Debugging

See > https://github.com/Alex313031/thorium/tree/main/infra/DEBUG#readme


 − https://www.reddit.com/r/ChromiumBrowser/ is a subreddit I made for Thorium and general Thorium/Chromium discussion, https://thorium.rocks/ is the website I made for it, and https://alex313031.blogspot.com/ is a blog I made relating to Thorium/ThoriumOS.
 − I also build ChromiumOS (now called ThoriumOS) with Thorium, Codecs, Widevine, linux-firmware/modules, and extra packages at > https://github.com/Alex313031/ChromiumOS/

 − Thanks to https://github.com/robrich999/ for some info and fixes that went into this project.
 − Thanks to https://github.com/midzer/ for support and helping with builds.
 − Also thanks to https://github.com/bromite/bromite, https://github.com/saiarcot895/chromium-ubuntu-build, https://github.com/Eloston/ungoogled-chromium, https://github.com/GrapheneOS/Vanadium, and https://github.com/iridium-browser/iridium-browser for patch code.
 − The pak_src dir, and the binaries in pack_src/bin are credited to @freeer https://github.com/myfreeer/chrome-pak-customizer/

   NOTE: libpepflashplayer.so is included for posterity and can be used to enable Adobe Flash on older Chromium releases. ʘ‿ʘ

Thanks for using Thorium!

thorium's People

Contributors

alex313031 avatar alexanderhollauf avatar delphox avatar eifr avatar gz83 avatar midzer avatar qoijjj avatar tombyrer avatar yochananmarqos avatar ziemek99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

thorium's Issues

.desktop file symlink

ln -s /home/user/Downloads/thorium-browser_102.0.4976.0-1_amd64/thorium-browser.desktop /home/user/.local/share/thorium-browser.desktop and in /usr/share/applications doesn't work for me. Did anyone manage to get it working ?

Additional apt dependency

Hi Alex,

great project first of all! 👍

After installation of release .deb file via dpkg -i I wonder why there is an thorium-browser-unstable.list file in my /etc/apt/sources.list.d/ now containing:

deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main

Currenty, I have Chrome stable from official sources installed. So there is a conflict now. Why Thorium needs this additional apt dependency?

Have a nice week
midzer

VAAPI on Wayland broken on 106.0.5197.0

After update to 106.0.5197.0 hardware acceleration stopped working on Wayland, also fonts rendering looks fuzzy. Verified using intel_gpu_top.
It was working well on the previous version (unsure which it was, I'm using deb repo) so my system is configured properly.

Flatpak?

First of all, great project! You're doing exactly the things I've wanted for a long time. With that said, would it be possible to get a Flatpak version on flathub perhaps? That way it could be easily installed on a lot of distros without builds for each.

Set default browser not working

Hi again,

you can set the default browser in Chrom* via settings and inital toolbar button.

Somehow, this does not work for me in Thorium. Default browser is definetly not set.

Do you know what this might cause?

Cheers
midzer

ubuntu 20.04 hardware video decode is not working.

Thorium info: Version 105.0.5183.0 (Official Build) unstable, built on Ubuntu 22.04, running on bullseye/sid (64-bit)
system info: ubuntu 20.04 x64
CPU: Intel(R) Core(TM) i5-8350U

  1. from setting page, hardware acceleration is enabled.

image

  1. from chrome://gpu page, hardware video decode is enabled.

image

  1. use enhanced-h264ify only enable h264.

image

  1. checked the media info while playing video, FFMpegVideoDecoder used.

image

  1. monitored with intel_gpu_top, Video decode always 0.00%

  2. confirmed Firefox hardware video decoding is working.

Any suggestions? Thanks in advanced.

Disable Cache disk to avoid ruin (and memory cache)

Hello,

"Chrome and Spotify are writing over 150GB per day to my SSD."

"At the rates I'm clocking I'm actually probably closer
to this group that is showing upwards of 100 GIG
(yes, ONE HUNDRED GIG) of writes to my SSD PER DAY -
just from leaving Chrome open even if I run the awesome extension
(and BTW about the ONLY thing anyone has come up with to indicate
helps this at all by sleeping tabs via the "Great Suspender" extension). "

https://bugs.chromium.org/p/chromium/issues/detail?id=176727

https://www.reddit.com/r/pcmasterrace/comments/54fft5/chrome_and_spotify_are_writing_over_150gb_per_day/

a user seems to have found a solution to avoid the wear of SSD and HHD and huge disk writes of chromium but I don't know if these flah work with the current version, another user said that the excessive storage writes date of chromium is due to cookies to save the state of cookies even in inactive state so should we disable cookies to save our SSDs ?

"I was finally able to fix the heavy disk I/O activity (while idle, and ultra heavy hdd kill while loading pages) by adding the following command line arguments in shortcut:

%pathtoyourbrowser% --profile-directory=Default --disable-cache --disk-cache-size=0 --disk-cache-dir="Z:"

These commands should disable any kind of disk cache except for streaming multimedia - with no noticable speed diff. So the main reason why chrome eats up HDD for me was disk cache - and does so on every version on every variant with any setting in Chrome flags. There is a high chance that your chromium browser variant will not apply these commands on newer versions, however choosing an advanced browser with implemented setting for disk cache location will ensure that cache is not stored (see 360Chrome cn browser option in attachment and i think Slimjet browser also have it, just specify non-writeable location for cache storage). HDD activity while idle and loading heavy pages (example music. torchbrowser. com) in task manager down from 50% HDD to 3-4% (like in FF but FF is still lower I/O both in load and idle and while streaming multimedia). You could do the same with --incognito trick but then your visited history would never be saved.

Hope this helps someone save his HDD/SSD.

https://bugs.chromium.org/p/chromium/issues/detail?id=401391#c7

disable memory cache may be a good ideo to make browser faster but we cant't disable momory cache :

https://stackoverflow.com/questions/69286753/how-do-i-disable-chromes-memory-cache-without-devtools

It will be great if Thorium Browser gives us an effective option to completely disable the cache disk and even the memory disk, maybe it can cancel the excessive session store and speed up the noteooks that have an old HDD and save the SSDs!

Thanks a lot !

Upscale or stretch any video on the web

Hello, this necessary and important extension because we watch a lot of streaming sites and often there are side black bars and this extension allows to remove them, I tried with Chromium and Ungoogled-Chromium and it didn't work, sure because this extension officially only supports firefox and google chrome, so i had to fiddle around and search and i tried one of these solutions and it worked! please can you add official support for this incredible essential extension, ie add an option to be able to change the aspect ratio of the videos in an easy way without having to manipulate the experimental flags of the browser?

Approach 1
Run the browser with a specific flag.

Quit the browser
Right click on the browser's shortcut and go to Properties
Within the Target box, add --disable-direct-composition-video-overlays` to the end (outside of quotation mark) and apply the changes
Launch the browser
Approach 2
Change graphics back-end for ANGLE.

Launch the browser
Open browser://flags/ (replace word browser, with the one you're using, e.g. chrome://flags/)
Search for ANGLE (full option name: Choose ANGLE graphics backend)
Choose D3D9 or OpenGL
Restart the browser
Approach 3
Disable hardware acceleration.

Launch the browser
Go to browser settings
Search for hardware (full option name: Use hardware acceleration when available)

Unable to compile Thorium

Was trying to compile Thorium on Ubuntu 20.04 and found that 'chromium/src/content/browser/gpu/shader_cache_factory.cc' was missing when running ./build.sh. After creating it, around 22000 of the 55000 targets were built successfully before the second error, which was related to a variable being defined and not being used due to -Werror.

using ubuntu PPA instead of custom site

Firstly apologies this suggestion was not meant to be impolite.

Would you mind hosting the .deb files at a Ubuntu PPA (1) instead of .rocks site? This is thought in the long term possibility and security in mind.

  1. Using a PPA means very challenging for spammers to steal the domain to host fake debs.
  2. Or a bounced payment to domain or some errors in payment
  3. Or example: https://puri.sm/posts/the-great-purism-dns-outage-of-2018/

This is because browser is a very valuable part. And possibly using PPA would help gain more traction to make the project broader with more devs/maintainers - good for long run.

  1. https://help.launchpad.net/Packaging/PPA

New Features

Hello, here some suggestions of features which can make our favorite browser Thorium Browser even more faster and more efficient, maybe it will be a good idea to add options in the settings to activate/deactivate them quickly with one click, I ask this because I tried to activate some of these flags but it doesn't work :(

secret flag apparently not documented reserved to chrome os:

--enable-native-gpu-memory-buffers

disable complete prefetch to save data date battery:

Back forward cache

Closed Tab Cache

Persistent client hints

option to enable low mode for weak notebook

--enable-low-end-device-mode

increase buffer or media source extension (MSE):

--mse-video-buffer-size-limit-mb=300 --mse-audio-buffer-size-limit-mb=300

increase cache size beyond limit 1.8Gb

--disk-cache-size=5147483647

increase media cache beyond limit 1.8Gb

--media-cache-size=3147483647

disable completely disk cache and memory cache because the flag

--disk-cache-size=0

do not work !

Thanks a lot !

Couple things with 105.0.5167.0

With the last release, my system sees Thorium as "thorium-browser-unstable" even though I'm executing the "thorium-browser" script. Not sure if this is on purpose or not. With the past couple releases, my system would see it as just "thorium-browser".

And this might be nitpicking a little, but the flag "--disable-features=EventPath" is passed twice, once before "--flag-switches-begin" and another time after.

How to proceed after "illegal hardware instruction"?

So after downloading of the latest release I did

$ sudo dpkg -i ~/Downloads/thorium-browser_99.0.4821.0-1_amd64.deb                                                                    ✔ 
Selecting previously unselected package thorium-browser-unstable.
(Reading database ... 478423 files and directories currently installed.)
Preparing to unpack .../thorium-browser_99.0.4821.0-1_amd64.deb ...
Unpacking thorium-browser-unstable (99.0.4821.0-1) ...
Setting up thorium-browser-unstable (99.0.4821.0-1) ...
update-alternatives: using /usr/bin/thorium-browser-unstable to provide /usr/bin/thorium-browser (thorium-browser) in auto mode
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23+linuxmint8) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for menu (2.1.47ubuntu2.1) ...

which looked fine but then I got

$ thorium-browser --help
[1]    6312 illegal hardware instruction (core dumped)  thorium-browser --help
$ thorium-browser
[1]    6361 illegal hardware instruction (core dumped)  thorium-browser

What are the next steps to determine exactly what went wrong and whether I have to compile manually with which flags?

Save SSD by disabling session restore ou increase session store intervals

Hello, i discouver this article of 2016, this problems seems to affect also chromium browsers, it wil be great to save our hard disk and battery to add an option to disable session restore or increase session store intervals, we can do that with firefox but we can't do this with chrome browser, i have made search, i found solution but is complicated , may be it can help, please add option to disable completely session restore, many don't need this feature, we just use browser to watch some videos.....

Thank you in advance !

"Firefox (& Chrome) are eating our SSD's?!"
"Chrome writing to disk every 15 secs"
"Heavy SSD Writes Firefox is eating your SSD"

"Firefox and Chrome can shorten SSD lifetime
September 26, 2016

Firefox and Chrome have been found to continuously write so much data that it might affect the durability of SSDs. Both browsers write an incredible amount of data to disk, even when idle.

firefox-with-32gb-written-in-a-single-day

This was discovered by researcher Sergei Bobik who used the software SSDLife to monitor how much data was read and written on his system. He found both browsers write a lot of data as they continuously make a backup of themselves"

https://myce.wiki/news/firefox-chrome-can-shorten-ssd-lifetime-80534/

https://forums.linuxmint.com/viewtopic.php?t=235651

https://www.servethehome.com/firefox-is-eating-your-ssd-here-is-how-to-fix-it/

"reduced to using Chrome, below is what is going on inside Firefox, it says Chrome does the same thing. I dont need this garbage of Chrome writing the whole page to my micro SD every 15 seconds.
Has anybody found, useing a work around for Chrome, when I looked on the net I could not find anything about Chrome, it was all FF."

"by Nominal Animal
Before switching to a laptop with a really, really fast SSD, I used to keep my active browser profiles on a ram disk (tmpfs).

Essentially, when inactive, your Firefox profile can be stored in a tarball (~/.mozilla/firefox/profilename.default.tar). When active, the contents of the tarball are extracted to a temporary directory on a tmpfs mount (ramdisk), with the ~/.mozilla/firefox/profilename.default pointing to that directory. The only real limitation of this approach is that you'll want to set the maximum cache size to something small; I happily used 0, 32 and 64 megabytes for years. (The no-cache one I used on a 2009 Acer Aspire One A110L minilaptop. It still works fine for casual web browsing.)

There are two approaches to maintaining such Firefox profiles.

First approach is to construct it at login, and deconstruct/repack it at logout. This is managed via a session manager script, and varies slightly between session managers. (I tried to get the necessary hooks for doing this in a transparent, safe manner to GDM, but got fed up with the lack of interest, and switched to LightDM.) The downside is that the profile is in memory even when you don't have a browser open, and if you keep yourself logged in all the time, the tarball version of the profile never gets updated.

Second approach is to customize or interpose /usr/bin/firefox (or /usr/bin/firefox-esr). It is a launcher shell script for Firefox. In it, the exec $MOZ_LIBDIR/$MOZ_APP_NAME "$@" causes the script to replace itself with the actual Firefox binary. If you edit the script, or use your own copy of the script, with the exec removed, the shell will remain in memory while the browser is still running. (In this case, I recommend using dash as the shell, if possible, for minimal resource use.) Before running the browser binary proper, the scriptlet checks if the session symlink points to a valid directory. If not, it sets it up. After the browser binary exits, the script tests if there are no more instances left (ps -o pid= -C firefox or ps -o pid= -C firefox-esr), and if not, re-tars the profile, and removes the temporary profile directory. (I preferred to use sync to ensure the data hits the disk, and notify-send to pop up a notification whenever the profile was safely stored on disk. That way, after making a number of new bookmarks or such, all I needed to do was to close and reopen the browser windows, to be sure they were safely stored on disk.)

For further information, search for firefox profile tmpfs and/or firefox profile ram with your preferred web search engine.
Top

Gee wiss nominal animal, thats a long answer. I was asking about chrome. Go to 'firefox 55 crashing' to see what the experts say to do if you are using a solid drive.

oldchap wrote:
I was asking about chrome.

The approach I used with Firefox years ago works fine for chrome, too."

https://forum.odroid.com/viewtopic.php?t=29810

[BUG] Thorium doesn't show extensions in chrome://extensions

System Details

Observable Problem

The extensions page chrome://extensions is empty despite multiple extensions installed.

Additional Notes

  • I also installed the AppImage, and the same problem persists.
  • I installed the regular ol' Chromium deb, this issue does not exist on there, so it must be related to Thorium.

Screenshots

image
image

Change macOS icon

Hello, firstly, great browser!

I'd like you to change the Thorium browser icon to match macOS 11+ style. This is google chrome icon which matches style (square with rounded corners and an icon inside it).
image
I know that changing icon in macOS is easy and everybody can do it, but couldn't it be better if it was authentic by default?

Google sheets does not show properly

The preview of the sheet on Thorium 102.0.4976.0 unstable
image
The preview of the same sheet on Firefox just to show what the sheet should actually look like:
image
This happens not only with this sheet but all other google sheets. It shows properly for just a few seconds then gets messed up like this.

Names of new releases

Hi, you've named the last two releases the 25th and 26th, but it seems they should be the 35th and 36th?

bug: HW Accelerated HEVC decoding leading to inaccurate colors being displayed

System Details

Problem
HEVC Videos inaccurately calculate their color profiles leading to color inaccuracy, or simply making the video look more washed out than it actually is.

Screenshots
Left: actual
Right: expected
image
image

Devtools media tab:
image

Additional Notes
For comparison I used Muril's patch which doesn't enable hardware accelerated HEVC decoding for this very reason. This issue is effectively asking to stop using StaZhu's patch and instead switch to Muril's patch, which also includes EAC-3/AC-3

Password sync doesn't work with any manually selected password store

When I set the password store in launch options to any of the three available: <basic|kwallet|gnome> (eg. --password-store=basic), the passwords sync doesn't work. (Just the password sync - the rest of Chrome Sync works fine)
image

When the option isn't set, also Chrome (since it works there):
image

Repacked Deb version, CachyOS (Arch-based).

Ideas to buffer full video

EDIT : After several tests and comparisons with other web browsers and streaming websites, I find that increasing the video buffer depends on the website and not the web browser, for example via the second video player "Dstream", Chrome and Firefox buffer the same quantity even when I modify the parameters of the MSE media source extension of Firefox and the default video buffer of "Dstream" is comfortable (5 minutes video buffer but sometimes other video players only allow a buffer of 40 seconds... .)

https://french-anime.com/animes-vf/1391-bucchigiri.html

but it happens that in other video players, Firefox with the default values buffer full video while chrome and chromium browsers buffer a small amount which penalizes us and jerky palyback when the video is in high definition and the wifi is weak... .

https://livetv767.me/frx/showvideo/1296935_fulham_tottenham/

so we hope Mr Alex will be able to adjust the video buffer parameters like in Firefox, thank you :)


Hello, thank you for this amzing awesome browser 🥇 !!

I have already asked you if it is possible to buffer full video when you have a weak connection to avoid jerks and interruptions....

I did some new research and maybe it can help to enable this important option in chromium browsers :

sometimes the internet connection is weak and it is necessary to buffer full video or increase the size of the video buffering to avoid jerky interruptions on streaming sites and for smooth playback, I found how buffer full video and even buffer youtube videos with firefox browser by putting:

cache_readahead_limit: 999999
cache_resume_threshold: 999999

set media.mediasource.enabled to false

I even made a personal discovery and I discovered that when I deactivate the different types of cache:

set browser.cache.disk.enable, browser.cache.disk.smart_size.enabled, browser.cache.disk_cache_ssl and browser.cache.offline.enable to false

I can buffer full streaming video!!!

but on chrome and chromium, it's more complicated because chrome removed MSE media source extension API from chrome flags....

I tried several things: enable command line and chrome flags to increase buffering in chrome chromium:

--video-underflow-threshold-ms

chrome flag: Increase the nesting threshold before which setTimeout(..., <4ms) start being clamped.

--mse-audio-buffer-size-limit-mb

--mse-video-buffer-size-limit-mb

--enable-protected-video-buffers

--audio-buffer-size --force-protected-video-output-buffers

-enable-swap-buffers-with-bounds

--mem-pressure-system-reserved-kb

--aggressive-cache-discard -disable-back-forward-cache

--enable-protected-video-buffers --mse-video-buffer-size-limit-mb=150 --mse-audio-buffer-size-limit-mb=10

I even installed different scripts for full buffering and even used the console in developer mode:

youtube buffer enhence

https://greasyfork.org/en/scripts/442685-youtube-buffer-enhence-%E7%BC%93%E5%86%B2%E5%A2%9E%E5%8A%A0

GREASYFORK USESCRIPTS Custom Native HTML5 Player with Shortcuts

Force a full preload HTML5 video with Javascript?
https://stackoverflow.com/questions/16581801/force-a-full-preload-html5-video-with-javascript

HTML5 video full preload in javascript

https://stackoverflow.com/questions/9616236/html5-video-full-preload-in-javascript/23299806#23299806

jQuery.html5Loader
https://github.com/GianlucaGuarini/jquery.html5loader

MSE Dump Tools
Media Source Extensions API 数据 Dump 工具

https://greasyfork.org/en/scripts/420325-mse-dump-tools

Custom Native HTML5 Player with Shortcuts
https://greasyfork.org/en/scripts/404717-custom-native-html5-player-with-shortcuts

YouTube - Auto-Buffer & Auto-HD

krisnoble
/
mediabuffer

Buffer HTML5 audio/video for uninterrupted playback.

https://github.com/krisnoble/Mediabuffer
Youtube Pause and full buffer

PONY56

https://pastebin.com/ZGcpri47

What it does:
It pauses your youtube video. When video stop buffering it manually move the seeker to force the download.
When the download is finished, it places the cursor back to it's original position. You are then ready to play a fully buffered video.
*/

/*
How to use:
Paste this script in the console of your browser (F12 > Console). Tested on Firefox Linux.
*/

// Note: Maximize your "browser.cache.disk.capacity" (type "about:config" in Firefox) if you are loading long videos......

I tried all that but failed to enable buffer full video, I tried disabling cache in developer console, and put:

--disk-cache-size=2147483647

--disk-cache-size=1 --media-cache-size=1

but it didn't work, we will be grateful if you have the generosity to find a way or make a script to increase the video buffering or buffer fill video especially when watching full HD video with a weak internet connection which becomes a nightmare, thank you very much !

Some suggestions and resquests

Hello, thank you very much for this awesome and wonrderful Browser !

Please I have sommes suggestion request to make Thorium Browser even more wonderful ! it will be goog idea to add a new options not found in other browsers, add a button on the main bar to easily enable the Auto Dark Mode for Web Contents chrome flag and quickly disable it, enable reader mode flag recently deleted by chromium (may be integrate brave browser reader open source), buffer whole full video media streaming because some users have a slow internet connection and we need the video loads completely to avoid jerks, so it will be amazing to force have option to force buffer whole full HTML5 Audio/Video for Uninterrupted Playback , and include ad blocker dns by default like controld dns, bancuh dns, adguard dns.....

https://github.com/krisnoble/Mediabuffer

https://stackoverflow.com/questions/18251632/another-force-chrome-to-fully-buffer-mp4-video

https://forum.videohelp.com/threads/400542-How-to-force-full-buffer-videos-on-all-platforms

and an option to control the size of the cache and an option to deactivate the disk cache and activate memory ram cache for more speed because some HDDs are worn and old....

and make a version that uses the same version of chromium used by chrome browser in order to have the latest security patches.....

Thank you very much :)

Portable version

Will the cookie decryption feature ever be added to give the browser full portability?

"Show in Folder" crashes with 105.0.5183.0

  • good: ca. 4% better performance in WebGL Aquarium, from 94 to 98 fps

  • bad: the app crashes reproducibly if I download a file and click on "Show in folder" option in the context menu to browse the directory where I downloaded the file; see the attached screenshot below

Screenshot_20220719_130559

If I click on "Show in folder" [= In Ordner anzeigen in German], the app immediatly force closes.

problem with session / cookies or something ?

Hello,

Sorry for this confuse issue, I am running thorium on ubuntu 20.04 installed with the deb package
and something goes wrong with user sessions. Whenever I turn off thorium then I have to login
in every single websites I was logged (eg: gmail)

I don't have this behavior with chromium. Any idea ? Otherwize everything works great, thanks for your work

Sync not working - Windows

I can't get Google Sync to work on neither the AVX M101.0.4918.0 or the AVX2 M101.0.4921.0 Windows build.
After clicking the "Turn On Sync" button and entering my Google account details,
my account gets logged in into Google, but not the browser where it still says "Not Signed In"

Thorium AVX2 compilation error with -ffast-math

Building on the Windows vs2019

../../third_party/opus/src/celt\arch.h(203,2): error: Cannot build libopus with -ffast-math unless FLOAT_APPROX is defined. This could result in crashes on extreme (e.g. NaN) input
#error Cannot build libopus with -ffast-math unless FLOAT_APPROX is defined. This could result in crashes on extreme (e.g. NaN) input
 ^
1 error generated.

some issues under XFCE

Its a bit strange but on debian sid (XCFE) this browser is not visible on the preferred apps (default browser) also by running the /usr/bin/thorium* ("star" as for a strange reason you install two scripts one as "stable" and the other as "umstable" ) it pauses the profile. I did the installation via your .deb file anyway. IMHO something is broken there or bad mix of scripts. thanks!

Heavy ads, crypto mining, captive portal

Hello, I know that Thorium Browser has integrated some Ungoogled chromium options but ungoogled chromum has removed an important option: that of the native chromium ad blocker which blocks heavy ads and also blocks crypto currency mining, I asked ungoogled chromium d 'enable the native ad blocker but I was told using ublock extension is enough, the problem is that there are new ads and new crypto mining technique which uses a small amount of the cpu to do crypto mining , which the ad blocker can't detect, but the native chromium ad blocker

"Chrome sets limits on the resources an ad may use and unloads that ad if the limits are exceeded."

additionally, chromium will apparently migrate to manifest v3 and ad blockers will be less effective.

https://blog.chromium.org/2020/05/resource-heavy-ads-in-chrome.html

a user told me ad blocking is enabled by default in ungoogled chromium

https://source.chromium.org/chromium/chromium/src/+/refs/tags/101.0.4951.54:components/heavy_ad_intervention/heavy_ad_features.cc

ungoogled-software/ungoogled-chromium#1944

but I tested with this test site and ungoogled chromium did not block heavy ads:

https://heavy-ads.glitch.me/

did Thorium Browser remove this native heavy ads blocker, and does Thorium Browser disable the captive portal ?

Thanks a lot !

API Keys for personal build

I build Thorium from sources, set the:
google_api_key
google_default_client_id
google_default_client_secret

In google console I see only safebrowsing API request, but on "Chrome Sync API" zero requests and sync not working.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.