If there's Custom CSS then where's the Custom JS?
-
We can set custom CSS, but where is the ability to set custom JS to complete the customizeability?
sure I could use a tampermonkey script, but that wouldn't work across all browsers and machines and it certainly wouldn't work for mobile....
so..... where is the Custom Javascript to complement the custom CSS?
-
-
@TwelveBaud said in If there's Custom CSS then where's the Custom JS?:
works on mobile? works on any PC any browser? built into the site the way the custom CSS is (which I will note you could have accomplished the same thing greasemonky/tampermoneky can do for JS with stylish..... but you'd have the same drawbacks too.... :-P
-
There's no way this could go wrong.
-
@loopback0 said in If there's Custom CSS then where's the Custom JS?:
There's no way this could go wrong.
:zwj:
-
@loopback0 said in If there's Custom CSS then where's the Custom JS?:
There's no way this could go wrong.
I actually can't see any immediate dangers to it. But I agree, that was my first reaction too.
-
@topspin It could accidentally get exec'd server side since everything is javascript
-
@Vixen said in If there's Custom CSS then where's the Custom JS?:
works on mobile?
Yes, in Chrome and Firefox; use TamperMonkey on Windows Phone. Scripts are fully cross-compatible.
(iPhone Safari has GreasePocket, which isn't fully compatible, but you can use Chrome or Firefox for iOS, which supports GreaseMonkey, and they'll use Safari's rendering engine)@Vixen said in If there's Custom CSS then where's the Custom JS?:
works on any PC any browser?
Other than macOS Safari, yes.
-
@TwelveBaud said in If there's Custom CSS then where's the Custom JS?:
iPhone
HISS! EVIL!
NOT ALLOWED IN MY NONEXISTANT POCKETS!
-
@Vixen said in If there's Custom CSS then where's the Custom JS?:
@TwelveBaud said in If there's Custom CSS then where's the Custom JS?:
iPhone
HISS! EVIL!
NOT ALLOWED IN MY NONEXISTANT POCKETS!
So they are allowed in your existing pockets?
Negation isn't not fun.
-
@Benjamin-Hall said in If there's Custom CSS then where's the Custom JS?:
@Vixen said in If there's Custom CSS then where's the Custom JS?:
@TwelveBaud said in If there's Custom CSS then where's the Custom JS?:
iPhone
HISS! EVIL!
NOT ALLOWED IN MY NONEXISTANT POCKETS!
So they are allowed in your existing pockets?
Negation isn't not fun.
Nil.
I do not have pockets to deny them access.
if i had pockets they would be forbidden, but i don't so they're only forbidden from my pockets what don't exist because i don't have pockets what exist.
-
-
@hungrier said in If there's Custom CSS then where's the Custom JS?:
the only change you have of having me own an apple product is:
- Over my cold, dead, dessicated corpse
or - By gifting it to me.
however, in the second case note that I will own it only so long as it takes to throw it into an industrial shredder. unless you included the receipt and the receipt allows me to return the item for cash, or is from a store that sells non apple products, in which case there's a 50/50 chance i will return it instead of shredding it.
- Over my cold, dead, dessicated corpse
-
@Benjamin-Hall said in If there's Custom CSS then where's the Custom JS?:
@Vixen said in If there's Custom CSS then where's the Custom JS?:
NOT ALLOWED IN MY NONEXISTANT POCKETS!
So they are allowed in your existing pockets?
I'm disappointed, you should know better than this.
-
@topspin said in If there's Custom CSS then where's the Custom JS?:
@loopback0 said in If there's Custom CSS then where's the Custom JS?:
There's no way this could go wrong.
I actually can't see any immediate dangers to it. But I agree, that was my first reaction too.
The biggest issue would be the possibility of putting some javascript in that makes everything break. At least with a userscript you'd have the option to toggle it off from the menu without having to go through broken pages to do it.
-
@brie said in If there's Custom CSS then where's the Custom JS?:
The biggest issue would be the possibility of putting some javascript in that makes everything break.
Be vewy vewy vewy careful...
We're hunting Javascript
Also, we can use postman to save our settings if we extract the right cookies to feed to it. that would let us unfuck ourselves if needed. :-)
-
@Vixen said in If there's Custom CSS then where's the Custom JS?:
Also, we can use postman to save our settings if we extract the right cookies to feed to it. that would let us unfuck ourselves if needed. :-)
If there's a potentially site-breaking feature that's built in to the forum, it'd make more sense to have the option to unfuck ourselves also built in somehow. Probably in the form of some "safe mode" flag that can be selected to disable the custom JS long enough for you to get to your settings and fix (or delete) it.
-
@brie said in If there's Custom CSS then where's the Custom JS?:
@Vixen said in If there's Custom CSS then where's the Custom JS?:
Also, we can use postman to save our settings if we extract the right cookies to feed to it. that would let us unfuck ourselves if needed. :-)
If there's a potentially site-breaking feature that's built in to the forum, it'd make more sense to have the option to unfuck ourselves also built in somehow. Probably in the form of some "safe mode" flag that can be selected to disable the custom JS long enough for you to get to your settings and fix (or delete) it.
that could probably be implemented....
https://what.thedailywtf.com/user/vixen/settings?noCustomJS
or maybe by making it so the custom JS doesn't load on the settings page at all? that way when you go to the settings page the custom JS doesn't run so you don't get slammed with it?
EDIT
s/CSS/JS/g