Contact Us/Help!
Handle:
Password:
Forget Your Password?    Join for FREE!
gg1234
Marina Del Rey, LA, CA
3 blogs/41 comments
since Dec 1 2020

Level 0
AttributeLevel
Overall0
Safety0
Compliance0
Integrity0
Reliability0
Karma0
See Photo Albums
UserScript for Improved Legibility
Jan 15 2021 12:41PM more by gg1234
Tags: Orange County, Technical Site Stuff (All tags)

Pages on Humaniplex are WIDE. They span the whole width of the browser window, and for those of you with wide screens, it can make things hard to read. Your eyes are forced to continually scan side to side to take in the content. This problem is made worse if a wide image forces the content to become wider than the browser window which makes you have to scroll horizontally to see all of the content. For example, take a look at The Most Popular Incoming Prez Ever. There are a few wide images there that really messed the layout up and forced the page to be too wide for comfort.

This UserScript fixes this, by introducing a little bit of CSS to constrain the width of the content and make HX skinnier.


body {
width: 75%;
margin: auto;
max-width: 1020px;
min-width: 20rem;
}
table.outline div.float_left img {
max-width: 100%;
}


This is all we're adding to the page, but it makes a big difference especially if you have a wide screen. Those of you who browse Humaniplex with a narrow window won't need this, though. It's not for everybody, but I think it'll help a lot of people.

If you have the Violentmonkey extension installed, you can:
1. Click on hx-style.humaniplex.user.js;
2. Click on "Raw"; and
3. Confirm the installation (on the top-right), and you should be good to go.



Attached Links
The Most Popular Incoming Prez Ever
      
There are 7 comments on this blog.
lachineseguy
SGV, LA, CA
2021 blogs/18970 comments
since Mar 3 2006

Level 5
AttributeLevel
Overall5
Safety5
Compliance5
Integrity5
Reliability5
Karma5
See Photo Albums
Jan 15 2021 01:05PM     link to this

I dont trust you. what if your script installs a 5g bug in my head?
gg1234
Marina Del Rey, LA, CA
3 blogs/41 comments
since Dec 1 2020

Level 0
AttributeLevel
Overall0
Safety0
Compliance0
Integrity0
Reliability0
Karma0
See Photo Albums
Jan 15 2021 01:07PM     link to this

Just read the code. It's really short, and you don't even have to be a programmer to get what it's doing. It's just adding a lines of CSS to the page.


gg1234
Marina Del Rey, LA, CA
3 blogs/41 comments
since Dec 1 2020

Level 0
AttributeLevel
Overall0
Safety0
Compliance0
Integrity0
Reliability0
Karma0
See Photo Albums
Jan 15 2021 01:08PM     link to this

*adding a FEW lines


(Is there any way to edit posts?)



ColossusJones
AL
240 blogs/4049 comments
since Aug 21 2011

Level 3
AttributeLevel
Overall3
Safety4
Compliance4
Integrity4
Reliability4
Karma4
See Photo Albums
Jan 15 2021 02:13PM     link to this


LACG isn’t the only one.

And no. Once a post is posted, it can’t be changed. It can be removed through moderation or profile deletion.

vss4
Vegas, NV
24 blogs/2531 comments
since Jun 22 2008

Level 0
AttributeLevel
Overall0
Safety1
Compliance1
Integrity1
Reliability1
Karma1
See Photo Albums
Jan 15 2021 02:36PM     link to this

uhm could you add gundam laser sword sound to script
gg1234
Marina Del Rey, LA, CA
3 blogs/41 comments
since Dec 1 2020

Level 0
AttributeLevel
Overall0
Safety0
Compliance0
Integrity0
Reliability0
Karma0
See Photo Albums
Jan 15 2021 07:49PM     link to this

@ColossusJones
It's good to be a little paranoid in these weird times. The hope with open source software was that you could look at the code to see what it's doing, so that you can KNOW that nothing fishy is going on. That goes for Violentmonkey and that goes for my own humble UserScripts. I hope people look at the code and confirm for themselves that nothing malicious is going on, because they can.

@vss4
There's a browser extension I started using that has some tastefully done sound effects, and I was surprised by how satisfying I found it. It makes me want to use the extension more just to hear the sound. For HX, I probably wouldn't use sound effects, but I do want to incorporate sound into future projects.

However, for HX, I think I'm done writing code for now. I've solved all the immediate pain points that I experienced.

gg1234
Marina Del Rey, LA, CA
3 blogs/41 comments
since Dec 1 2020

Level 0
AttributeLevel
Overall0
Safety0
Compliance0
Integrity0
Reliability0
Karma0
See Photo Albums
Jan 15 2021 10:56PM     link to this

If you tried this script and didn't like it, it's easy to either temporarily disable or permanently remove this script. I've provided a short 14 second video to demonstrate how to do this.

Attached Links
How to Disable or Remove a UserScript
There are 7 comments on this blog.