Misc Why the FUCK won't this javascript just fucking work?

jeffyTheHomebrewer

Neato Burrito!
OP
Member
Joined
Aug 24, 2018
Messages
1,630
Trophies
1
Location
his house!
Website
catboybeebop.neocities.org
XP
3,520
Country
United States
The script: https://github.com/adryd325/oneko.js
The page I'm trying to make it work on: https://catboybeebop.neocities.org/pages/about.html

No matter what I fucking do it never shows up. I'm tired, hungry, pissed off, and don't get why it won't work. Everything is there in /scripts/. I added the script to the HTML correctly. I've tried making it the only script on the page. I even tried blanking out the page with the only addon being the script.

The STUPID FUCKING IDIOT demo page from the repo FOR SOME FUCKING REASON ACTUALLY WORKS BUT NO OTHER PAGES I PUT THE SCRIPT ON WORK. HELL ON EARTH.

sorry for yelling but i cant fucking take this anymore why the fuck isnt it working
 
  • Wow
Reactions: impeeza

Scarlet

Onion Soup
Editorial Team
GBAtemp Patron
Joined
Jan 7, 2015
Messages
5,229
Trophies
2
Location
Middleish South-Left
Website
scarlet.works
XP
15,348
Country
United Kingdom
It’s one thing to vent a bit here, but you really should edit your GitHub issue to be a little more polite to the creator. You aren’t likely to get any help from them when you’re shouting directly at them.
 

jeffyTheHomebrewer

Neato Burrito!
OP
Member
Joined
Aug 24, 2018
Messages
1,630
Trophies
1
Location
his house!
Website
catboybeebop.neocities.org
XP
3,520
Country
United States
done but if you happen to know what the hell is going on i would appreciate some help here
It’s one thing to vent a bit here, but you really should edit your GitHub issue to be a little more polite to the creator. You aren’t likely to get any help from them when you’re shouting directly at them.
 

tastymeatball

Well-Known Member
Member
Joined
Nov 30, 2016
Messages
279
Trophies
0
Age
38
XP
2,543
Country
Germany
First the script tag has to be put inside the body block of your document. The script refrences the body of the document which is not loaded when it finds the script tag in the header. Second the /img/maia_oneko.gif does not exist on your server.
 
Last edited by tastymeatball,
  • Like
Reactions: Tomato123

Tomato123

Well-Known Member
Member
Joined
Feb 8, 2020
Messages
735
Trophies
1
Location
England
XP
2,553
Country
United Kingdom
First the script tag has to put into inside the body block of your document. The script refrences the body of the document which is not loaded when it finds the script tag in the header. Second the /img/maia_oneko.gif does not exist on your server.
It's this ^
Mirrored the site and made these changes then it worked. Just move the script tag containing oneko.js into the body and make sure the gif exists. Also not sure why it's renamed to maia_oneko.gif but might cause more issues if you don't keep that in mind with your copy of the javascript.
 

Tomato123

Well-Known Member
Member
Joined
Feb 8, 2020
Messages
735
Trophies
1
Location
England
XP
2,553
Country
United Kingdom
yes, lets be an idiot and swear a lot. Because that will help you get help from the developer... honestly. Just report bugs and ask help nicely.
To be fair, I know how infuriating it can be when something like this doesn't work. Feels like banging your head against a brick wall. A bit of an over reaction, but understandable imo.
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,397
Trophies
2
XP
18,350
Country
Sweden
To be fair, I know how infuriating it can be when something like this doesn't work. Feels like banging your head against a brick wall. A bit of an over reaction, but understandable imo.
Oh of course, but if I need the help. I don't act like 12 year old having a tempertantrum to get the help needed from the dev.
 

pwsincd

Garage Flower
Developer
Joined
Dec 4, 2011
Messages
3,686
Trophies
2
Location
Manchester UK
XP
4,482
The script: https://github.com/adryd325/oneko.js
The page I'm trying to make it work on: https://catboybeebop.neocities.org/pages/about.html

No matter what I fucking do it never shows up. I'm tired, hungry, pissed off, and don't get why it won't work. Everything is there in /scripts/. I added the script to the HTML correctly. I've tried making it the only script on the page. I even tried blanking out the page with the only addon being the script.

The STUPID FUCKING IDIOT demo page from the repo FOR SOME FUCKING REASON ACTUALLY WORKS BUT NO OTHER PAGES I PUT THE SCRIPT ON WORK. HELL ON EARTH.

sorry for yelling but i cant fucking take this anymore why the fuck isnt it working
dont care for your attitude but wanted to comment on how GEOCITIES that site is....
 
  • Like
Reactions: jeffyTheHomebrewer

jurassicplayer

Completionist Themer
Member
Joined
Mar 7, 2009
Messages
4,486
Trophies
1
Location
Pantsuland
Website
www.youtube.com
XP
2,935
Country
United States
Just as a person looking at the GH issue, if this were on one of my projects, I'd assume you were a moron and a child. I'm not even sure I would help you beyond a `double check your setup`, since it is entirely...probably your setup.

To be fair, I know how infuriating it can be when something like this doesn't work. Feels like banging your head against a brick wall. A bit of an over reaction, but understandable imo.
No, it isn't understandable. Shouldn't even try to validate/justify that reaction. It's like calling up customer support and yelling at them for a shit product that doesn't work just because you don't know how to plug the machine into an outlet.
 
Last edited by jurassicplayer,

Tomato123

Well-Known Member
Member
Joined
Feb 8, 2020
Messages
735
Trophies
1
Location
England
XP
2,553
Country
United Kingdom
No, it isn't understandable. Shouldn't even try to validate/justify that reaction. It's like calling up customer support and yelling at them for a shit product that doesn't work just because you don't know how to plug the machine into an outlet.
Not saying it is the correct response as clearly it is not. No one should be shouting and swearing at anyone. Just saying it is understandable why they did get annoyed in that situation, not that taking it out on others is acceptable.
 

Lostbhoy

HEY YOU GUYS!
Member
Joined
Aug 23, 2009
Messages
2,537
Trophies
2
Age
44
Location
Scotland
XP
5,300
Country
United Kingdom
I don't see the op aiming their frustration at anyone, just the problem.. which we have all been in!

Maybe take the swearing out of the title but again, venting is perfectly normal as its not aimed at a person. Again... We all been there so let's not make false accusations just because they swore alot!
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,397
Trophies
2
XP
18,350
Country
Sweden
I don't see the op aiming their frustration at anyone, just the problem.. which we have all been in!

Maybe take the swearing out of the title but again, venting is perfectly normal as its not aimed at a person. Again... We all been there so let's not make false accusations just because they swore alot!
Check the Github
 
  • Like
Reactions: Lostbhoy

jeffyTheHomebrewer

Neato Burrito!
OP
Member
Joined
Aug 24, 2018
Messages
1,630
Trophies
1
Location
his house!
Website
catboybeebop.neocities.org
XP
3,520
Country
United States
Just as a person looking at the GH issue, if this were on one of my projects, I'd assume you were a moron and a child. I'm not even sure I would help you beyond a `double check your setup`, since it is entirely...probably your setup.


No, it isn't understandable. Shouldn't even try to validate/justify that reaction. It's like calling up customer support and yelling at them for a shit product that doesn't work just because you don't know how to plug the machine into an outlet.
i have checked my setup over and over and still don't understand what's going wrong. Everything is in the right place on neocities. But it just hates me for some reason.
Post automatically merged:

Hell, even then I didn't mean for my venting to be AT the dev. I didn't think it'd be read like that. Either way I am sorry for it though.
Post automatically merged:

It's this ^
Mirrored the site and made these changes then it worked. Just move the script tag containing oneko.js into the body and make sure the gif exists. Also not sure why it's renamed to maia_oneko.gif but might cause more issues if you don't keep that in mind with your copy of the javascript.
right, shit. somehow thought Maia Crimew somehow changed something thatd make it work so I temporarily just pasted in her version of the script as a last resort.. still don't understand why it NEEDS the body tag. I KNOW it's "proper" html and all but man, if that ain't just annoying when the page renders all the same without it.
Post automatically merged:

It works finally. Thank you all.
 
Last edited by jeffyTheHomebrewer,

GeekyGuy

Professional loafer
Former Staff
Joined
Jun 21, 2007
Messages
5,269
Trophies
2
XP
3,072
Country
United States
the-big-lebowski-jeff-bridges.gif
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    i just want a wizard to stick his wand (whether literal or figurative is up to interpretation, either way it's either freaky or sus, or both i guess) up my ass
  • BigOnYa @ BigOnYa:
    I'm making Texas sheet cake for first time today, my Nieghbor brought us some few weeks ago and damn that's good, so I got her recipe and gonna try it today.
  • BakerMan @ BakerMan:
    mmm, sounds good
  • BigOnYa @ BigOnYa:
    Its not a brownie, and its not a cake, so what is it- Texas sheet cake.
  • BigOnYa @ BigOnYa:
    I tried making chocolate lava cakes the other day in cupcake pan, what a mess, my lava exploded out of the cakes everywhere while baking, was still ok tho, just no lava inside.
  • BigOnYa @ BigOnYa:
    We had our grandkids over yesterday and I got a small above ground swimming pool I filled for them to play in. Well today I woke to find 3 ducks swimming around in it. Don't mind really but they are annoyingly loud, quack quack. Gotta drain it today. Guess what were having for dinner, lol.
    +1
  • BakerMan @ BakerMan:
    lol
  • AncientBoi @ AncientBoi:
    BBQ'd 🦆
    +1
  • BakerMan @ BakerMan:
    also i'm sorry your molten lava cakes failed
    +2
  • BakerMan @ BakerMan:
    just looked up a pic of texas sheet cake, and it looks delicious
    +1
  • AncientBoi @ AncientBoi:
    🌋 Science Project?
  • BakerMan @ BakerMan:
    i think i might need to try making lava cakes for the 4th of july fr
    +2
  • BigOnYa @ BigOnYa:
    I used butter instead of vegetable oil, and think that's why they squirted out during baking, who knows
  • BakerMan @ BakerMan:
    yeah i think oil is the right call
    +1
  • BakerMan @ BakerMan:
    plus if you're making brownies or lava cakes for people with dairy allergies, you should use oil instead of butter anyway
    +2
  • ZeroT21 @ ZeroT21:
    @BakerMan Make me a space cake plz
  • BigOnYa @ BigOnYa:
    I make rum cake for 4th July every year, I make it a week prior and then soak it in rum in the fridge all week. I flip the cake each day, and add little more rum, it soaks it up everyday, so good.
    +2
  • BakerMan @ BakerMan:
    sorry, idk what you mean by a space cake, and even if i did, i'm not really taking requests right now, because otherwise people will get mad at me for taking a request but not making a birthday cake for @Xdqwerty (i'm sorry for that btw bro)
  • ZeroT21 @ ZeroT21:
    @BakerMan lies, you just want to smoke it

    :rofl2:
    +1
  • ZeroT21 @ ZeroT21:
    Guess all the food in my fridge can knock out a cow or two
  • ZeroT21 @ ZeroT21:
    I should visit Florida again, miss the alligator barbecues
  • BigOnYa @ BigOnYa:
    Me and wifey was deciding on our next vacation, so I hung up a map on the wall, and give her a dart and said, wherever you hit, we will go. She threw the dart and it missed the map completely and fell into a trash can below on floor. So I said "ok Florida it is."
    +1
  • BakerMan @ BakerMan:
    @ZeroT21 ohhh a pot cake?
    +1
  • SylverReZ @ SylverReZ:
    Gimme some of dat
    SylverReZ @ SylverReZ: Gimme some of dat