diff --git a/altervp/README.md b/altervp/README.md index 58fa862..250ac5a 100644 --- a/altervp/README.md +++ b/altervp/README.md @@ -57,7 +57,7 @@ const AlterVP = { } }; - + ``` Alternatively, you can use our CDN: ```html @@ -82,5 +82,5 @@ Feel free to remove the comment line symbol (``//``) that explains the type of t * Created on 14 September 2018 by [woxly](https://github.com/woxly) * Modified on 14 September 2018 by [woxly](https://github.com/woxly) * Lost in time -* Recreated on 30 August 2022 by [Anyx](https://github.com/4yx) -* Last modified on 3 September 2022 by [Anyx](https://github.com/4yx) +* Recreated on 30 August and modified on 03 September 2022 by [Anyx](https://github.com/4yx) +* Last modified on 13 September 2022 by [Anyx](https://github.com/4yx) \ No newline at end of file diff --git a/altervp/altervp.js b/altervp/altervp.js index 4ce460e..d2a8104 100644 --- a/altervp/altervp.js +++ b/altervp/altervp.js @@ -1,8 +1,9 @@ -/* +/* @preserve * Created on 14 September 2018 by woxly -* Recreated on 30 August 2022 by Anyx -* Modified on 3 September 2022 by Anyx +* Recreated on 30 August and modified on 03 September 2022 by Anyx +* Last modified on 13 September 2022 by Anyx * DO NOT REMOVE CREDITS! +* Created for: Wybe Network. */ document.addEventListener("DOMContentLoaded", function() { // Title @@ -44,7 +45,7 @@ document.addEventListener("DOMContentLoaded", function() { if (AlterVP.credits.logo !== undefined) { script = document.createElement('script') script.setAttribute('type', 'text/javascript') - script.innerHTML = "window.addEventListener('load',function(){document.getElementById('imgPoweredByCpanel').src=AlterVP.credits.logo,document.getElementById('txtCpanelVersion').innerHTML=AlterVP.credits.desc})" + script.innerHTML = "window.addEventListener('load',function(){document.getElementById('imgPoweredByCpanel').src=AlterVP.credits.logo})" document.body.appendChild(script) } if (AlterVP.credits.desc !== undefined) { diff --git a/altervp/altervp.min.js b/altervp/altervp.min.js index d3b865e..b8bea6d 100644 --- a/altervp/altervp.min.js +++ b/altervp/altervp.min.js @@ -1,17 +1,8 @@ -/* +/* @preserve * Created on 14 September 2018 by woxly -* Recreated on 30 August 2022 by Anyx -* Modified on 3 September 2022 by Anyx +* Recreated on 30 August and modified on 03 September 2022 by Anyx +* Last modified on 13 September 2022 by Anyx * DO NOT REMOVE CREDITS! +* Created for: Wybe Network. */ -document.addEventListener("DOMContentLoaded",function(){ -// Title -void 0!==AlterVP.title&&(document.title=AlterVP.title), -// Protocol -void 0!==AlterVP.protocol&&window.location.protocol.replace(/:/g,"")!==AlterVP.protocol&&(location.protocol=AlterVP.protocol), -// Logo -void 0!==AlterVP.logo&&(document.getElementById("imgLogo").src=AlterVP.logo), -// Themes -void 0!==AlterVP.theme&&void 0!==AlterVP.category&&("lightspace"!==AlterVP.category?(themeURL=["https://vpt.cdn.wybenetwork.com",AlterVP.theme,"styles.css"].join("/"),"normal"==AlterVP.category&&(iconURL=["https://vpt.cdn.wybenetwork.com",AlterVP.theme,"icon_spritemap.css"].join("/"),icon=document.createElement("link"),icon.type="text/css",icon.rel="stylesheet",icon.href=iconURL,document.head.appendChild(icon))):themeURL=["https://vpt.cdn.wybenetwork.com",AlterVP.theme,"panel.css"].join("/"),theme=document.createElement("link"),theme.type="text/css",theme.rel="stylesheet",theme.href=themeURL,document.head.appendChild(theme)), -// Credits -void 0!==AlterVP.credits.logo&&(script=document.createElement("script"),script.setAttribute("type","text/javascript"),script.innerHTML="window.addEventListener('load',function(){document.getElementById('imgPoweredByCpanel').src=AlterVP.credits.logo,document.getElementById('txtCpanelVersion').innerHTML=AlterVP.credits.desc})",document.body.appendChild(script)),void 0!==AlterVP.credits.desc&&(document.getElementById("txtCpanelVersion").innerHTML=AlterVP.credits.desc)}); \ No newline at end of file +document.addEventListener("DOMContentLoaded",function(){void 0!==AlterVP.title&&(document.title=AlterVP.title),void 0!==AlterVP.protocol&&window.location.protocol.replace(/:/g,"")!==AlterVP.protocol&&(location.protocol=AlterVP.protocol),void 0!==AlterVP.logo&&(document.getElementById("imgLogo").src=AlterVP.logo),void 0!==AlterVP.theme&&void 0!==AlterVP.category&&("lightspace"!==AlterVP.category?(themeURL=["https://vpt.cdn.wybenetwork.com",AlterVP.theme,"styles.css"].join("/"),"normal"==AlterVP.category&&(iconURL=["https://vpt.cdn.wybenetwork.com",AlterVP.theme,"icon_spritemap.css"].join("/"),icon=document.createElement("link"),icon.type="text/css",icon.rel="stylesheet",icon.href=iconURL,document.head.appendChild(icon))):themeURL=["https://vpt.cdn.wybenetwork.com",AlterVP.theme,"panel.css"].join("/"),theme=document.createElement("link"),theme.type="text/css",theme.rel="stylesheet",theme.href=themeURL,document.head.appendChild(theme)),void 0!==AlterVP.credits.logo&&(script=document.createElement("script"),script.setAttribute("type","text/javascript"),script.innerHTML="window.addEventListener('load',function(){document.getElementById('imgPoweredByCpanel').src=AlterVP.credits.logo})",document.body.appendChild(script)),void 0!==AlterVP.credits.desc&&(document.getElementById("txtCpanelVersion").innerHTML=AlterVP.credits.desc)}); \ No newline at end of file diff --git a/change-language-link-text-changer/change-language-link-text-changer.js b/change-language-link-text-changer/change-language-link-text-changer.js index 45e0513..7e7911f 100644 --- a/change-language-link-text-changer/change-language-link-text-changer.js +++ b/change-language-link-text-changer/change-language-link-text-changer.js @@ -1,15 +1,14 @@ -/* ************************************************************************** - * +/* ************************************************************************** + * @preserve * VistaPanel Add-on - * Script Name: "Change Password" Link and Text Changer - * Author: MAHOfficial & Wybe Network - * Author URL: https://mahofficial.wybenetwork.com + * Script Name: "Change Language" Link and Text Changer + * Author: AADev & Wybe Network + * Author URL: https://aadev.wybenetwork.com * Version: 1.0 * GitHub Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations * Official Website URL: https://wybenetwork.com * This file is licensed under MIT Attribution - * Last Updated on 8th August 2020 by MAHOfficial - * + * Last Updated on 08 August 2020 by AADev ************************************************************************** */ var t = ["item_", "icon-"]; @@ -17,4 +16,4 @@ for (n=0; n<=1; n++) { document.getElementById(`${t[n]}change_language`).setAttribute("href", change_language_link) document.getElementById(`${t[n]}change_language`).innerHTML=change_language_text; -} +} \ No newline at end of file diff --git a/change-language-link-text-changer/change-language-link-text-changer.min.js b/change-language-link-text-changer/change-language-link-text-changer.min.js index b6f24e3..7211db5 100644 --- a/change-language-link-text-changer/change-language-link-text-changer.min.js +++ b/change-language-link-text-changer/change-language-link-text-changer.min.js @@ -1,15 +1,14 @@ -/* ************************************************************************** - * +/* ************************************************************************** + * @preserve * VistaPanel Add-on - * Script Name: "Change Password" Link and Text Changer - * Author: MAHOfficial & Wybe Network - * Author URL: https://mahofficial.wybenetwork.com + * Script Name: "Change Language" Link and Text Changer + * Author: AADev & Wybe Network + * Author URL: https://aadev.wybenetwork.com * Version: 1.0 * GitHub Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations * Official Website URL: https://wybenetwork.com * This file is licensed under MIT Attribution - * Last Updated on 8th August 2020 by MAHOfficial - * + * Last Updated on 08 August 2020 by AADev ************************************************************************** */ var t=["item_","icon-"];for(n=0;n<=1;n++)document.getElementById(`${t[n]}change_language`).setAttribute("href",change_language_link),document.getElementById(`${t[n]}change_language`).innerHTML=change_language_text; \ No newline at end of file diff --git a/change-language-link-text-changer/readme.md b/change-language-link-text-changer/readme.md index 8a82f5b..ee5ebab 100644 --- a/change-language-link-text-changer/readme.md +++ b/change-language-link-text-changer/readme.md @@ -27,7 +27,7 @@ The full code, using jsDelivr: var change_language_link = "your_website_url", change_language_text = "your_text"; - + ``` Alternatively, you can use our CDN: ```html diff --git a/change-password-link-text-changer/change-password-link-text-changer.js b/change-password-link-text-changer/change-password-link-text-changer.js index 777b388..9ef701c 100644 --- a/change-password-link-text-changer/change-password-link-text-changer.js +++ b/change-password-link-text-changer/change-password-link-text-changer.js @@ -1,15 +1,16 @@ -/* - * VistaPanel Add-on - * Script Name: "Change Password" Link and Text Changer - * Author: MAHOfficial & Wybe Network - * Author URL: https://mahofficial.wybenetwork.com - * Version: 1.0 - * Github Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations - * Official Website URL: https://wybenetwork.com - * This file is licensed under MIT Attribution - * - * Modified at 2 November 2018 by PlanetCloud - */ +/* ************************************************************************** + * @preserve + * VistaPanel Add-on + * Script Name: "Change Password" Link and Text Changer + * Author: AADev & Wybe Network + * Author URL: https://aadev.wybenetwork.com + * Version: 1.0 + * Github Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations + * Official Website URL: https://wybenetwork.com + * This file is licensed under MIT Attribution + * Modified at 02 November 2018 by PlanetCloud + ************************************************************************** +*/ var n = document.getElementById("lnkUserPrefChangePwd"); n.setAttribute("href", change_password_link); -n.innerHTML = change_password_text; +n.innerHTML = change_password_text; \ No newline at end of file diff --git a/change-password-link-text-changer/change-password-link-text-changer.min.js b/change-password-link-text-changer/change-password-link-text-changer.min.js index c31072f..4455bd2 100644 --- a/change-password-link-text-changer/change-password-link-text-changer.min.js +++ b/change-password-link-text-changer/change-password-link-text-changer.min.js @@ -1,13 +1,14 @@ -/* - * VistaPanel Add-on - * Script Name: "Change Password" Link and Text Changer - * Author: MAHOfficial & Wybe Network - * Author URL: https://mahofficial.wybenetwork.com - * Version: 1.0 - * Github Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations - * Official Website URL: https://wybenetwork.com - * This file is licensed under MIT Attribution - * - * Modified at 2 November 2018 by PlanetCloud - */ +/* ************************************************************************** + * @preserve + * VistaPanel Add-on + * Script Name: "Change Password" Link and Text Changer + * Author: AADev & Wybe Network + * Author URL: https://aadev.wybenetwork.com + * Version: 1.0 + * Github Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations + * Official Website URL: https://wybenetwork.com + * This file is licensed under MIT Attribution + * Modified at 02 November 2018 by PlanetCloud + ************************************************************************** +*/ var n=document.getElementById("lnkUserPrefChangePwd");n.setAttribute("href",change_password_link),n.innerHTML=change_password_text; \ No newline at end of file diff --git a/change-password-link-text-changer/readme.md b/change-password-link-text-changer/readme.md index f143c75..e9f6cbd 100644 --- a/change-password-link-text-changer/readme.md +++ b/change-password-link-text-changer/readme.md @@ -26,7 +26,7 @@ The full code, using jsDelivr: var change_password_link = "your_website_url", change_password_text = "your_text"; - + ``` Alternatively, you can use our CDN: ```html diff --git a/cpanel-logo-to-copyright/cpanel-logo-to-copyright.js b/cpanel-logo-to-copyright/cpanel-logo-to-copyright.js index eafa7b1..8551dc2 100644 --- a/cpanel-logo-to-copyright/cpanel-logo-to-copyright.js +++ b/cpanel-logo-to-copyright/cpanel-logo-to-copyright.js @@ -1,7 +1,8 @@ -/* +/* @preserve * Created at 10 July 2018 by PlanetCloud * Last modified at 02 November 2018 by PlanetCloud * DO NOT REMOVE CREDITS! +* Created for: Wybe Network. */ document.addEventListener("DOMContentLoaded", function() { if ("undefined" !== typeof b) { @@ -16,4 +17,4 @@ document.addEventListener("DOMContentLoaded", function() { '" style="display:inline-block; z-index:2147483647; visibility:visible;">'; d.innerHTML = b.company_started < c ? "\u00a9 " + b.company_started + "-" + c + " " + b.company_name + "." : "\u00a9 " + c + " " + b.company_name + "." } -}); +}); \ No newline at end of file diff --git a/cpanel-logo-to-copyright/cpanel-logo-to-copyright.min.js b/cpanel-logo-to-copyright/cpanel-logo-to-copyright.min.js index a35a0fe..3868702 100644 --- a/cpanel-logo-to-copyright/cpanel-logo-to-copyright.min.js +++ b/cpanel-logo-to-copyright/cpanel-logo-to-copyright.min.js @@ -1,6 +1,7 @@ -/* +/* @preserve * Created at 10 July 2018 by PlanetCloud * Last modified at 02 November 2018 by PlanetCloud * DO NOT REMOVE CREDITS! +* Created for: Wybe Network. */ document.addEventListener("DOMContentLoaded",function(){if("undefined"!=typeof b){var e=document.getElementById("lnkPoweredByCpanel"),n=document.getElementById("txtCpanelVersion"),a=(new Date).getFullYear();b.company_started=Number(b.company_started),e.href=b.prm_site,e.target="_blank",e.title=b.company_name,e.innerHTML=''+b.company_name+'',n.innerHTML=b.company_started - + ``` Alternatively, you can use our CDN: ```html diff --git a/dropdown-bug-fix/README.md b/dropdown-bug-fix/README.md index 6450949..eb78c98 100644 --- a/dropdown-bug-fix/README.md +++ b/dropdown-bug-fix/README.md @@ -18,7 +18,7 @@ To solve this, we need an external service which adds the correct type, like jsD The full code, using jsDelivr: ```html - + ``` Alternatively, you can use our CDN: ```html diff --git a/dropdown-bug-fix/dropdown-bug-fix.js b/dropdown-bug-fix/dropdown-bug-fix.js index 9c5ffcc..f9171c3 100644 --- a/dropdown-bug-fix/dropdown-bug-fix.js +++ b/dropdown-bug-fix/dropdown-bug-fix.js @@ -1,4 +1,4 @@ -/* +/* @preserve * Created at 06 August 2022 by Anyx. * DO NOT REMOVE CREDITS! * Created for: Wybe Network. diff --git a/dropdown-bug-fix/dropdown-bug-fix.min.js b/dropdown-bug-fix/dropdown-bug-fix.min.js index 5cc88ca..88a8a8d 100644 --- a/dropdown-bug-fix/dropdown-bug-fix.min.js +++ b/dropdown-bug-fix/dropdown-bug-fix.min.js @@ -1,4 +1,4 @@ -/* +/* @preserve * Created at 06 August 2022 by Anyx. * DO NOT REMOVE CREDITS! * Created for: Wybe Network. diff --git a/responsive-domain-search/README.md b/responsive-domain-search/README.md index 156c19c..546880a 100644 --- a/responsive-domain-search/README.md +++ b/responsive-domain-search/README.md @@ -5,7 +5,7 @@ It makes the VistaPanel search form responsive, so that it does not break the vP ## Where should I put it? Put it in the Header Advert Area (IMPORTANT). -Due to [this issue](https://github.com/VPTOfficial/VistaPanel-Customizations/issues/4) reported by [MAHOfficial](https://github.com/mahofficial), the code doesn't seem to run properly if you put it elsewhere. Thanks for reporting it. +Due to [this issue](https://github.com/VPTOfficial/VistaPanel-Customizations/issues/4) reported by [AADev](https://github.com/mahofficial), the code doesn't seem to run properly if you put it elsewhere. Thanks for reporting it. ## How can I install it? Create a script tag with `src` pointing to `responsive-domain-search.js` or `responsive-domain-search.min.js` for the minified version. @@ -32,7 +32,7 @@ The full code, using jsDelivr: affCode = "AFFILIATE_CODE_HERE"; */ - + ``` Alternatively, you can use our CDN: ```html @@ -46,9 +46,9 @@ Alternatively, you can use our CDN: Do not forget to remove the comment lines symbols (``/* OPTIONAL``and ``*/``) if you want your affiliate code to work. ## Changelog * Created on 10 July 2018 by [PlanetCloud](https://github.com/PlanetTheCloud) -* Modified at 27 July 2018 by Christine (Cyrl) -* Modified at 25 August 2018 by [Anyx](https://github.com/4yx) -* Modified on 28th September 2018 by [MAHOfficial](https://github.com/mahofficial) and [Anyx](https://github.com/4yx) -* Modified on 30th September 2018 by [PlanetCloud](https://github.com/PlanetTheCloud) -* Modified on 22th November 2018 by [Anyx](https://github.com/4yx) -* Last modified on 06th August 2022 by [Anyx](https://github.com/4yx) +* Modified on 27 July 2018 by Christine (Cyrl) +* Modified on 25 August 2018 by [Anyx](https://github.com/4yx) +* Modified on 28 September 2018 by [AADev](https://github.com/mahofficial) and [Anyx](https://github.com/4yx) +* Modified on 30 September 2018 by [PlanetCloud](https://github.com/PlanetTheCloud) +* Modified on 22 November 2018 by [Anyx](https://github.com/4yx) +* Last modified on 06 August 2022 by [Anyx](https://github.com/4yx) \ No newline at end of file diff --git a/responsive-domain-search/responsive-domain-search.js b/responsive-domain-search/responsive-domain-search.js index 6252555..01aacd9 100644 --- a/responsive-domain-search/responsive-domain-search.js +++ b/responsive-domain-search/responsive-domain-search.js @@ -1,6 +1,5 @@ -/* -* Created at 10 July 2018 by PlanetCloud. -* Modified at 02 November 2018 by PlanetCloud. +/* @preserve +* Created at 10 July and modified at 02 November 2018 by PlanetCloud. * Modified at 16 March 2019 by Dog2puppy. * Last modified at 06 August 2022 by Anyx. * DO NOT REMOVE CREDITS! @@ -27,4 +26,4 @@ document.addEventListener("DOMContentLoaded", function() { widget.innerHTML = ""; widget.appendChild(row) }) -}); +}); \ No newline at end of file diff --git a/responsive-domain-search/responsive-domain-search.min.js b/responsive-domain-search/responsive-domain-search.min.js index a7ff6ce..73166b4 100644 --- a/responsive-domain-search/responsive-domain-search.min.js +++ b/responsive-domain-search/responsive-domain-search.min.js @@ -1,6 +1,5 @@ -/* -* Created at 10 July 2018 by PlanetCloud. -* Modified at 02 November 2018 by PlanetCloud. +/* @preserve +* Created at 10 July and modified at 02 November 2018 by PlanetCloud. * Modified at 16 March 2019 by Dog2puppy. * Last modified at 06 August 2022 by Anyx. * DO NOT REMOVE CREDITS! diff --git a/theme-switcher/switcher.js b/theme-switcher/switcher.js index db9e280..81fffc9 100644 --- a/theme-switcher/switcher.js +++ b/theme-switcher/switcher.js @@ -1,7 +1,8 @@ -/* -* Created at 29 December 2018 by RanaKHAS -* Modified at 23 June 2021 by MAHOfficial -* DO NOT REMOVE CREDITS! +/* @preserve +* Created at 29 December 2018 by RanaKHAS +* Modified at 23 June 2021 by AADev +* DO NOT REMOVE CREDITS! +* Created for: Wybe Network. */ var cssId = 'wybe-network-theme-switcher'; if (!document.getElementById(cssId)) diff --git a/theme-switcher/switcher.min.js b/theme-switcher/switcher.min.js index 200aec5..411ad4c 100644 --- a/theme-switcher/switcher.min.js +++ b/theme-switcher/switcher.min.js @@ -1,6 +1,7 @@ -/* -* Created at 29 December 2018 by RanaKHAS -* Modified at 23 June 2021 by MAHOfficial -* DO NOT REMOVE CREDITS! +/* @preserve +* Created at 29 December 2018 by RanaKHAS +* Modified at 23 June 2021 by AADev +* DO NOT REMOVE CREDITS! +* Created for: Wybe Network. */ function setActiveStyleSheet(e){var t,i;for(t=0;i=document.getElementsByTagName("link")[t];t++)-1!=i.getAttribute("rel").indexOf("style")&&i.getAttribute("title")&&(i.disabled=!0,i.getAttribute("title")==e&&(i.disabled=!1))}function getActiveStyleSheet(){var e,t;for(e=0;t=document.getElementsByTagName("link")[e];e++)if(-1!=t.getAttribute("rel").indexOf("style")&&t.getAttribute("title")&&!t.disabled)return t.getAttribute("title");return null}function getPreferredStyleSheet(){var e,t;for(e=0;t=document.getElementsByTagName("link")[e];e++)if(-1!=t.getAttribute("rel").indexOf("style")&&-1==t.getAttribute("rel").indexOf("alt")&&t.getAttribute("title"))return t.getAttribute("title");return null}function createCookie(e,t,i){if(i){var r=new Date;r.setTime(r.getTime()+24*i*60*60*1e3);var n="; expires="+r.toGMTString()}else n="";document.cookie=e+"="+t+n+"; path=/"}function readCookie(e){for(var t=e+"=",i=document.cookie.split(";"),r=0;r Note: It can be combined with the b variable on cpanel-logo-to-copyright and any other scripts using it. -After initializing, create a script tag that adds `tutorial-link-changer.js` or `tutorial-link-changer.min.js` (for minified version) to the body element. Optionally, add a pseudo-id (also known as cache disabler) to ensure the script does not get cached. +After initializing, create a script tag that adds `tutorial-link-changer.js` or `tutorial-link-changer.min.js` (for minified version) to the body element. In case you do not know how to do that or are too lazy to do it, we have provided a ready code below. @@ -37,7 +40,7 @@ The full code, using jsDelivr: tutorial : "YOUR TUTORIAL LINK WITH HTTP(S) PROTOCOL", } - + ``` Alternatively, you can use our CDN: ```html @@ -49,7 +52,7 @@ Alternatively, you can use our CDN: ``` ## Changelog -* Created on 2 September 2018 by [PlanetCloud](https://github.com/PlanetTheCloud) -* Modified on 6 August 2020 by [PlanetCloud](https://github.com/PlanetTheCloud) -* Modified on 30 August 2022 by [Anyx](https://github.com/4yx) -* Last modified on 02 September 2022 by [Anyx](https://github.com/4yx) +* Created on 02 September 2018 by [PlanetCloud](https://github.com/PlanetTheCloud) +* Modified on 06 August 2020 by [PlanetCloud](https://github.com/PlanetTheCloud) +* Modified on 30 August and 02 September 2022 by [Anyx](https://github.com/4yx) +* Last modified on 13 September 2022 by [Anyx](https://github.com/4yx) diff --git a/tutorial-link-changer/tutorial-link-changer.js b/tutorial-link-changer/tutorial-link-changer.js index e3a7a33..82331e2 100644 --- a/tutorial-link-changer/tutorial-link-changer.js +++ b/tutorial-link-changer/tutorial-link-changer.js @@ -1,10 +1,15 @@ -/* -* Created on 2 September 2018 by PlanetCloud -* Modified on 6 August 2020 by PlanetCloud -* Modified on 30 August 2022 by Anyx -* Last Modified on 02 September 2022 by Anyx +/* @preserve +* Created on 02 September 2018 by PlanetCloud +* Modified on 06 August 2020 by PlanetCloud +* Modified on 30 August 2022 and 02 September 2022 by Anyx +* Last modified on 13 September 2022 by Anyx * DO NOT REMOVE CREDITS! +* Created for: Wybe Network. */ -window.addEventListener('load', function() { - PAGE.appGroups[10].items[1].url = b.tutorial; -}); +PAGE.appGroups.forEach(function(index) { + index.items.forEach(function(element) { + if (element.url == "http://tutorials.securesignup.net/") { + element.url = b.tutorial + } + }); +}); \ No newline at end of file diff --git a/tutorial-link-changer/tutorial-link-changer.min.js b/tutorial-link-changer/tutorial-link-changer.min.js index daa2711..a528792 100644 --- a/tutorial-link-changer/tutorial-link-changer.min.js +++ b/tutorial-link-changer/tutorial-link-changer.min.js @@ -1,8 +1,9 @@ -/* -* Created on 2 September 2018 by PlanetCloud -* Modified on 6 August 2020 by PlanetCloud -* Modified on 30 August 2022 by Anyx -* Last Modified on 02 September 2022 by Anyx +/* @preserve +* Created on 02 September 2018 by PlanetCloud +* Modified on 06 August 2020 by PlanetCloud +* Modified on 30 August 2022 and 02 September 2022 by Anyx +* Last modified on 13 September 2022 by Anyx * DO NOT REMOVE CREDITS! +* Created for: Wybe Network. */ -window.addEventListener("load",function(){PAGE.appGroups[10].items[1].url=b.tutorial}); \ No newline at end of file +PAGE.appGroups.forEach(function(t){t.items.forEach(function(t){"http://tutorials.securesignup.net/"==t.url&&(t.url=b.tutorial)})}); \ No newline at end of file