User:KurwaAntics/global.js

importArticles({   type: "script",    articles: [        "w:c:dev:DisplayClock/code.js",        "w:c:dev:ReferencePopups/code.js",        "w:c:dev:FindAndReplace/code.js",        "w:c:dev:RevealAnonIP/usercode.js",        "w:c:dev:YouTubeModal/code.js",        "w:c:dev:RelocateEditDiscussionButtons/code.js",        "w:c:dev:PortableCSSPad/code.js",        "w:c:dev:Pseudo-Vector.js"    ] }, {    type: "style",    articles: [        "w:c:community:User:Yhynerson1/PortableCSSPad.css"    ] });

console.log('Global js loaded.');

function notificationmodal { $.showCustomModal('Notifications', ' ', {       id: 'notifications-modal',        width: 500,        buttons: [{              message: 'Close',            handler: function {                $('#notifications-modal').closeModal;            }        }]    }); //$('.notification-section').load(window.location.href+' .notifications-for-wiki-list'); $('.notification-section').load('https://www.youtube.com/watch?v=elWLZEnDteI .watch-title'); }

$('.toolbar .tools').append('Notifications');