Alright, Here is the Solution, This Should Work for all Extensions, Not Just Smartup But almost Every Extensions which Gets Removed from Chrome Store, Just Follow the Procedure.
Before we Start, Few things to Note
The Image tear and Graphics issue which you may see on video weren’t present while the video was Recorded, Those Effects were mostly due to Lower Bitrate Encoding to Get the video size under the Recommended Size Limit of this Community.
The Performance would have been Slow and thats because 2 different videos were being Recorded at the same at 2 different Browsers(Brave and Edge)
Let’s Start
So it seems Like Im not the only one who was upset by this Issue
Here is the Fix, The Only Manual work which you need to do(after you follow writing down and Structuring the Script) is to Just click an icon in the Taskbar as it will take care of the Rest.
Script Made together with Bard
@ECHO OFF
XCOPY /E /I /Y “C:\Smartup 7.2.622.1170” “C:\Users\Arun\AppData\Local\BraveSoftware\Brave-Browser\User Data\Profile 1\Extensions” >nul
IF EXIST “C:\Users\Arun\AppData\Local\BraveSoftware\Brave-Browser\User Data\Profile 1\Extensions\Smartup 7.2.622.1170” (
ECHO Smartup folder copied successfully.
) ELSE (
ECHO Error: Failed to copy Smartup folder.
ECHO Check if source folder “C:\Smartup 7.2.622.1170” exists or destination path is correct.
)
XCOPY /E /I /Y “C:\Smartup 7.2.622.1170” “C:\Users\Arun\AppData\Local\BraveSoftware\Brave-Browser\User Data\Profile 2\Extensions” >nul
IF EXIST “C:\Users\Arun\AppData\Local\BraveSoftware\Brave-Browser\User Data\Profile 2\Extensions\Smartup 7.2.622.1170” (
ECHO Smartup folder copied successfully.
) ELSE (
ECHO Error: Failed to copy Smartup folder.
ECHO Check if source folder “C:\Smartup 7.2.622.1170” exists or destination path is correct.
)
XCOPY /E /I /Y “C:\Smartup 7.2.622.1170” “C:\Users\Arun\AppData\Local\BraveSoftware\Brave-Browser\User Data\Profile 3\Extensions” >nul
IF EXIST “C:\Users\Arun\AppData\Local\BraveSoftware\Brave-Browser\User Data\Profile 3\Extensions\Smartup 7.2.622.1170” (
ECHO Smartup folder copied successfully.
) ELSE (
ECHO Error: Failed to copy Smartup folder.
ECHO Check if source folder “C:\Smartup 7.2.622.1170” exists or destination path is correct.
)
XCOPY /E /I /Y “C:\Smartup 7.2.622.1170” “C:\Users\Arun\AppData\Local\BraveSoftware\Brave-Browser\User Data\Default\Extensions” >nul
IF EXIST “C:\Users\Arun\AppData\Local\BraveSoftware\Brave-Browser\User Data\Default\Extensions\Smartup 7.2.622.1170” (
ECHO Smartup folder copied successfully.
) ELSE (
ECHO Error: Failed to copy Smartup folder.
ECHO Check if source folder “C:\Smartup 7.2.622.1170” exists or destination path is correct.
)
PAUSE
For this above Script Instance, I use Four different Brave Profiles and use Smartup Gestures in all of them, So for me, Attempting to Fix one Profile Should also Fix all Profiles and this Script does Exactly that. Make sure to Launch all Profiles and wait for 30 Seconds before you run the script.
About the Current Psycho design of Chromium Extensions Security design and How to Manipulate and Overcome this annoyance
While Google Marks down an Extension as Malware, They Not only Remove the Extension from Chrome web Store BUT ALSO disable it in your Browser and the only way you can have the Extension installed back again is while you Manually install it using the Load unpacked Extension and the Problem associated with this is that, Extension will only continue to work as Long as the Session Lasts, So if you Shutdown your PC, Turn it on the Next day and while you Launch the Browser, within few seconds, you’ll notice chromium will Remove the Extensions from your user date/Profile 1/Extensions directory and If Brave Browser is Restarted(after chromium Removed Extensions Folder), the Extension will become Non-Existent…
And to Get that Extension back again in the Previous State, You need to Start over the Process again which is to Copy the Extensions folder, use Load unpacked to Load the Extension and Import Setting which will make you feel that you are not in control of your browser and Someone outside(Chromium team) has more control over your browser than yourself and Ending up Making decisions on what you should do and should not do, what you should keep and what you should not keep which is Irritating and that shouldn’t be the case So Follow this method
Let’s break down the Script
XCOPY /E /I /Y “C:\Smartup 7.2.622.1170”
This Line Specifies Source folder and the following line
“C:\Users\Arun\AppData\Local\BraveSoftware\Brave-Browser\User Data\Profile 1\Extensions” Specifies destination folder to where the Extensions Folder should be copied.
Chromium/brave will have more control over the user data directory, So I Suggest you to use the Local Disk C directory to Set for Source Folder.
Setting up Source Folder
- Find the Extension which Google Marked as Malware and disabled it in your browser
- Remove the Extension
- Now Perform a Google Search of the Extension with the keyword at End crx4chrome
- Download CRX file of Latest or older version of the Extension, whatever you decide
- Once Downloaded, Go to virustotal website and Scan the downloaded CRX file for viruses
- If Reported Safe, Rename the downloaded .crx file to .RAR file
- Use Winrar to Extract the .RAR file to a Folder
- Create a New Folder and Name that Folder just as Same as What you’re Naming the Extension folder and Place the Extension folder into that New Folder on C Drive
Adding Clarity
Now, Go Back to the Script and Rename xxx with your user name and yyy with your Brave Profile name
C:\Users\xxx\AppData\Local\BraveSoftware\Brave-Browser\User Data\yyy\Extensions
Once you have Completed Editing the Script by copy and Pasting it on Notepad, Save it as Smartup.bat (.bat Extension is important) and Store the Script in C drive as seen in the above Images.
Now, Open Task Scheduler (Search for Schedule tasks in Start menu)
In Task Scheduler, Select Task Scheduler Library in Left Navigation Pane, Right click on it and Select “Create Basic Task…”
Next, In the Create Basic Task Wizard, Set the Name “Smartup Fix”
Next, Set the Trigger “Daily” and Select Next again
Select Next again and in the Actions, Choose “Start a Program”
Click Next again and Choose the Script Saved in the C Drive(by clicking the Browse Button)
Click Finish.
Now, You will See the Task Created in the Home Page of Task Scheduler.
Right click on it and Choose Properties, and Navigate to the Triggers tab and delete the trigger daily(The Reason why we Set the Trigger daily because Microsoft Failed to add the option Manual during setup, So to Get the Task Running Manually only when you need it to Run, This is the way)
Important ->>>>> Make Sure you delete the Trigger daily by selecting the Trigger details and clicking delete. Press OK to Exit.
In Properties, Also Select “Run with Highest Privileges” and Click OK.
Now, Go to Desktop, Right Click on an Empty area and Choose New->Shortcut
Now, Here Type schtasks /run /tn “YourTaskName” ->>>>> Replace YourTaskName with the Name you assigned for the task, For the Previous Example use case, the Task name was Smartup Fix, So Here is how to Setup
Click Next and Name the Shortcut as “Smartup Fix”
Click Finish.
Now, A Shortcut will be Placed on the desktop as “Smartup Fix”, Right Click on it and Choose Properties
Click Change File icon and Replace it with the Extension Icon and Pin the Shortcut to Taskbar(Create .ico file using online ico convertor, Most of the times, Icons(png) will be found inside the Extensions folder, It’s Recommended to use that image as source on the .ico convertor websites).
While you click on the Pinned Taskbar Extension icon, You will See this output
Pressing the Pinned icon in the Taskbar will Trigger the Task “Smartup Fix” which will Trigger CMD to activate ->>> which will in turn Trigger XCopy to Get the copying done to all of your Extension Profiles which you specified in the Script(Getting All of the actions which needs to be done by you using a Single click).
Everytime You Start/Turn on your Computer and Launch the Brave Browser, wait for 30 to 60 seconds where within this timeframe, Chromium will Remove the Previous session Loaded unpacked Extensions, once Chromium Removes it, Run the Script by clicking the icon on Taskbar, Once the Script Finishes Running, The Extension will be Back Running again and you dont have to deal with the Painful process of having to Load the unpacked Extension every single time you Restart your Browsing Session.
Watch the Loom video for Clarity to see what chromium does in background(Also, In case if you had the Extension in disabled state or Extension showing puzzle icon, disable the Extension and Re enable it again, It’s Recommended that you do not disable the Extension for which you are following this Script Procedure and Also always Run the script by clicking the Extensions icon in the taskbar after 30 seconds of Launching Brave Browser Profile(I just Tested it, It seems like we dont necessarily need to check whether the chromium removed the Extension or not from your Extensions and Extensions directory or Not , Just Run the Script after 30+ Seconds, Tested for 4+ days, No Issues).
Extended video, Watch here
The coding format on Discourse is not Rich as it does not Support Large Lines of code
See the Full Script here
https://mega.nz/file/DLg1DSDS#gnhuKCkvEpLnvh7fDJVrglS5r3FXGYBrpuKqY7lsv2g