Skip to content

Commit

Permalink
Updated to v.3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gerwld committed Feb 6, 2025
1 parent 1558f0e commit fde926a
Show file tree
Hide file tree
Showing 32 changed files with 328 additions and 124 deletions.
13 changes: 11 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import chalk from 'chalk';
let { src, dest, task, series } = gulp;
const link = chalk.hex('#5e98d9');
const EXTENSION_NAME = 'igplus'
const EXTENSION_V = 'v.2.3.0.2'
const EXTENSION_V = 'v.3.0.0'
const COPYRIGHT = `// - This file is part of IGPlus Extension
// <https://github.com/gerwld/IGPlus-extension/blob/main/README.md>,
// - Copyright (C) 2023-present IGPlus Extension
Expand Down Expand Up @@ -103,6 +103,14 @@ task('minifyJS', async function () {
.pipe(dest('./public/firefox/assets/js/'))
});

//## Pass JS (dev mode) ##//
task('passJS', async function () {
src(['./src/assets/js/*.js'])
.pipe(gulpFlatten({ includeParents: 4 }))
.pipe(dest('./public/chromium/assets/js/'))
.pipe(dest('./public/firefox/assets/js/'))
});

//## Minify HTML ##//
task('minifyHTML', async function () {
src(['./src/content/*.html'])
Expand Down Expand Up @@ -194,10 +202,11 @@ task('watch', function () {
});

task('build', series('minifyImg', "minifyCSS", "minifyJS", "minifyHTML", "addOther"));
task('build_dev', series('minifyImg', "minifyCSS", "passJS", "minifyHTML", "addOther"));
task('build_md', series('minifyImg', "minifyCSS", "minifyJS", "minifyHTML", "addOther", "source", "zipper"));

// Task to run the build and start the watcher
task('dev', series('build', 'watch'));
task('dev', series('build_dev', 'watch'));
// TODO: Faster Dev builds
task('edge', series('build', 'watch'));
task('firefox', series('build', 'watch'));
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_extensionName__",
"description": "__MSG_extensionDescription__",
"version": "2.3.0.2",
"version": "3.0.0",
"default_locale": "en",
"icons": {
"128": "assets/icons/icon128.png"
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"firefox": "npm run clean && gulp firefox",
"build": "npm run clean && gulp build",
"build:prod": "npm run clean && gulp build_md",
"fetch:all": "pnpm fetch:day && pnpm fetch:night && pnpm fetch:morning",
"test": "clear && echo 'Tests not implemented yet. Please check manually.'",
"clean": "rm -rf ./public"
},
Expand Down
2 changes: 1 addition & 1 deletion src/_locales/ar/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"message": "التبرع عبر باي بال"
},
"d_kofi": {
"message": "دعمني على Ko-Fi"
"message": "دعمني على Ko-Fi.com"
},
"d_card": {
"message": "التبرع عبر بطاقة الائتمان أو الخصم"
Expand Down
2 changes: 1 addition & 1 deletion src/_locales/be/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"message": "Падтрымаць праз PayPal"
},
"d_kofi": {
"message": "Падтрымаць на Ko-Fi"
"message": "Падтрымаць на Ko-Fi.com"
},
"d_card": {
"message": "Падтрымаць карткай"
Expand Down
2 changes: 1 addition & 1 deletion src/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"message": "Spenden über PayPal"
},
"d_kofi": {
"message": "Unterstützen Sie mich auf Ko-Fi"
"message": "Unterstützen Sie mich auf Ko-Fi.com"
},
"d_card": {
"message": "Mit Kredit- oder Debitkarte spenden"
Expand Down
6 changes: 3 additions & 3 deletions src/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"message": "IGPlus - Hide Instagram Reels, Explore Page"
},
"extensionDescription": {
"message": "Disable Instagram Shorts, videos, comments, suggestions wall, vanity metrics, homepage recomendations, trending... and many more."
"message": "2025 • Open-source • Disable Instagram Shorts, videos, comments, suggestions wall, vanity metrics, homepage recommendations, trending... and many more."
},
"disabled": {
"message": "You turned off IGPlus"
Expand Down Expand Up @@ -60,7 +60,7 @@
"message": "Disable \"New messages\" labels"
},
"mi_8": {
"message": "Disable recomendations (Main page)"
"message": "Disable recommendations (Main page)"
},
"mi_9": {
"message": "Disable Feed (experimental)"
Expand Down Expand Up @@ -129,7 +129,7 @@
"message": "Donate with PayPal"
},
"d_kofi": {
"message": "Support with Ko-Fi"
"message": "Support with Ko-Fi.com"
},
"d_card": {
"message": "Donate using card"
Expand Down
2 changes: 1 addition & 1 deletion src/_locales/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"message": "Donar a través de PayPal"
},
"d_kofi": {
"message": "Apóyame en Ko-Fi"
"message": "Apóyame en Ko-Fi.com"
},
"d_card": {
"message": "Donar con tarjeta de crédito o débito"
Expand Down
2 changes: 1 addition & 1 deletion src/_locales/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"message": "Faire un don via PayPal"
},
"d_kofi": {
"message": "Soutenez-moi sur Ko-Fi"
"message": "Soutenez-moi sur Ko-Fi.com"
},
"d_card": {
"message": "Faire un don par carte bancaire"
Expand Down
2 changes: 1 addition & 1 deletion src/_locales/ja/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"message": "PayPalで寄付する"
},
"d_kofi": {
"message": "Ko-Fiでサポートする"
"message": "Ko-Fi.comでサポートする"
},
"d_card": {
"message": "デビットカードで寄付する"
Expand Down
2 changes: 1 addition & 1 deletion src/_locales/pl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"message": "Wesprzyj na PayPal"
},
"d_kofi": {
"message": "Wesprzyj na Ko-Fi"
"message": "Wesprzyj na Ko-Fi.com"
},
"d_card": {
"message": "Wesprzyj poprzez kartę debetową"
Expand Down
2 changes: 1 addition & 1 deletion src/_locales/ru/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"message": "Задонатить через PayPal"
},
"d_kofi": {
"message": "Поддержать на Ko-Fi"
"message": "Поддержать на Ko-Fi.com"
},
"d_card": {
"message": "Донат банковской картой"
Expand Down
2 changes: 1 addition & 1 deletion src/_locales/sv/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"message": "Donera via PayPal"
},
"d_kofi": {
"message": "Stöd mig på Ko-Fi"
"message": "Stöd mig på Ko-Fi.com"
},
"d_card": {
"message": "Donera med kredit- eller betalkort"
Expand Down
2 changes: 1 addition & 1 deletion src/_locales/uk/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"message": "Задонатити через PayPal"
},
"d_kofi": {
"message": "Підтримати на Ko-Fi"
"message": "Підтримати на Ko-Fi.com"
},
"d_card": {
"message": "Донат дебетовою картою"
Expand Down
2 changes: 1 addition & 1 deletion src/_locales/zh/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"message": "通过 PayPal 捐赠"
},
"d_kofi": {
"message": "在 Ko-Fi 上支持我"
"message": "在 Ko-Fi.com 上支持我"
},
"d_card": {
"message": "通过借记卡捐赠"
Expand Down
6 changes: 6 additions & 0 deletions src/assets/graphs/block_images.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,9 @@ img {
var(--background-noise) !important;
background-image: linear-gradient(rgba(0, 0, 0, 0.6) 0, var(--background-base) 100%), var(--background-noise) !important;
}


/* KF button */
#b705b0e5b14434a529cff55fd61131489 img {
display: block!important;
}
5 changes: 5 additions & 0 deletions src/assets/graphs/disable_comments.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,9 @@ article .x9f619.xjbqb8w.x78zum5.x168nmei.x13lgxp2.x5pf9jr.xo71vjh.x1uhb9sk.x1plv
._a9z6._a9za > div.xryxfnj:nth-child(2),
._a9z6._a9za > div.xryxfnj:nth-child(3) {
display: none!important;
}

/* Reels Comment section */
.x1qhh985.xm0m39n.x9f619.xe8uvvx[role="button"][tabindex="0"]:has(div>svg>path[d="M20.656 17.008a9.993 9.993 0 1 0-3.59 3.615L22 22Z"]) {
display: none!important;
}
11 changes: 11 additions & 0 deletions src/assets/graphs/disable_vanity.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,14 @@ button.hide_ls2 {
background-image: none!important;
}

/* /Reels Comments count */
.x1qhh985.xm0m39n.x9f619.xe8uvvx[role="button"][tabindex="0"]:has(div>svg>path[d="M20.656 17.008a9.993 9.993 0 1 0-3.59 3.615L22 22Z"])
.html-span.xdj266r {
display: none!important;
}

/* /Reels Likes count */
div.xdj266r.x11i5rnm.x1mh8g0r.xexx8yu.x4uap5.x18d9i69:has(svg>path[d="M16.792 3.904A4.989 4.989 0 0 1 21.5 9.122c0 3.072-2.652 4.959-5.197 7.222-2.512 2.243-3.865 3.469-4.303 3.752-.477-.309-2.143-1.823-4.303-3.752C5.141 14.072 2.5 12.167 2.5 9.122a4.989 4.989 0 0 1 4.708-5.218 4.21 4.21 0 0 1 3.675 1.941c.84 1.175.98 1.763 1.12 1.763s.278-.588 1.11-1.766a4.17 4.17 0 0 1 3.679-1.938m0-2a6.04 6.04 0 0 0-4.797 2.127 6.052 6.052 0 0 0-4.787-2.127A6.985 6.985 0 0 0 .5 9.122c0 3.61 2.55 5.827 5.015 7.97.283.246.569.494.853.747l1.027.918a44.998 44.998 0 0 0 3.518 3.018 2 2 0 0 0 2.174 0 45.263 45.263 0 0 0 3.626-3.115l.922-.824c.293-.26.59-.519.885-.774 2.334-2.025 4.98-4.32 4.98-7.94a6.985 6.985 0 0 0-6.708-7.218Z"])
.html-span.xdj266r {
display: none!important;
}
4 changes: 1 addition & 3 deletions src/assets/graphs/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -835,9 +835,7 @@ a.don_btn {
}

.donate_nav a:active {
box-shadow: 0px -2px 0 0 var(--shadow-color-1);
transform: translateY(3px);
transition: transform 50ms ease, box-shadow 50ms ease;
outline: none!important;
}

.donate_nav span {
Expand Down
Binary file modified src/assets/icons/icon128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions src/assets/icons/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions src/assets/img/background_plain.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 21 additions & 39 deletions src/assets/img/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit fde926a

Please sign in to comment.