This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(){ | |
| const appendLogin = async () => { | |
| if (!!ning.CurrentProfile) | |
| while ("function" !== typeof globalThis.jQuery) | |
| await new Promise(resolve => setTimeout(resolve, 150)) | |
| if (x$(".content-body.entry .row > div").length !== 2) return; | |
| x$(".content-body.entry .row > div:last").prepend(` <div class="grid-frame sheet section-html"> <header class="module-header"></header> <section class="module-body htmlSection"> <div class="entry-content cf"> <div class="xg_module_body xg_signup xg_lightborder"> <p>Welcome to<br>${ning.CurrentApp.name}</p> <p><big><strong><a href="/main/authorization/signUp">Sign Up</a></strong></big><br>or <a href="/main/authorization/signIn" style="white-space:nowrap">Sign In</a></p></div> </div> </section> </div>`); | |
| let style = document.createElement('style'); | |
| style.textContent = `.xg_signup.xg_lightborder.xg_module_body { line-height: 1.3; font-weight: normal; font-family: "Lucida Grande", "Lucida Sans", Verdana, sans-serif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| window.onload = () => { | |
| (function(){ | |
| if (!ning.CurrentProfile.id === ning.CurrentApp.owner) return | |
| if (!x$('.texteditor').length) return; | |
| x$('.texteditor').each(function(){ | |
| let HTMLmode = x$(this).find('.mce-tabs a:contains(HTML)'); | |
| if (HTMLmode.length) { | |
| x$(HTMLmode).on('click', function(){ | |
| setTimeout(() => addListeners(HTMLmode[0]), 100) | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(){ | |
| let links = []; | |
| $(".photoListPage-entry a").each(function () { | |
| links.push({ element: $(this).parent(), link: this.href }); | |
| }); | |
| const photosPage = "photos"; | |
| const getLikes = async (el) => { | |
| if (!el) return; | |
| let promise = new Promise(async resolve => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let links = []; | |
| $(".photoListPage-entry a").each(function () { | |
| links.push({ element: $(this).parent(), link: this.href }); | |
| }); | |
| const photosPage = "photos"; | |
| const getLikes = async (el) => { | |
| if (!el) return; | |
| let promise = new Promise(async resolve => { | |
| el.forEach((photo,index) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- disable mobile responsiveness --> | |
| <script> | |
| document.onreadystatechange = () => { | |
| (async () => { | |
| while (typeof document.getElementsByTagName('meta').viewport !== "object") | |
| await new Promise(resolve => setTimeout(resolve, 250)) | |
| eval(`document.getElementsByTagName('meta').viewport.content = ""`); | |
| })(); | |
| } | |
| </script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (async () => { | |
| while ("function" !== typeof window.jQuery) | |
| await new Promise((resolve) => setTimeout(resolve, 250)); | |
| try { | |
| $ = window.jQuery; | |
| } catch (e) {} | |
| $(".wait ~ iframe").ready(function () { | |
| $(".wait").text(""); | |
| $(".wait") | |
| .next() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;(function () { | |
| try{$ = x$}catch(e){} | |
| let _twemoji = document.createElement('script') | |
| _twemoji.src = 'https://twemoji.maxcdn.com/v/latest/twemoji.min.js' | |
| _twemoji.crossorigin = 'anonymous' | |
| document.head.appendChild(_twemoji) | |
| ;(async () => { | |
| while ('object' !== typeof window.twemoji) | |
| await new Promise((resolve) => setTimeout(resolve, 500)) | |
| let smileys = [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //no additional online checks (faster) | |
| $ !== x$ && ($ = x$); | |
| const chat = $('.module_chat_v4 .xg_module_body'); | |
| chat.parent().css({ | |
| "display": "flex", | |
| "place-content": "flex-end", | |
| "max-width": "inherit", | |
| width: '100%' | |
| }).children('.xg_module_body').css({ | |
| "width": "65%", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const SECTIONS = [ | |
| 'forum', | |
| 'article', | |
| 'blog', | |
| 'photo', | |
| 'video', | |
| 'group', | |
| 'events' | |
| ] | |
| var linksFound = [], |
NewerOlder