4,505
edits
No edit summary |
(Add Omnibar) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
}); | }); | ||
} | } | ||
if ($('[ | if ($('.image[href="/wiki/File:APLcart.png"]').length) { | ||
$('[ | $('.image[href="/wiki/File:APLcart.png"]').replaceWith('<iframe src="https://aplcart.info?w" style="height:38vh;width:calc(100% - 4px)">'); | ||
$('.internal[href="/wiki/File:APLcart.png"]').attr('href', 'https://aplcart.info?w'); | |||
$('.thumbinner').css('width','38vw'); | $('.thumbinner').css('width','38vw'); | ||
} | } | ||
if ($('[title="File:Ngn/apl"]').length) { | if ($('[title="File:Ngn/apl"]').length) { | ||
$('[title="File:Ngn/apl"]').replaceWith('<iframe src="https:// | $('[title="File:Ngn/apl"]').replaceWith('<iframe src="https://abrudz.github.io/ngn-apl/web/" style="height:350px;width:calc(100% - 4px)">'); | ||
$('.thumbinner').css('width',''); | |||
} | |||
if ($('[title="File:TryAPL"]').length) { | |||
$('[title="File:TryAPL"]').replaceWith('<iframe src="https://tryapl.org" style="height:350px;width:calc(100% - 4px)">'); | |||
$('.thumbinner').css('width',''); | |||
} | |||
if ($('[title="File:Omnibar"]').length) { | |||
$('[title="File:Omnibar"]').replaceWith('<iframe src="https://omnibar.rubenverg.com/" style="height:350px;width:calc(100% - 4px)">'); | |||
$('.thumbinner').css('width',''); | $('.thumbinner').css('width',''); | ||
} | } |