Recommended Posts

So after seeing firefox 17 in my upgrades list and removing it every time for the past few weeks, I'm now getting annoyed of having to do this so I thought I'd download the source and remove all that social **** from it and compile it...

Took about 40 minutes to remove all the social API rubbish and it's been compiling for a few hours... Only problem is mozilla obviously don't know their own product, saying it'll take about 1GB to compile, I started compiling with 1.5GB free in my RAM (in /tmp) and what do you know, ran out of disk space...

So I've transferred the base files over to a VM with 4GB of free space and will see if it compiles. If it does, I'll get onto making a diff patch for it and post it here!

And I might make a PKGBUILD for arch and submit it.

So, anyone want to test this out? :p. I'm on and compiling for arch so I've got no idea if it'll work for windows/mac/other distros.

Link to comment
https://www.neowin.net/forum/topic/1126298-firefox-17-without-social-api/
Share on other sites

You'd have to compile it from scratch :/.

I'm building it outside the arch build system though using the same commands so in theory I could get away with building it into an arch package.

I was thinking more;

antisocialfox ;)

You'd have to compile it from scratch :/.

I'm building it outside the arch build system though using the same commands so in theory I could get away with building it into an arch package.

So with the files would I just cd to that dir, sudo make, make install, cleanup or what?

So what's the big deal? You don't have to use it. That Facebook thing is an opt-in thing.

Don't be an Andrea Norman.

Dude, WTF?!?! n_k is a well respected member here and your comment is out of line. I think you need to stop being an Andrea Borman.

So what's the big deal? You don't have to use it. That Facebook thing is an opt-in thing.

I read a few posts on mozilla's site earlier about someone saying they didn't want it and the usual mozilla people saying 'blah blah its opt in it isnt active unless you activate it', so?

IE 8 had XSS protection, MS's head of security for the UK (a previous FBI agent) came to our uni. to do a talk and he touted how good it was, one of the people in the lecture said it didn't work, the the guy took the **** out of him for the whole session.

Know what happened after? He emailed the guy his research into it, got a FULL APOLOGY and money as a way of saying sorry.

Just because a feature is there, DO NOT THINK that 'opt in' means it's secure.

I don't want that **** there at all, I don't want it wasting my CPU cycles and showing me menu options I don't want to see, so I'm removing it.

As long as I don't have to compile it myself(as I'm too lazy this morning), I will test it out under Fedora, Ubuntu and Windows.

So with the files would I just cd to that dir, sudo make, make install, cleanup or what?

Yes you would have to compile it! :p

I can upload the files compiled in arch but not sure if they'd work. I don't know how/if you can compile firefox for windows on linux, will have a look into it later.

In terms of the files, I'm gonna make a diff patch so you'd download the source from mozilla's site, cd to it, run: patch -p1 < ../firefox.patch then make and it'd (hopefully) build

I've got it built now, that 1GB mozilla said about compiling? Try 3.5GB...

Only problem is I have obviously accidentally removed a </menupopup> from browser.xul so just added it in and recompiling now to see if it works.

Right where does any of this social crap appear if you've got the native firefox 17?

Here's some screenshots of the version I just compiled, I can't see any mentions of the chatbox or whatnot so I'm assuming I removed all the right stuff?

OK so I think it is fully removed!

I went to the facebook page with the 'turn on' thing, click it and it greys out - nothing else happens, refresh and it goes back to a clickable 'turn on' button!

Will make a diff and arch package now!

EDIT: RIGHT! Patch is in this post. Had to add .txt on the end so it'd attach.

What I did; downloaded ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/17.0.1/source/firefox-17.0.1.source.tar.bz2

Extract it (you will need about 3.5GB) then open a terminal, go to the folder you extracted it to and put the patch file there too, then do: patch -p1 < antisocialfox.patch.txt

Now configure and build firefox as you normally would... I decided to just do it the way arch does it and if you want to follow that then;

Download the 'plain' versions of the files from https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/firefox [You only need firefox-install-dir.patch, shared-libs.patch, vendor.js and mozconfig], and put them in the same folder and do;

mv mozconfig .mozconfig

patch -Np1 -i ./firefox-install-dir.patch

patch -Np1 -i ./shared-libs.patch

sed -i '/^PRE_RELEASE_SUFFIX := ""/s/ ""//' browser/base/Makefile.in

export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/firefox"

export PYTHON="/usr/bin/python2"

export MOZ_MAKE_FLAGS="$MAKEFLAGS"

unset MAKEFLAGS

export MOZ_PGO=1

make -f client.mk build || _fail=1

And now if you press obj and press tab, then CD to dist and bin, you can launch a (hopefully working) antisocialfox 17!

post-160466-0-98345300-1355772541.png

post-160466-0-15048800-1355772544.png

post-160466-0-72482500-1355772546.png

antisocialfox.patch.txt

Edited by n_K

Yes you would have to compile it! :p

I can upload the files compiled in arch but not sure if they'd work. I don't know how/if you can compile firefox for windows on linux, will have a look into it later.

In terms of the files, I'm gonna make a diff patch so you'd download the source from mozilla's site, cd to it, run: patch -p1 < ../firefox.patch then make and it'd (hopefully) build

OK. LOL! Just making sure I knew what I was doing. Let me know when this patch is available. :)

OK I've transferred it to my main arch pc, installed it (it's ~5MB smaller than firefox 16, not sure if I ballsed something up or if that's normal).

Anyway, here's the PKG if you want to have fun with it :D http://www34.zippysh...27798/file.html

Install it as root via: pacman -U firefox-17.0.1-1-x86_64.pkg.tar.xz

You should be able to extract that on a fedora or other linux distro PC to the proper folders or a temporary folder (in /tmp for instance) and see if it works.. Beware that if you have firefox 16 or earlier, after running this (if it works) I would assume you will be unable to run firefox 16 or below again due to upgrading your profile, though I may be wrong.

I'll have a ganders into compiling for windows now! Looks like I can't compile for windows :( needs to be compile on a windows host for windows and to do that I'll need an extrrnal drive for my windows VM so it has space... I'll see if I can hook one up and get it working. Scratch that, added a drive via USB and pscp'ing files over now.

UPDATE: Started compiling after eventually figuring out how to compile on windows...

Due to me only having 400MB free on C:\ I can't install the DX SDK so have had to disable webgl but err if this works I can look at fixing that problem later :p

Edited by n_K

Well I was going to sleep but...

It might be hard to comprehend (I still can't understand why) but yeah, firefox 17... is still compiling... on windows...

Over 4 hours... pretty rediculous.

EDIT: OK it's build... But it's erm... 'Nightly', not firefox? Not really sure how it's messed that up. Any idea how to get it back to being _JUST_ firefox?

EDIT2: Here's the files if you want to test then, arch version works fine (I'm using it right now) and windows version worked fine when I quickly tested it though it does say 'nightly' not 'firefox' with a different logo.

Arch Linux 64-bit package (Using other distros? Extract it and it _might_ work :p): http://www34.zippyshare.com/v/85627798/file.html

Windows 32 bit installer (compiled using VS 2012 64 bit): http://www2.zippyshare.com/v/3142549/file.html

Windows 32 bit archive (compiled using VS 2012 64 bit): http://www2.zippyshare.com/v/18595368/file.html

Edited by n_K

Nothing was removed, I didn't use a mozconfig either for the windows build (they say without one makes it practically the same as the official builds).

EDIT: Looks like they set it to automatically use nightly branding and specify 'NEVER automatically set to use official branding' so I guess it's a trademark protection thing.

Edited by n_K

Windows 7 Ultimate x64 - Error - "The program can't start because MSVCR100.dll is missing from your computer. Try reinstalling the program to fix the problem." - Still got this error after two reinstalls and a removal then another install. I will grab the C++ redistributable and test again.

EDIT: installed the above mentioned redistributable and still get the same error, even after re-boot and reinstall attempt. Any ideas?

Windows 7 Ultimate x64 - Error - "The program can't start because MSVCR100.dll is missing from your computer. Try reinstalling the program to fix the problem." - Still got this error after two reinstalls and a removal then another install. I will grab the C++ redistributable and test again.

EDIT: installed the above mentioned redistributable and still get the same error, even after re-boot and reinstall attempt. Any ideas?

Humm that's weird, did you use the 32 bit or 64 bit runtime install? I compiled and tested on W7 pro x64 with VS .NET 2010 and it runs fine :s.

I'm not sure I see the point in this, the social stuff isn't even enabled (or loaded), so the only affect in the end will be a slight reduction in the file size of the support files.

It is loaded, it is fully integrated with firefox, whether you see it or not, IT IS LOADED, and it damn well shouldn't be there at all.

I'm on 17.0.1 too and I don't see any social stuff?

Go to https://www.facebook...ger-for-firefox and click the button, if something happens or a dialogue opens (I don't know what is meant to happen) then you've got the social api, if however the button just greys out and if you refresh is shows the same page and the button not greyed out - you've not got the social api.

Humm that's weird, did you use the 32 bit or 64 bit runtime install? I compiled and tested on W7 pro x64 with VS .NET 2010 and it runs fine :s.

The x64 version - MS Visual C++ x64 Redistributable - 10.0.303.19

Neither the installer or the zip version makes a difference, I'll try the 32 bit version.

EDIT : The x86 Redistrib did the trick, runs fine here. How long are you going to keep compiling "social free firefox"?

EDIT : The x86 Redistrib did the trick, runs fine here. How long are you going to keep compiling "social free firefox"?

Good! :D.

Probably for as long as I use firefox. Not sure about windows port though, it took less than an hour to build on linux and over 5 hours to build on windows :/ so unless there's a way to vastly speed up windows compile or I leave it compiling overnight... Which I may do.

Anyway instead of recompilining now to change from 'nightly' to 'firefox' I'll just leave it with nightly until the next firefox 17 update comes out then build that as firefox not nightly! :p.

This topic is now closed to further replies.
  • Posts

    • I think he means you haven't reviewed previous UFC games. Of course it doesn't matter... Every time you just report on something that involves the President even if just simply what happened you guys usually get accused of being anti-Trump. We live in fun times.
    • So how did you solve the problem? Disabling Secure Boot isn’t a solution.
    • Another devilish issue surrounding these certificates is what can happen with old, unsuspecting PCs that nevertheless have Secure Boot enabled. In my case, it was a Dell with a 3rd-gen Core chip (so about 13 years old). As of the last few weeks, it was suddenly BSOD'g within about 5 minutes of booting. Turns out it was because of MS's "Secure-Boot-Update" scheduled task, which is scheduled to run 5 minutes after login. It's explained in gory detail here (this is not my post, but it was where I found the answer), but the short version is that this legacy system would need fairly elaborate, manual certificate intervention since MS's automatic cert update method cannot work. How to do that is linked late in the thread. https://www.bleepingcomputer.c...od-caused-by-scheduled-task Secure Boot wasn't at all important for this particular PC, so I disabled it to be done with the problem.
    • Winhance 26.06.12 by Razvan Serea Winhance is an open-source Windows enhancement utility designed to help users debloat, optimize, and customize Windows 10 and 11. It provides a user-friendly interface for removing unwanted apps, legacy components, and optional features safely, giving you more control over your system. With Winhance, you can improve performance, reduce clutter, and enhance privacy without the need for a clean install. Beyond basic debloating, Winhance offers extensive optimization tools. Users can tweak power plans, adjust gaming and performance settings, control notifications, and manage Windows Update behavior. Privacy-focused settings allow you to limit telemetry and data collection, while system customization options let you personalize the taskbar, Start menu, Explorer, and Windows themes. Winhance also supports installing or removing software efficiently, including external apps via WinGet integration, streamlining both new setups and daily maintenance. New AI privacy groups have been added for Windows AI, Microsoft Edge AI, and Microsoft Office AI, giving users clearer control over AI-related telemetry and feature usage. In addition, new settings in Gaming & Performance introduce AI taskbar pin toggles, options to remove AI apps, and controls for AI services and scheduled tasks, allowing users to better manage how AI components run in the background and appear in the system. For advanced users and IT professionals, Winhance integrates WIMUtil, a tool for creating custom Windows installation ISOs with automated configuration. You can generate autounattend.xml files, inject drivers, and apply your chosen Winhance settings automatically during installation. Most changes are non-destructive and reversible, with clear explanations in the GUI. Whether you’re optimizing a single PC or managing multiple systems, Winhance delivers a faster, cleaner, and highly personalized Windows experience. The Winhance.Installer.exe includes both Installable and Portable versions during setup. Winhance supports both Windows 10 and Windows 11 64-bit versions. It's regularly updated to ensure compatibility with the latest Windows updates and features. Winhance key features: Debloat Windows – Safely remove unwanted apps, features, and legacy components. Optimize Performance – Tune system settings for speed, responsiveness, and gaming. Privacy Enhancements – Control telemetry, data collection, and notifications. Power Management – Configure power plans and advanced energy settings. Windows Update Control – Adjust update behavior for stability and convenience. Theme Customization – Switch between light/dark mode and adjust system colors. Taskbar & Start Menu Tweaks – Modify layout, icons, and behavior. Explorer Customization – Adjust file explorer appearance and functionality. Software Management – Install/remove Windows apps and optional features. External Apps Installation – Deploy essential apps via WinGet integration. Configuration Management – Save, export, and import Winhance settings easily. Automation with WIMUtil – Create custom Windows ISOs with integrated settings. Autounattend.xml Generator – Automate Windows installations with preconfigured options. Driver Integration – Include current system drivers in custom ISOs. Non-Destructive Changes – Reversible settings with clear explanations in the GUI. Winhance 26.06.12 changelog: Features Builder Mode — build a Winhance config file or autounattend.xml without changing anything on the PC you're sitting at. Flip the new mode switcher to Builder, set everything the way you want it, and save the result as a Winhance config or an autounattend file ready for deployment on other machines. Sponsors & Supporters page — the exit donation dialog is gone. In its place, an in-app page (heart icon or the More menu) recognizes the businesses and individual supporters who keep Winhance free. It works offline and is fully localized. Change History — Winhance now keeps a receipt of everything it does. ChangeHistory.txt records every setting change (before and after values) and every app install or removal, with clear headers for config imports and bulk actions. Open it from the More menu. Hebrew language support — Winhance is now available in 29 languages. New Explorer customizations: desktop icon visibility toggles, This PC folder visibility, an icon cache size setting, and automatic thumbnail cache cleanup. New "All apps view" setting for the redesigned Windows 11 Start menu, and the Windows 11 system tray icons setting is now a dropdown with more control. App-local UI zoom — press Ctrl +/-/0 or use Ctrl+MouseWheel to scale the whole app, just like a browser. New External Apps: EA app, Ubisoft Connect, Battle.net, Rockstar Games Launcher, PowerShell, and Helium Browser. Bug Fixes Layouts no longer clip when the Windows text size slider is set above 100%. Accessibility: Narrator now announces setting names on toggles and dropdowns, previously unlabeled buttons are labeled, and progress updates are announced. Silent updates now respect your custom install location instead of reverting to the default. Cancel in Review Mode no longer clears your app selections. OneNote is now detected correctly for Win32 Click-to-Run installs. Clean Start Menu applies more reliably by also writing the group policy path. WinGet errors are no longer silent — error details now show in the terminal output. Fixed a startup crash on older Windows builds caused by a .NET runtime regression. Config import now converts power setting values correctly and no longer re-applies an already-active power plan. Improvements App icons load noticeably faster and cover almost everything now, including legacy capabilities and optional features — they come from a dedicated, checksum-validated icon repository and are fetched in parallel. Software & Apps polish: per-icon tooltips, extra table columns, an app sort dropdown, relocated search, and a cleaner compact view. A warning now appears when the Connected Devices Platform Service is set to Manual or Disabled, since some Windows features depend on it. Download: Winhance 26.06.12 | 61.5 MB (Open Source) Links: Winhance Website | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
    • One Month Later
      agatameier earned a badge
      One Month Later
    • Week One Done
      agatameier earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      518
    2. 2
      +Edouard
      198
    3. 3
      PsYcHoKiLLa
      147
    4. 4
      ATLien_0
      95
    5. 5
      Steven P.
      77
  • Tell a friend

    Love Neowin? Tell a friend!