Neocities.org

The Home Site of JeremyRedhead

jeremyredhead.neocities.org

165,150 views
54 followers
1,145 updates
0 tips
I saw your comment about using document.write not being smart? I know Firefox works just fine because I use Firefox when making my site, so I'm not sure what you're talking about when you say that Firefox does not tolerate my use of document.write?
kalex 5 years ago

(also, if you're referring to how I stupidly had declared doctype in both my pages and my header.js, I fixed it)

kalex 5 years ago

Alright, I just read your source over - yeah, I see that Internet Explorer doesn't support (`content`), didn't realize. Although, to be fair, that 2.56% of the browser marketshare (and declining) aren't necessarily my target audience. I'll be sure to update my site though on the weekend to work with all browsers either way - but if you're using Internet Explorer, move on, pick up Vivaldi or Firefox or even just Edge

1 like
jeremyredhead 5 years ago

Oh, weird, maybe it's a version thing? (I'm on 66.0.3) ...actually, I just noticed, header.js is being served as absolute link to your NC... i think that's the problem, actually? (some sort of CORS issue) [here i come acting like a know-it-all and i didn't even check the line numbers on the console messages -- SMH]

jeremyredhead 5 years ago

Console Errors: Loading failed for the < script > with source “https://comfydev.neocities.org/header.js”. comfydev.com:14:1 An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing comfydev.com:59

jeremyredhead 5 years ago

I still stand by my assertion that manipulation of the DOM (rather than document.write) is the way to go being less error-prone. Vivaldi/chromium doesn't seem happy with document.write inserting < script > tags -- warnings in the console link to: https://www.chromestatus.com/feature/5718547946799104 and also: https://developers.google.com/web/updates/2016/08/removing-document-write

jeremyredhead 5 years ago

update: ok this is weird, my computer blue-screened, i opened firefox again, **saw your site load as intended**, then had to restart again due to my pc freezing, and now your site is not loading right *again*

kalex 5 years ago

Woah, weird. If that's happening where it's working occasionally but only when you get a BSOD, then it might be an issue on your end? It would make no sense for the site to work, and then not work, and then work again, seemingly related to computer crashes? Also yeah, I *did* notice that Google recommends against this, but the speed difference is marginal enough on even a slow connection not to make it my #1 priority

kalex 5 years ago

(...continued, stupid character limit grr) and even with a connection as slow as mine, a hard refresh with no cache is still pretty speedy. I'll be updating the templating system regardless but I can't tell if the issue you're having is related to my code because I've tested my site on both 65.0.2 and 66.0.3 with no issues and it only seems to happen on your end, and fixed itself after a crash.

invisibleup 5 years ago

I know the header fails to load properly if you're using PrivacyBadger on Firefox.

2 likes
jeremyredhead 5 years ago

thank you invisibleup! it was privacy badger... i really got to learn to try disabling addons *before* assuming it's a website's fault. SMH at myself

1 like
kalex 5 years ago

Ohh yeah, privacy badger, i remember that causing issues with a friend of mine, it seems to like blocking the neocities site itself. I'll probably go through and change everything to relative references and see if that fixes things

just now read the article "leaving" -- it's too bad; I agree, updating things on NC currently is a real pain, we really need template.html or smth. i'm curious what's wrong with the CLI -- i've been meaning to use it more but keep forgetting to. Anyway
2 likes
invisibleup 5 years ago

I haven't actually used the CLI. I'm sure it's fine, considering it lets you push a whole irectory to your site.

does the file have to be newly made to be acquired by your html collecting agency?
jackomix 5 years ago

i guess not. :)

doing some live updates on my site (the foretold css fixes!) -- please stand by
jeremyredhead 5 years ago

okay, i am done. wow. 7 hours yikes. *sigh*

DAMN YOU JACKOMIX WHY I VISITED WAREZ AND CLICKED ALLOW POPUPS WHY WOULD YOU MAKE IT WHY WOULD WHY I CLICK ALLOW IT TOOK 20 MINJTES T O CLOSE THEM ALL
1 like
jackomix 5 years ago

you allowed popups on a page with a video saying "congratulations you won" idk what else you were expecting

1 like
vkccodebuilder 5 years ago

@jackomix exactly :D. Greed is a big mf

1 like
1 like
2 likes
jeremyredhead 5 years ago

this is just an html/css fix to my blog so reader mode (maybe?) works, and mobile is easier to navigate. was gonna post something, got distracted. as usual

2 likes
jeremyredhead 5 years ago

fixed the js and improved the design of the spiral corners thingy

Website Stats

Last updated 1 year ago
CreatedFeb 6, 2016
Site Traffic Stats

Tags

writing