Minecraft Blogs / Tutorial

Does Planet Minecraft cause your PC to lag?

  • 516 views, 2 today
  • 3
  • 2
  • 1
Hebgbs's Avatar Hebgbs
Level 47 : Master Archer
41

Preface

If you're using an old Intel machine like I am, you'll find that Planet Minecraft kicks the ever-lovin' snot out of your CPU. Bringing this to the attention of the community, I was ridiculed rather than being offered to discuss a resolution. In my particular use case I also didn't want Planet MInecraft to look always day or always night. And all of the elements required by Planet Minecraft for rendering the day / night cycle in real time — oof. All I gotta say about that.

If you do not care for the novelty of the dynamic header, including trophies then there's a way to make Planet Minecraft run better... by modifying your browser. Specifically, with some client-side CSS and a way to implement it on every copy of the website opened.

For brevity, it is assumed you already have some knowledge about CSS and JavaScript. Have none? Brush up — Your favourite search engine will help.

The code

For people who already have the means but want the easy answer of the how, then have this:#dynamic_header {
  display: none !Important;
}
It's not even that complicated! Just one ID is what defines the state of this header element. If you're flummoxed on how to purpose the code above —

Browser software

It matters not what browser you are using, it only matters if it supports extensions and there is a way to use them. Chrome users and their derivatives or Firefox users (modern / legacy) and derivatives can find most of these extensions for either their first-party or third-party browser-native marketplaces.
  • Stylus
  • Stylish
  • Greasemonkey
  • Tampermoney
  • Violentmonkey
While outside this post's scope, if you don't want to install another extension for this express purpose you could also wrap the code around some javascript and save the script on local machine to install in Chrome with Developer Mode enabled in the browser extension management page. That specific detail enough is what might turn a lot of people off and concede to any of the five solutions above. No matter which you use, you only need one. If there is an interest toward Javascript in the future, then don't bother with a CSS-only solution.

Implementing the code

While Stylus and Stylish are specifically for CSS, the remainder are JavaScript managers which can be handled separately from extensions in Chrome, or by enabling the use of client scripting in Firefox. For simplicity, Stylus will be assumed, as it is an open-source solution with arguably the least controversy behind it.

After installation, this icon should show up in the browser's main toolbar:Does Planet Minecraft cause your PC to lag?

Clicking on it, there will be several options specific to this extension, one of which will be to write new style for current website. The extent of the URL selected will directly influence what URL is used for the style — all which is necessary is planetminecraft.com.

After creating the new style, take the code provided above, paste, give the style a name and save. It couldn't be any more simple.

What else can I do with it?

Check out how else you can style the Internet and make your favourite websites more functional, authored by other people. Safe harbours for people to visit are userstyles.org for CSS-only works compatible with Stylus and (the website's flagship application) Stylish, and Greasy Fork for JavaScript and some CSS-only works, whenever a CSS-only work recognized as such is viewed.
Tags

1 Update Logs

Update #1 : by Hebgbs 01/07/2021 8:54:04 pmJan 7th, 2021

Tagged Firefox, forgot to even include it. Whoops.

Create an account or sign in to comment.

1
01/11/2021 1:35 am
Level 38 : Artisan Sus
Robik The Hacker Man
Robik The Hacker Man's Avatar
it Doesn't cause my pc to lag
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome