SMLWiki - Expanded Episodes

Adds the rest of the SML Movies to /movie/. Also adds ykcul curdosy of smlwiki fan.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         SMLWiki - Expanded Episodes
// @namespace    https://greasyfork.org/en/users/1434767
// @version      2.0
// @description  Adds the rest of the SML Movies to /movie/. Also adds ykcul curdosy of smlwiki fan.
// @author       BoyOHBoy
// @match        https://smlwiki.com/movie/
// @grant        none
// ==/UserScript==

// Background and ykcul
(function() {
    'use strict';

    document.getElementById('frame').style.width="1104px";
    document.getElementById('wall').style.width="90%";

    document.querySelectorAll('img[src="01.webp"]').forEach(img => {
        const anchorElement = document.createElement('a');
        anchorElement.href = 'https://smlwiki.com/movie/';
        anchorElement.className = 'clickable';

        const imgElement = document.createElement('img');
        imgElement.src = 'https://files.boyohboy.xyz/episodes/01.jpeg';
        imgElement.style.rotate = '11deg';
        imgElement.style.right = '0px';

        anchorElement.appendChild(imgElement);

        const container = document.querySelector('#wall') || document.body;
        container.appendChild(anchorElement);

        img.style.display = 'none';
    });

})();

// Sandme Heffouy Felix Big Big Or Ale J!
(function() {
    'use strict';

    const anchorElement = document.createElement('a');
    anchorElement.href = 'https://smlwiki.com/characters/shrek'; // Update the href to the full URL
    anchorElement.className = 'clickable';

    const imgElement = document.createElement('img');
    imgElement.src = 'https://files.boyohboy.xyz/episodes/t-sandme.jpeg';
    imgElement.style.rotate = '11deg';
    imgElement.style.left = '365px';
    imgElement.style.bottom = '30px';

    anchorElement.appendChild(imgElement);

    const container = document.querySelector('#wall') || document.body;
    container.appendChild(anchorElement);

})();

// The Collab!
(function() {
    'use strict';

    const anchorElement = document.createElement('a');
    anchorElement.href = 'https://smlwiki.com/page/collab';
    anchorElement.className = 'clickable';

    const imgElement = document.createElement('img');
    imgElement.src = 'https://files.boyohboy.xyz/episodes/t-collab.jpg';
    imgElement.style.rotate = '10deg';
    imgElement.style.left = '250px';

    anchorElement.appendChild(imgElement);

    const container = document.querySelector('#wall') || document.body;
    container.appendChild(anchorElement);
})();

// Happyryleeman Aka Battle of The Ballad of Henry Guy
(function() {
    'use strict';

    const anchorElement = document.createElement('a');
    anchorElement.href = 'https://youtu.be/ROnC0JFt1kU';
    anchorElement.className = 'clickable';

    const imgElement = document.createElement('img');
    imgElement.src = 'https://files.boyohboy.xyz/episodes/t-happy.jpeg';
    imgElement.style.rotate = '2deg';
    imgElement.style.left = '450px';

    anchorElement.appendChild(imgElement);

    const container = document.querySelector('#wall') || document.body;
    container.appendChild(anchorElement);

})();

// Mario Movies Meeted The Cast On Mario Show Me The Cast Let See Those Cast!
(function() {
    'use strict';

    const anchorElement = document.createElement('a');
    anchorElement.href = 'https://youtu.be/TAfLcHfjKoo';
    anchorElement.className = 'clickable';

    const imgElement = document.createElement('img');
    imgElement.src = 'https://files.boyohboy.xyz/episodes/t-casts.jpeg';
    imgElement.style.rotate = '-7deg';
    imgElement.style.right = '300px';
    imgElement.style.bottom = '30%';

    anchorElement.appendChild(imgElement);

    const container = document.querySelector('#wall') || document.body;
    container.appendChild(anchorElement);

})();

// Futon Cindy go kicking Congo ugly!
(function() {
    'use strict';

    const anchorElement = document.createElement('a');
    anchorElement.href = 'https://youtu.be/y0MyKKe_qJQ';
    anchorElement.className = 'clickable';

    const imgElement = document.createElement('img');
    imgElement.src = 'https://files.boyohboy.xyz/episodes/t-congo.jpeg';
    imgElement.style.rotate = '6deg';
    imgElement.style.right = '200px';

    anchorElement.appendChild(imgElement);

    const container = document.querySelector('#wall') || document.body;
    container.appendChild(anchorElement);

})();