Neocities.org

The Home Site of JeremyRedhead

jeremyredhead.neocities.org

57,422 views
60 followers
1,127 updates
0 tips
jeremyredhead 4 months ago

just like the page says; i'm trying to make a script for easier blogging. proper updates/uploads… later. hopefully

1 like
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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months ago

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

2 likes
jeremyredhead 5 months 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 months 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 months 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 months ago

i guess not. :)

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

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

Website Stats

Last updated 2 weeks ago
CreatedFeb 6, 2016
Site Traffic Stats

Tags

writing