kiến thức Tổng hợp những addon chất cho Firefox / Chromium

Sandboxie chạy được từ trình duyệt bằng cách dùng addon External Application ở #1, cho nó trỏ tới Application là file Start.exe trong thư mục Sandboxie, Arguments là đường dẫn tới file đích rồi thoải mái chạy virus trong sandbox thôi
nhờ fen khai sáng chỗ bôi đen. có hình trực quan thì tốt :big_smile:

một vấn đề nữa là, ở đây dùng external application cho trường hợp tải file, sau khi tải xong là nó tự động mở file trong sandbox luôn hay thế nào fen. thêm nữa là chạy trình duyệt này ở môi trường sandbox hay môi trường windows bình thường.
 
nhờ fen khai sáng chỗ bôi đen. có hình trực quan thì tốt :big_smile:

một vấn đề nữa là, ở đây dùng external application cho trường hợp tải file, sau khi tải xong là nó tự động mở file trong sandbox luôn hay thế nào fen. thêm nữa là chạy trình duyệt này ở môi trường sandbox hay môi trường windows bình thường.
Là đường dẫn đến file bác muốn mở, còn nếu muốn mở file tải trong sandboxie thì bác để Arguments là [DOWNLOADED_PATH] nhé. Sau đấy thì chuột phải vào link tải rồi chọn mở trong sandboxie thôi
 
Là đường dẫn đến file bác muốn mở, còn nếu muốn mở file tải trong sandboxie thì bác để Arguments là [DOWNLOADED_PATH] nhé. Sau đấy thì chuột phải vào link tải rồi chọn mở trong sandboxie thôi
chỗ arguments để downloaded_path thôi hay cần cả đường dẫn file tải về nữa vậy fen.
 
Nó như thế này, khi 1 số element bị ép thuộc tính này thì ff không chỉ defer việc render các phần bên dưới (chưa cuộn tới) mà nó còn omit luôn cả phần đã render bên trên (đã cuộn qua) vì thế dù trang rất dài nhưng màn hình hiện tại lúc nào cũng chiếm 1/3 tổng chiều dài trang và nằm ở chính giữa dù đã cuộn xuống khá nhiều lần chiều cao màn hình. Mà cái này cũng tùy setup, laptop của em thì gặp mà điện thoại cùng page đó lại không bị. Vì thế mới có case cuộn ngược lên thì nó lên thẳng top, và cuộn xuống thì scrollbar indicator nảy như tenis :big_smile:

Xem ra chưa ổn định lắm, có lẽ nên test cẩn thận (xem site nào và element nào thì nên ép) hoặc ngại test thì chờ họ hoàn thiện đã :byebye::

View attachment 2049659
Đã test lại, bỏ article đi là hết nảy nha Miêu @vincvn
 
Đã test lại, bỏ article đi là hết nảy nha Miêu @vincvn
Miêu k có thẻ article ấy. Chắc do mấy cái element nó chưa render nên khi xoay chuột nó bị nhảy tennis để báo là đã được render
tjRRqf6.gif
. Nó nhảy chập đau mắt quá Miêu tắt xừ luôn r. Chắc ép thẻ img để lazy load thôi hoặc áp dụng cho 1 số trang bị wall text hoặc nó có tính năng cuộn để load cho đỡ bị nhảy. Cái này chắc gắn cho fb hoặc các trang đọc tin tức chắc là hợp nè
 
thêm nữa là chạy trình duyệt này ở môi trường sandbox hay môi trường windows bình thường.
Trình duyệt khi này chạy ở môi trường Windows, nhưng file tải về chạy trong môi trường Sandbox.

Miêu k có thẻ article ấy. Chắc do mấy cái element nó chưa render nên khi xoay chuột nó bị nhảy tennis để báo là đã được render
tjRRqf6.gif
. Nó nhảy chập đau mắt quá Miêu tắt xừ luôn r. Chắc ép thẻ img để lazy load thôi hoặc áp dụng cho 1 số trang bị wall text hoặc nó có tính năng cuộn để load cho đỡ bị nhảy. Cái này chắc gắn cho fb hoặc các trang đọc tin tức chắc là hợp nè
Tắt smoothScroll hoặc overscroll đi cũng mượt phết:

apz.overscroll.enabledfalse
 
Trình duyệt khi này chạy ở môi trường Windows, nhưng file tải về chạy trong môi trường Sandbox.


Tắt smoothScroll hoặc overscroll đi cũng mượt phết:

apz.overscroll.enabledfalse
Nếu ưu tiên trải nghiệm sướng con mắt thì ko nên xài. Mắt nó giật liên hồi khi bật món lazyrendering này thím nạ.
 
các bác dùng facebook trên ff nó có tiếng thông báo khi có tin nhắn ko, của em ko thấy hiện, ko biết có phải do setting ngu gì trong ublock không nữa :beat_brick:
 
thím @toi la gay :sosad: có biết sao mà thằng chromium down trên portapps.io trư đã xoá rồi mà nó vẫn hiện ở đây ko nhỉ
Nó ghi khóa registry tại
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications
hoặc
edit: được rồi fen, nó ở HKEY_CURRENT_USER
Fen muốn xóa vào đường dẫn trên tìm nó xóa đi là đc. Nhớ backup registry trước

P/s: cái nào mà có Data bắt đầu bằng
Code:
Software\Clients\StartMenuInternet
là của trình duyệt
 
Last edited:
các bác dùng facebook trên ff nó có tiếng thông báo khi có tin nhắn ko, của em ko thấy hiện, ko biết có phải do setting ngu gì trong ublock không nữa :beat_brick:
vẫn có tiếng bình thường fen, nghi ngờ uBlock thì disable uBlock thử xem fen
ah3ssNh.gif
 
Nó ghi khóa registry tại
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications
nên hiện đó fen. Fen muốn xóa vào đường dẫn trên tìm nó xóa đi là đc. Nhớ backup registry trước

P/s: cái nào mà có Data bắt đầu bằng
Code:
Software\Clients\StartMenuInternet
là của trình duyệt
ko thấy có luôn á fen
edit: được rồi fen, nó ở HKEY_CURRENT_USER
 

Attachments

  • 1693701945807.png
    1693701945807.png
    150.5 KB · Views: 28
floorp khi xài openkey bác @toi la gay :sosad: có bị lỗi khi bấm about:conf trên thanh địa chỉ thì ra như thế này không
View attachment 2050461
còn nhìu lỗi nữa á
â → aâ
đ → dđ
Có vẻ không, chắc do mình tắt History: https://streamable.com/100fmf

Theo cách thiết lập Firefox của mình thì History không cần thiết, tắt đi Firefox chạy mượt hẳn kể cả không cần Clear Browsing Data thường xuyên, cơ mà cái này là tùy nhu cầu sử dụng.

Còn đây là thiết lập của mình, nghĩa là dùng Tab làm bookmark+history, mở nghìn tỉ tab và sort bằng Sort tab advanced:
1693711077497.png
 
bật cái này chưa fen?
View attachment 2050487
ah3ssNh.gif
thiếu cái này, ngon hẳn ra
Có vẻ không, chắc do mình tắt History: https://streamable.com/100fmf

Theo cách thiết lập Firefox của mình thì History không cần thiết, tắt đi Firefox chạy mượt hẳn kể cả không cần Clear Browsing Data thường xuyên, cơ mà cái này là tùy nhu cầu sử dụng.

Còn đây là thiết lập của mình, nghĩa là dùng Tab làm bookmark+history, mở nghìn tỉ tab và sort bằng Sort tab advanced:
View attachment 2050482
cảm ơn 2 bác nha
 
Vậy thì áp dụng thêm nữa xem sao, đây là tối ưu giảm RAM cực đoan và có lẽ là hết cỡ luôn rồi :D
Cập nhập tiếp bài này, chú ý một điều là cái file user.js trên chỉ dành cho PWA vì tính bảo mật nó thấp hơn, không dùng cho trình duyệt chính mà có dùng phải bỏ tất những thứ liên quan tới tắt Fission đi.

Cập nhập giảm tiếp đọc ghi ổ đĩa, CPU bằng cách tăng sessionstore delay:
browser.sessionstore.idleDelay3600000
browser.sessionstore.interval3600000
browser.sessionstore.collect_zoomfalse
browser.sessionstore.privacy_level2
browser.sessionstore.restore_pinned_tabs_on_demandtrue

Giảm RAM bằng cách tắt Fast Back cache mà PWA không bao giờ dùng đến nên tự dưng ôm đồm nó phí RAM:
browser.sessionhistory.max_total_viewers0


File user.js cuối, có vẻ lần này là hết cỡ thật trừ khi trong tương lai mình nhào nặn ra cái gì khác:
Code:
user_pref("browser.sessionstore.idleDelay", 3600000);
user_pref("browser.sessionstore.interval", 3600000);
user_pref("browser.sessionstore.collect_zoom", false);
user_pref("browser.sessionstore.privacy_level", 2);
user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true);
user_pref("browser.sessionhistory.max_total_viewers", 0);

user_pref("dom.ipc.processCount.webIsolated", 1);
user_pref("fission.webContentIsolationStrategy", 0);
user_pref("identity.fxaccounts.enabled", false);
user_pref("extensions.pocket.enabled", false);
user_pref("accessibility.force_disabled", 1);
user_pref("fission.autostart", false);
user_pref("dom.ipc.processCount", 1);
user_pref("nglayout.initialpaint.delay", 2000);
user_pref("nglayout.initialpaint.delay_in_oopif", 2000);
// Enable Multi-Account Container
user_pref("privacy.userContext.enabled", true); //enable Multi-Account Container
user_pref("privacy.userContext.ui.enabled", true); //enable Multi-Account Container

/*** [SECTION 0200]: GEOLOCATION / LANGUAGE / LOCALE ***/
user_pref("_user.js.parrot", "0200 syntax error: the parrot's definitely deceased!");
/* 0201: use Mozilla geolocation service instead of Google if permission is granted [FF74+]
 * Optionally enable logging to the console (defaults to false) ***/
user_pref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
   // user_pref("geo.provider.network.logging.enabled", true); // [HIDDEN PREF]
/* 0202: disable using the OS's geolocation service ***/
user_pref("geo.provider.ms-windows-location", false); // [WINDOWS]
user_pref("geo.provider.use_corelocation", false); // [MAC]
user_pref("geo.provider.use_gpsd", false); // [LINUX]
user_pref("geo.provider.use_geoclue", false); // [FF102+] [LINUX]

/*** [SECTION 0300]: QUIETER FOX ***/
user_pref("_user.js.parrot", "0300 syntax error: the parrot's not pinin' for the fjords!");
/** RECOMMENDATIONS ***/
/* 0320: disable recommendation pane in about:addons (uses Google Analytics) ***/
user_pref("extensions.getAddons.showPane", false); // [HIDDEN PREF]
/* 0321: disable recommendations in about:addons' Extensions and Themes panes [FF68+] ***/
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
/* 0322: disable personalized Extension Recommendations in about:addons and AMO [FF65+]
 * [NOTE] This pref has no effect when Health Reports (0331) are disabled
 * [SETTING] Privacy & Security>Firefox Data Collection & Use>Allow Firefox to make personalized extension recommendations
 * [1] https://support.mozilla.org/kb/personalized-extension-recommendations ***/
user_pref("browser.discovery.enabled", false);

/** TELEMETRY ***/
/* 0330: disable new data submission [FF41+]
 * If disabled, no policy is shown or upload takes place, ever
 * [1] https://bugzilla.mozilla.org/1195552 ***/
user_pref("datareporting.policy.dataSubmissionEnabled", false);
/* 0331: disable Health Reports
 * [SETTING] Privacy & Security>Firefox Data Collection & Use>Allow Firefox to send technical... data ***/
user_pref("datareporting.healthreport.uploadEnabled", false);
/* 0332: disable telemetry
 * The "unified" pref affects the behavior of the "enabled" pref
 * - If "unified" is false then "enabled" controls the telemetry module
 * - If "unified" is true then "enabled" only controls whether to record extended data
 * [NOTE] "toolkit.telemetry.enabled" is now LOCKED to reflect prerelease (true) or release builds (false) [2]
 * [1] https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/internals/preferences.html
 * [2] https://medium.com/georg-fritzsche/data-preference-changes-in-firefox-58-2d5df9c428b5 ***/
user_pref("toolkit.telemetry.unified", false);
user_pref("toolkit.telemetry.enabled", false); // see [NOTE]
user_pref("toolkit.telemetry.server", "data:,");
user_pref("toolkit.telemetry.archive.enabled", false);
user_pref("toolkit.telemetry.newProfilePing.enabled", false); // [FF55+]
user_pref("toolkit.telemetry.shutdownPingSender.enabled", false); // [FF55+]
user_pref("toolkit.telemetry.updatePing.enabled", false); // [FF56+]
user_pref("toolkit.telemetry.bhrPing.enabled", false); // [FF57+] Background Hang Reporter
user_pref("toolkit.telemetry.firstShutdownPing.enabled", false); // [FF57+]
/* 0333: disable Telemetry Coverage
 * [1] https://blog.mozilla.org/data/2018/08/20/effectively-measuring-search-in-firefox/ ***/
user_pref("toolkit.telemetry.coverage.opt-out", true); // [HIDDEN PREF]
user_pref("toolkit.coverage.opt-out", true); // [FF64+] [HIDDEN PREF]
user_pref("toolkit.coverage.endpoint.base", "");
/* 0334: disable PingCentre telemetry (used in several System Add-ons) [FF57+]
 * Defense-in-depth: currently covered by 0331 ***/
user_pref("browser.ping-centre.telemetry", false);
/* 0335: disable Firefox Home (Activity Stream) telemetry ***/
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
user_pref("browser.newtabpage.activity-stream.telemetry", false);

/** STUDIES ***/
/* 0340: disable Studies
 * [SETTING] Privacy & Security>Firefox Data Collection & Use>Allow Firefox to install and run studies ***/
user_pref("app.shield.optoutstudies.enabled", false);
/* 0341: disable Normandy/Shield [FF60+]
 * Shield is a telemetry system that can push and test "recipes"
 * [1] https://mozilla.github.io/normandy/ ***/
user_pref("app.normandy.enabled", false);
user_pref("app.normandy.api_url", "");

/** CRASH REPORTS ***/
/* 0350: disable Crash Reports ***/
user_pref("breakpad.reportURL", "");
user_pref("browser.tabs.crashReporting.sendReport", false); // [FF44+]
   // user_pref("browser.crashReports.unsubmittedCheck.enabled", false); // [FF51+] [DEFAULT: false]
/* 0351: enforce no submission of backlogged Crash Reports [FF58+]
 * [SETTING] Privacy & Security>Firefox Data Collection & Use>Allow Firefox to send backlogged crash reports  ***/
user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); // [DEFAULT: false]

/** OTHER ***/
/* 0360: disable Captive Portal detection
 * [1] https://www.eff.org/deeplinks/2017/08/how-captive-portals-interfere-wireless-security-and-privacy ***/
user_pref("captivedetect.canonicalURL", "");
user_pref("network.captive-portal-service.enabled", false); // [FF52+]
/* 0361: disable Network Connectivity checks [FF65+]
 * [1] https://bugzilla.mozilla.org/1460537 ***/
user_pref("network.connectivity-service.enabled", false);

/*** [SECTION 0400]: SAFE BROWSING (SB)
   SB has taken many steps to preserve privacy. If required, a full url is never sent
   to Google, only a part-hash of the prefix, hidden with noise of other real part-hashes.
   Firefox takes measures such as stripping out identifying parameters and since SBv4 (FF57+)
   doesn't even use cookies. (#Turn on browser.safebrowsing.debug to monitor this activity)

   [1] https://feeding.cloud.geek.nz/posts/how-safe-browsing-works-in-firefox/
   [2] https://wiki.mozilla.org/Security/Safe_Browsing
   [3] https://support.mozilla.org/kb/how-does-phishing-and-malware-protection-work
   [4] https://educatedguesswork.org/posts/safe-browsing-privacy/
***/
user_pref("_user.js.parrot", "0400 syntax error: the parrot's passed on!");
/* 0401: disable SB (Safe Browsing)
 * [WARNING] Do this at your own risk! These are the master switches
 * [SETTING] Privacy & Security>Security>... Block dangerous and deceptive content ***/
   // user_pref("browser.safebrowsing.malware.enabled", false);
   // user_pref("browser.safebrowsing.phishing.enabled", false);
/* 0402: disable SB checks for downloads (both local lookups + remote)
 * This is the master switch for the safebrowsing.downloads* prefs (0403, 0404)
 * [SETTING] Privacy & Security>Security>... "Block dangerous downloads" ***/
   // user_pref("browser.safebrowsing.downloads.enabled", false);
/* 0403: disable SB checks for downloads (remote)
 * To verify the safety of certain executable files, Firefox may submit some information about the
 * file, including the name, origin, size and a cryptographic hash of the contents, to the Google
 * Safe Browsing service which helps Firefox determine whether or not the file should be blocked
 * [SETUP-SECURITY] If you do not understand this, or you want this protection, then override this ***/
user_pref("browser.safebrowsing.downloads.remote.enabled", false);
   // user_pref("browser.safebrowsing.downloads.remote.url", ""); // Defense-in-depth
/* 0404: disable SB checks for unwanted software
 * [SETTING] Privacy & Security>Security>... "Warn you about unwanted and uncommon software" ***/
   // user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false);
   // user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false);
/* 0405: disable "ignore this warning" on SB warnings [FF45+]
 * If clicked, it bypasses the block for that session. This is a means for admins to enforce SB
 * [TEST] see https://github.com/arkenfox/user.js/wiki/Appendix-A-Test-Sites#-mozilla
 * [1] https://bugzilla.mozilla.org/1226490 ***/
   // user_pref("browser.safebrowsing.allowOverride", false);

Nếu dùng Floorp (chỉ Floorp) làm PWA (copy đè Floorp vào thư mục App của PWA for Firefox rồi đổi tên thành firefox.exe) thì thêm dòng này vào nữa là giảm "điên loạn" luôn:
 
Last edited:
Back
Top