What's new
Mariana Bay

Join the Mariana Bay to take part in the discussion, we would love to have ya! The forum has loads to offer and in the future even more, and everyday there is something new to enjoy so what are you waiting for? Sign up now!

Misc Make Mariana Bay look cooler

Daryl

‎‎
Jannie
Joined
Jul 1, 2023
Messages
50
Reaction score
66
Awards
7
LV
0
 
Offline
Tired of mariana's basic backgrounds? With tampermonkey you can now change it by following these very simple steps!!!!

Step 0: Go to the Main Page, click Background Picker and disable "Parallax background?"
Step 1: Download tampermonkey from your browser's addon page
Step 2: Make a new script file
Step 3: Paste this in

JavaScript:
// ==UserScript==
// @name         MarianaBay but cooler
// @namespace    https://forum.marianabay.com/
// @version      1.0
// @description  deez
// @match        https://forum.marianabay.com/*
// @grant        GM_addStyle
// ==/UserScript==

(function() {
    'use strict';

    var newImageUrl = 'https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/cfc157151010897.630605bae2329.gif'; // You can change the link to whatever image you want

    var newImageElement = new Image();
    newImageElement.src = newImageUrl;

    newImageElement.onload = function() {
        var originalImage = document.getElementById('blurImage1');
        if (originalImage) {
            originalImage.parentNode.insertBefore(newImageElement, originalImage);
            newImageElement.style.display = 'block';
        }
    };
})();
Step 4: Enable & refresh

Now your forum should look like this:

Screenshot_21.png

I am aware that the original image will show for a brief moment I tried to fix it but I couldn't sorry not sorry
 

Dwayne

Le Presidente della Mariana Bay
Jannie
Joined
Mar 31, 2023
Messages
202
Reaction score
122
Awards
30
Location
Mariana Bay
LV
2
 
Offline
I actually really like this idea and looked into it way back in April but the people behind the forum's theme made it sound like gifs will make the forum shit the bed and take up loads of storage space if used as backgrounds lol
Screenshot_20230820_114850_Chrome.jpg
Screenshot_20230820_115129_Chrome.jpg
I never got the solution in the end and may have to prod again to get the code needed, if not I'll have to figure out my own solution to making it work. Either way I'll look into this again and make gif wallpapers a new background style when I can due to renewed interest in it.
 

Daryl

‎‎
Jannie
Joined
Jul 1, 2023
Messages
50
Reaction score
66
Awards
7
LV
0
 
Offline
I actually really like this idea and looked into it way back in April but the people behind the forum's theme made it sound like gifs will make the forum shit the bed and take up loads of storage space if used as backgrounds lol
I never got the solution in the end and may have to prod again to get the code needed, if not I'll have to figure out my own solution to making it work. Either way I'll look into this again and make gif wallpapers a new background style when I can due to renewed interest in it.

Then keep it as is and people can use my method if they want to :D
 

Xunzi

Member
Joined
Aug 14, 2023
Messages
24
Reaction score
31
Awards
5
LV
0
 
Offline
Tired of mariana's basic backgrounds? With tampermonkey you can now change it by following these very simple steps!!!!

Step 0: Go to the Main Page, click Background Picker and disable "Parallax background?"
Step 1: Download tampermonkey from your browser's addon page
Step 2: Make a new script file
Step 3: Paste this in

JavaScript:
// ==UserScript==
// @name         MarianaBay but cooler
// @namespace    https://forum.marianabay.com/
// @version      1.0
// @description  deez
// @match        https://forum.marianabay.com/*
// @grant        GM_addStyle
// ==/UserScript==

(function() {
    'use strict';

    var newImageUrl = 'https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/cfc157151010897.630605bae2329.gif';

    var newImageElement = new Image();
    newImageElement.src = newImageUrl;

    newImageElement.onload = function() {
        var originalImage = document.getElementById('blurImage1');
        if (originalImage) {
            originalImage.parentNode.insertBefore(newImageElement, originalImage);
            newImageElement.style.display = 'block';
        }
    };
})();
Step 4: Enable & refresh

Now your forum should look like this:

View attachment 1530

I am aware that the original image will show for a brief moment I tried to fix it but I couldn't sorry not sorry
Holy damn! That looks nice!
 

Dwayne

Le Presidente della Mariana Bay
Jannie
Joined
Mar 31, 2023
Messages
202
Reaction score
122
Awards
30
Location
Mariana Bay
LV
2
 
Offline
@Daryl My bad for not noticing this sooner but yes, it looks to be possible
06b77b99c9c20c39dc572303263afaf5.png
 

Khastle

Herald of the Mariana
Jannie
Joined
Apr 2, 2023
Messages
812
Reaction score
374
Awards
66
Location
Dwayne's Basement, Mariana Bay
LV
3
 
Online
Well it's obvious that it's possible but the main reason for me making this script was not really for the ability to have an animated image but to have the ability to change the background to whatever I would like
Fairs. Still gonna try and make the site look more animated tho as it will help it look better for sure
 
Boatyard
Rules Help Users
  • No one is chatting at the moment.
    Dwayne @ Dwayne: +1