Skip to content

Commit

Permalink
v1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
flick9000 committed Jan 16, 2025
1 parent ff7c711 commit ba1a39a
Show file tree
Hide file tree
Showing 11 changed files with 81 additions and 6 deletions.
Binary file added online/icons/debloat/debloat-edge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions online/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,23 @@ <h1>Remove OneDrive</h1>
</div>
</div>

<div class="content-entry">
<div>
<img src="icons/debloat/debloat-edge.png" alt="">
<div>
<h1>Debloat Edge</h1>
<p>This will disable various telemetry and annoyances in Edge.</p>
</div>
</div>
<div class="checkbox-wrapper">
<span class="indicator" id="indicator">Off</span>
<label class="switch">
<input id="debloatedge" type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>

<div class="content-entry">
<div>
<img src="icons/debloat/edge.png" alt="">
Expand Down
20 changes: 20 additions & 0 deletions online/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,25 @@ document.addEventListener("DOMContentLoaded", function() {
'rd "%ProgramData%\\Microsoft\\OneDrive" /Q /S',
'rd "C:\\OneDriveTemp" /Q /S',
],
debloatedge: [
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "EdgeEnhanceImagesEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "PersonalizationReportingEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "ShowRecommendationsEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "UserFeedbackAllowed" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "ConfigureDoNotTrack" /t REG_DWORD /d 1 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "AlternateErrorPagesEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "EdgeCollectionsEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "EdgeFollowEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "EdgeShoppingAssistantEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "MicrosoftEdgeInsiderPromotionEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "ShowMicrosoftRewards" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "WebWidgetAllowed" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "DiagnosticData" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "EdgeAssetDeliveryServiceEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "CryptoWalletEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "WalletDonationEnabled" /t REG_DWORD /d 0 /f',
],
edge: [
"echo -- Uninstalling Edge",
'reg add "HKLM\\SOFTWARE\\WOW6432Node\\Microsoft\\EdgeUpdateDev" /v "AllowUninstall" /t REG_DWORD /d "1" /f',
Expand Down Expand Up @@ -925,6 +944,7 @@ document.addEventListener("DOMContentLoaded", function() {
const checkboxItems = [
{ id: "microsoftstore", type: "microsoftstore" },
{ id: "onedrive", type: "onedrive" },
{ id: "debloatedge", type: "debloatedge" },
{ id: "edge", type: "edge" },
{ id: "copilot", type: "copilot" },
{ id: "widgets", type: "widgets" },
Expand Down
4 changes: 2 additions & 2 deletions winscript-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion winscript-app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "winscript",
"private": true,
"version": "1.0.7",
"version": "1.0.8",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion winscript-app/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion winscript-app/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "WinScript"
version = "1.0.7"
version = "1.0.8"
description = ""
authors = ["flick9000"]
license = "GPL V3"
Expand Down
2 changes: 1 addition & 1 deletion winscript-app/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "WinScript",
"version": "1.0.7",
"version": "1.0.8",
"identifier": "flick.winscript.dev",
"build": {
"devUrl": "http://localhost:5173/src/",
Expand Down
Binary file added winscript-app/src/icons/debloat/debloat-edge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions winscript-app/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,23 @@ <h1>Remove OneDrive</h1>
</div>
</div>

<div class="content-entry">
<div>
<img src="icons/debloat/debloat-edge.png" alt="">
<div>
<h1>Debloat Edge</h1>
<p>This will disable various telemetry and annoyances in Edge.</p>
</div>
</div>
<div class="checkbox-wrapper">
<span class="indicator" id="indicator">Off</span>
<label class="switch">
<input id="debloatedge" type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>

<div class="content-entry">
<div>
<img src="icons/debloat/edge.png" alt="">
Expand Down
21 changes: 21 additions & 0 deletions winscript-app/src/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ document.addEventListener("DOMContentLoaded", function() {
// Append the new script to the container
newDiv.appendChild(codeElement);
parentDiv.appendChild(newDiv);

hljs.highlightAll();
}

Expand Down Expand Up @@ -66,6 +67,25 @@ document.addEventListener("DOMContentLoaded", function() {
'rd "%ProgramData%\\Microsoft\\OneDrive" /Q /S',
'rd "C:\\OneDriveTemp" /Q /S',
],
debloatedge: [
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "EdgeEnhanceImagesEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "PersonalizationReportingEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "ShowRecommendationsEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "UserFeedbackAllowed" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "ConfigureDoNotTrack" /t REG_DWORD /d 1 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "AlternateErrorPagesEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "EdgeCollectionsEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "EdgeFollowEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "EdgeShoppingAssistantEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "MicrosoftEdgeInsiderPromotionEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "ShowMicrosoftRewards" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "WebWidgetAllowed" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "DiagnosticData" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "EdgeAssetDeliveryServiceEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "CryptoWalletEnabled" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "WalletDonationEnabled" /t REG_DWORD /d 0 /f',
],
edge: [
"echo -- Uninstalling Edge",
'reg add "HKLM\\SOFTWARE\\WOW6432Node\\Microsoft\\EdgeUpdateDev" /v "AllowUninstall" /t REG_DWORD /d "1" /f',
Expand Down Expand Up @@ -924,6 +944,7 @@ document.addEventListener("DOMContentLoaded", function() {
const checkboxItems = [
{ id: "microsoftstore", type: "microsoftstore" },
{ id: "onedrive", type: "onedrive" },
{ id: "debloatedge", type: "debloatedge" },
{ id: "edge", type: "edge" },
{ id: "copilot", type: "copilot" },
{ id: "widgets", type: "widgets" },
Expand Down

0 comments on commit ba1a39a

Please sign in to comment.