Skip to content

Commit

Permalink
v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
flick9000 committed Mar 2, 2025
1 parent 9e3a81b commit ac1fcf3
Show file tree
Hide file tree
Showing 15 changed files with 279 additions and 186 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/winget.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Submit flick9000.WinScript
on:
workflow_dispatch:
workflow_run:
workflows: ["publish"]
types:
- completed
release:
types: [released, published]

jobs:
sync-repo:
name: Sync winget-pkgs repo
Expand Down
52 changes: 49 additions & 3 deletions online/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,24 @@
}
}

@keyframes slide-in {
from {
transform: translateX(-150%);
}
to {
transform: translateX(0);
}
}

@keyframes slide-out {
from {
transform: translateX(0);
}
to {
transform: translateX(-150%);
}
}

html {
scroll-behavior: smooth;
user-select: none;
Expand All @@ -48,7 +66,7 @@ body {
min-height: 100vh;
color: var(--text);
background-color: hsl(from var(--background) h s l / 0);
overflow: hidden;
overflow: hidden !important;
}

::-webkit-scrollbar {
Expand All @@ -63,6 +81,7 @@ body {

h1 {
line-height: 1.5;
text-wrap: balance;
}

button {
Expand Down Expand Up @@ -113,8 +132,7 @@ button:hover {
backdrop-filter: blur(500px);
background-color: hsla(253, 50%, 7%, 0.75);
overflow-y: auto;
box-shadow: 0px 25.6px 57.6px rgb(0 0 0 / 14%),
0px 0px 16.4px rgb(0 0 0 / 12%);
box-shadow: 0px 25.6px 57.6px rgb(0 0 0 / 14%), 0px 0px 16.4px rgb(0 0 0 / 12%);
}

.sidebar {
Expand Down Expand Up @@ -221,6 +239,7 @@ button:hover {
overflow-y: auto;
max-height: 625px;
animation: pop-in 0.3s ease;
transition: padding-bottom 0.3s ease;
}

.content-entry {
Expand Down Expand Up @@ -445,6 +464,7 @@ input:checked + .slider:before {
.content {
margin-left: 1.5rem !important;
margin-right: 1.5rem;
transition: margin-left 0.3s ease;
width: 100%;
}

Expand Down Expand Up @@ -477,6 +497,32 @@ input:checked + .slider:before {
.fa-solid.fa-bars-staggered {
display: none !important;
}
.sidebar {
animation: slide-in 0.3s ease forwards;
}
}

@media (max-height: 725px) {
.tab-content.active {
padding-bottom: 10vh;
}
}

@media (max-height: 650px) {
.tab-content.active {
padding-bottom: 15vh;
}

.mockup-code {
min-height: 300px;
max-height: 300px;
}
}

@media (max-height: 625px) {
.tab-content.active {
padding-bottom: 20vh;
}
}

@media screen and (max-width: 500px) {
Expand Down
53 changes: 18 additions & 35 deletions online/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ <h1>Create Restore Point</h1>
<img src="icons/tools/sfc.png" alt="">
<div>
<h1>Verify System Integrity</h1>
<p>Runs the 'sfc /scannow' command to verify the system files integrity.</p>
<p>Verifies the system files integrity and fixes corrupt files.</p>
</div>
</div>
<div class="checkbox-wrapper">
Expand Down Expand Up @@ -204,7 +204,7 @@ <h1>Clear Browser History</h1>
<img src="icons/tools/network.png" alt="">
<div>
<h1>Reset Network</h1>
<p>Runs ipconfig commands to reset network IP address and cache.</p>
<p>Resets network IP address and cache.</p>
</div>
</div>
<div class="checkbox-wrapper">
Expand All @@ -221,7 +221,7 @@ <h1>Reset Network</h1>
<img src="icons/tools/key.png" alt="">
<div>
<h1>Run MAS</h1>
<p>Activates Windows by running Microsoft Activation Scripts.</p>
<p>Runs Microsoft Activation Scripts.</p>
</div>
</div>
<div class="checkbox-wrapper">
Expand Down Expand Up @@ -422,7 +422,7 @@ <h1>Disable Media Player</h1>
<img src="icons/debloat/store.png" alt="">
<div>
<h1>Remove MS Store</h1>
<p>You will not be able to install apps from Microsoft Store after uninstalling it.</p>
<p>You can't install apps from Microsoft Store after uninstalling it.</p>
</div>
</div>

Expand All @@ -440,7 +440,7 @@ <h1>Remove MS Store</h1>
<img src="icons/debloat/onedrive.png" alt="">
<div>
<h1>Remove OneDrive</h1>
<p>Be sure to backup your files if you're using OneDrive before removing it.</p>
<p>Be sure to backup your files before removing it.</p>
</div>
</div>
<div class="checkbox-wrapper">
Expand Down Expand Up @@ -474,7 +474,7 @@ <h1>Debloat Edge</h1>
<img src="icons/debloat/edge.png" alt="">
<div>
<h1>Remove Edge</h1>
<p>This script might not work anymore as Microsoft tries to get around it every update.</p>
<p>Uninstalls the Edge Chromium browser.</p>
</div>
</div>
<div class="checkbox-wrapper">
Expand All @@ -491,7 +491,7 @@ <h1>Remove Edge</h1>
<img src="icons/debloat/copilot.png" alt="">
<div>
<h1>Remove Copilot</h1>
<p>This will remove the Copilot AI package completely.</p>
<p>Removes the Copilot AI package completely.</p>
</div>
</div>
<div class="checkbox-wrapper">
Expand All @@ -508,7 +508,7 @@ <h1>Remove Copilot</h1>
<img src="icons/debloat/widgets.png" alt="">
<div>
<h1>Remove Widgets</h1>
<p>This will remove the Web Experience package completely.</p>
<p>Removes the Web Experience package completely.</p>
</div>
</div>
<div class="checkbox-wrapper">
Expand Down Expand Up @@ -826,29 +826,12 @@ <h1>Disable App Access to Radios</h1>

</details>

<div class="content-entry">
<div>
<img src="icons/privacy/wifi.png" alt="">
<div>
<h1>Disable Wifi Sense</h1>
<p>Wifi Sense is a service that phones home all nearby scanned wifi networks and your location.</p>
</div>
</div>
<div class="checkbox-wrapper">
<span class="indicator" id="indicator">Off</span>
<label class="switch">
<input id="wifisense" type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>

<div class="content-entry">
<div>
<img src="icons/privacy/cloud.png" alt="">
<div>
<h1>Disable Cloud Sync</h1>
<p>Feature to sync settings such as themes, passwords, and preferences across Windows devices.</p>
<p>Syncs settings, themes, passwords across Windows devices.</p>
</div>
</div>
<div class="checkbox-wrapper">
Expand Down Expand Up @@ -916,7 +899,7 @@ <h1>Disable Screen Recording</h1>
<img src="icons/privacy/map.png" alt="">
<div>
<h1>Disable Automatic Map Downloads</h1>
<p>Stops Windows from automatically downloading maps in background.</p>
<p>Stops automatic map downloads in background.</p>
</div>
</div>
<div class="checkbox-wrapper">
Expand Down Expand Up @@ -1337,7 +1320,7 @@ <h1>Disable Game Mode</h1>
<img src="icons/performance/dns.png" alt="">
<div>
<h1>Set as DNS</h1>
<p>Set your preferred DNS. You can only choose one, if you choose more, the last one will be applied.</p>
<p>You can only choose one, if you choose more, the last one will be applied.</p>
</div>
</div>
<img class="chevron" src="icons/chevron-down.png" alt="">
Expand Down Expand Up @@ -1425,7 +1408,7 @@ <h1>AdGuard DNS</h1>
<img src="icons/performance/ultimate.png" alt="">
<div>
<h1>Add Ultimate Performance</h1>
<p>This will add the Ultimate Performance power plan, to enable it go to the power options.</p>
<p>This will add and enable the Ultimate Performance power plan.</p>
</div>
</div>
<div class="checkbox-wrapper">
Expand Down Expand Up @@ -1459,7 +1442,7 @@ <h1>Set Services to Manual</h1>
<img src="icons/performance/hags.png" alt="">
<div>
<h1>Disable HAGS</h1>
<p>Disables Hardware-Accelerated GPU Scheduling, which may improve performance.</p>
<p>Disables Hardware-Accelerated GPU Scheduling.</p>
</div>
</div>
<div class="checkbox-wrapper">
Expand All @@ -1476,7 +1459,7 @@ <h1>Disable HAGS</h1>
<img src="icons/performance/limit.png" alt="">
<div>
<h1>Limit Defender CPU Usage</h1>
<p>Limits Defender CPU maximum usage at 25% instead of default 50%.</p>
<p>Limits Defender maximum CPU usage at 25% instead of default 50%.</p>
</div>
</div>
<div class="checkbox-wrapper">
Expand All @@ -1493,7 +1476,7 @@ <h1>Limit Defender CPU Usage</h1>
<img src="icons/performance/vbs.png" alt="">
<div>
<h1>Disable Core Isolation</h1>
<p>Disables Core Isolation, it will improve performance at the cost of one layer of security.</p>
<p>Disables Core Isolation, may improve performance at the cost of security.</p>
</div>
</div>
<div class="checkbox-wrapper">
Expand All @@ -1510,7 +1493,7 @@ <h1>Disable Core Isolation</h1>
<img src="icons/performance/superfetch.png" alt="">
<div>
<h1>Disable Superfetch</h1>
<p>Disables Superfetch/Prefetch, it can improve performance.</p>
<p>Disables Superfetch/Prefetch, it may improve performance.</p>
</div>
</div>
<div class="checkbox-wrapper">
Expand All @@ -1529,7 +1512,7 @@ <h1>Disable Superfetch</h1>
<img src="icons/performance/storage.png" alt="">
<div>
<h1>Disable Storage Sense</h1>
<p>Runs in the background and automatically deletes temporary files.</p>
<p>Background services that automatically deletes temporary files.</p>
</div>
</div>
<div class="checkbox-wrapper">
Expand All @@ -1547,7 +1530,7 @@ <h1>Disable Storage Sense</h1>

<div>
<h1>Disable Search</h1>
<p>Disables Windows Search, drive indexing will stop working.</p>
<p>Drive indexing will stop working.</p>
</div>
</div>
<div class="checkbox-wrapper">
Expand Down
27 changes: 4 additions & 23 deletions online/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,7 @@ document.addEventListener("DOMContentLoaded", function () {
"echo -- Disabling Consumer Features",
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent" /v "DisableWindowsConsumerFeatures" /t "REG_DWORD" /d "1" /f',
],
recall: [
"echo -- Disabling Recall",
"DISM /Online /Disable-Feature /FeatureName:Recall",
],
recall: ["echo -- Disabling Recall", "DISM /Online /Disable-Feature /FeatureName:Recall"],
iexplorer: [
"echo -- Disabling Internet Explorer",
"dism /online /Remove-Capability /CapabilityName:Browser.InternetExplorer~~~~0.0.11.0.",
Expand Down Expand Up @@ -555,12 +552,6 @@ document.addEventListener("DOMContentLoaded", function () {
"echo -- Disabling Radio access",
'reg add "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\radios" /v "Value" /d "Deny" /t REG_SZ /f',
],
wifisense: [
"echo -- Disabling WiFi Sense",
'reg add "HKLM\\SOFTWARE\\Microsoft\\PolicyManager\\default\\WiFi\\AllowWiFiHotSpotReporting" /v "value" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Microsoft\\PolicyManager\\default\\WiFi\\AllowAutoConnectToWiFiSenseHotspots" /v "value" /t REG_DWORD /d 0 /f',
'reg add "HKLM\\SOFTWARE\\Microsoft\\WcmSvc\\wifinetworkmanager\\config" /v "AutoConnectAllowedOEM" /t REG_DWORD /d 0 /f',
],
cloudsync: [
"echo -- Disabling Cloud Sync",
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\SettingSync" /v "DisableSettingSync" /t REG_DWORD /d 2 /f',
Expand Down Expand Up @@ -648,16 +639,13 @@ document.addEventListener("DOMContentLoaded", function () {
"del /s /f /q c:\\windows\\temp\\*.*",
"del /s /f /q C:\\WINDOWS\\Prefetch",
],
cleanmgr: [
"echo -- Running Disk Clean-up",
"cleanmgr /verylowdisk /sagerun:5",
],
cleanmgr: ["echo -- Running Disk Clean-up", "cleanmgr /verylowdisk /sagerun:5"],
emptyrecycle: [
"echo -- Emptying Recycle Bin",
'PowerShell -ExecutionPolicy Unrestricted -Command "$bin = (New-Object -ComObject Shell.Application).NameSpace(10); $bin.items() | ForEach {; Write-Host "^""Deleting $($_.Name) from Recycle Bin"^""; Remove-Item $_.Path -Recurse -Force; }"',
],
browserhistory: [
"echo Clearing Browser History",
"echo -- Clearing Browser History",
'del /q /s "%LocalAppData%\\Google\\Chrome\\User Data\\Default\\History"',
'del /q /s "%LocalAppData%\\Google\\Chrome\\User Data\\Default\\Cache\\*.*"',
'del /q /s "%LocalAppData%\\Google\\Chrome\\User Data\\Default\\Cookies"',
Expand Down Expand Up @@ -888,10 +876,7 @@ document.addEventListener("DOMContentLoaded", function () {
"echo -- Disabling Storage Sense",
'reg add "HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy" /v "01" /t REG_DWORD /d 0 /f',
],
disablehibernation: [
"echo -- Disabling Hibernation",
"powercfg.exe /hibernate off",
],
disablehibernation: ["echo -- Disabling Hibernation", "powercfg.exe /hibernate off"],
limitdefender: [
"echo -- Limiting Windows Defender Usage",
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Scan" /v "AvgCPULoadFactor" /t REG_DWORD /d "25" /f',
Expand Down Expand Up @@ -1042,7 +1027,6 @@ document.addEventListener("DOMContentLoaded", function () {
{ id: "calendaraccess", type: "calendaraccess" },
{ id: "motionaccess", type: "motionaccess" },
{ id: "radioaccess", type: "radioaccess" },
{ id: "wifisense", type: "wifisense" },
{ id: "cloudsync", type: "cloudsync" },
{ id: "notificationtray", type: "notificationtray" },
{ id: "activityfeed", type: "activityfeed" },
Expand Down Expand Up @@ -1141,7 +1125,6 @@ let basicIds = [
"targetads",
"privacyconsent",
"cloudsync",
"wifisense",
"screenrecording",
"automap",
"activityfeed",
Expand Down Expand Up @@ -1182,7 +1165,6 @@ let strictIds = [
"targetads",
"privacyconsent",
"cloudsync",
"wifisense",
"screenrecording",
"automap",
"activityfeed",
Expand Down Expand Up @@ -1245,7 +1227,6 @@ let extremeIds = [
"targetads",
"privacyconsent",
"cloudsync",
"wifisense",
"screenrecording",
"automap",
"activityfeed",
Expand Down
Loading

0 comments on commit ac1fcf3

Please sign in to comment.