Git Product home page Git Product logo

nofoxgiven's Introduction

NoFoxGiven

Automated script to remove all traces of Snap, including reinstalling a standalone version of Firefox.
This is my first script I'm making publically available, Any suggestions or improvements are welcome.

This script will download the latest Standalone version of Firefox from Mozilla, uninstall all Snaps installed by default, then remove Snap itself and mark it to be held back: Preventing any further snaps from being installed in future. This script is designed for use with Kubuntu 22.04 and above. It is untested on any other distro.

Newly added: An optional set of legacy icons are now included, from before Mozilla's controversial redesign. Rename the "legacy" folder to replace the existing "icons" folder before executing the script to use them.

Backup your Firefox profile or you will lose everything!

Your Firefox profile contains the vast majority of your browser customizations. This includes your Bookmarks, History, Cookies, Positions of UI elements, any userchrome.css tweaks and installed addons. Addons' own settings are not saved. I'm afraid you'll have to reimplement those yourself. You can back up your profile by navigating to about:profiles, and finding the profile marked as "Currently in use and cannot be deleted". Rename it to make it easier to locate, then click the Open Folder button in its Root Directory row. Copy the profile's entire folder and keep it somewhere safe.

After you've run the script, open your newly installed Standalone Firefox, go to about:profiles again, open any profile's Root folder, and move up a directory. And paste the profile folder you backed up earlier here. You may need to restart Firefox to get it to appear in the profiles menu, but once it does choose Set as Default Profile and restart. Almost everything should now be in the same state as it was with your old version of Firefox, but again, you'll need to reconfigure your individual Addons.

Installation and Usage

Backup your profile as described above. Download the latest release and unzip it all to a folder. The main release will install to $HOME/.local, and requires an extra script to be ran on all other user accounts to fully install. The Opt-Install release installs to /opt, and is made for single-user systems. Right click on the script, go to properties, permissions, and tick Is Executable. Right click the script and choose Run in Konsole (or whichever Terminal Emulator you use). After the script finishes, restore your Profile backup as described above.

Known Issues

  • This script is not designed for multi user systems. If there are multiple user accounts on your system, they will be left without a browser after the script finishes. You can rectify this by running the "Install Firefox Only" script on each account that needs it afterwards.
  • This version of Firefox is not able to set itself as the default Browser, and will warn you about doing so every time it starts. You will need to set it yourself through the KDE settings menu, under Default applications. In about:preferences, you can then disable the Default Browser check to stop it from nagging you every time it starts.

Bonus

There's some really great Breeze Themes for Firefox by Schlagma here. Makes it look like a native KDE app. I also made some accent-coloured variants of it, though only for the Dark version as they weren't really visible on the white of the regular one.

nofoxgiven's People

Contributors

jacksaur avatar silejonu avatar

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.