Calling javascript in javascript works for some but not all scripts [migrated]

I have the following code in a script.js file that I call in my html file:

function loadScript(url) {         var head = document.getElementsByTagName('head')[0];     var script = document.createElement('script');     script.type = 'text/javascript';     script.src = url;     script.async = false;     head.appendChild(script); }  loadScript('https://polyfill.io/v3/polyfill.min.js?features=es6') loadScript('https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js') loadScript('https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js')  hljs.initHighlightingOnLoad(); 

I use this code because I want to call only one .js file in my html instead of multiple .js files.

The first two scripts that I load to call MathJax work fine. The third script to call highlight.js however does not run.

When I paste all the code from the file ‘highlight.min.js’ into the my script.js file, the javascript does run normally when I open the html.

I don’t understand why loading the ‘highlight.min.js’ file with the loadScript() does not work, or what I can do to get it to work. Any help is appreciated.

is the requirement of being in a lightly obscured area to gain the benefit of the Nature’s Mantle works in a heavily obscured area?

I want to make sure I’m not creating a problem by allowing heavily obscured areas to meet the requirement of being in a lightly obscured area for the Nature’s Mantle benefit of hiding as a bonus action. Since it is a more obscured area I intended to allow it but I’m not sure if I should since it is not explicitly written.

thanks again.

What Works Inspired Paranoia?

Paranoia is obviously descended from dystopian works such as 1984 and Logan’s Run with black comedy that I have sometimes heard is inspired by Monty Python’s Flying Circus. For a long time I had thought that Paranoia was directly inspired by the film Brazil being that it mixed a dystopian future with black humor, but I realized recently that Paranoia was first released in 1984 with Brazil being released the following year, so it couldn’t have been an inspiration.

Which works inspired which aspects of the Paranoia setting? I’d especially like to see citations from the creators, if they exist.

I realize that Paranoia has been around for over 25 years. If certain works have influenced different editions over time, I’d like to know that too.

GSA works so slow

Hi guys,
I have some own site list. I gathered it with gsa, then delete bad domains and now i have about 1200 domains. I want to use them with gsa. I clicked import target url from file and chose my list. But gsa dont use this list and dont work. What can i do? Please help me. I try to built good backlings to my tier 2

CNAME works for nslookup but not curl

I have created two CNAMEs for my (CloudFront) domains, like this:

enter image description here

nslookup works, giving me the correct values for both www and d-test — but when I actually get the data, using curl or a browser, all data is retrieved from the origin pointed to by www, regardless of which URL I actually use. If I use the origin URLs, it works fine.

How is this even possible?

Nothing in dashboard that uses javascript works

I cannot see the media I have uploaded under the Media Library–it’s a blank space(though I can upload with the html uploader ).

I cannot use the Select All checkbox to select all the plugins on the Plugins page. (I have to do them one at a time)

I cannot set a page or post to Draft.

In short, if it needs javascript, it doesn’t work.

I have disabled ALL the plugins AND used a default theme (at the same time).

I have tried to install a few security plugins, but they all seem to use javascript. I have however run a few online scans and no malware turns up.

I was editing some images the day before, and it was working fine.

I don’t know what else to do besides build the site back up from scratch.

I am running PHP 7.3.24 WordPress 5.5.3 (the latest I believe)

Any ideas?

Edited to add that I have entirely replaced the wp-includes and the wp-admin folders. Also note that the site otherwise seems to work perfectly

Would the 6th level Shepherd Druid’s Mighty Summoner feature works on summoned creatures not made from spells

To clarify, when I say "summoned creatures not made from spells", I mean summons that are from class features and the like, so the Shadow Sorcerer’s Hound of Ill Omen, the Hexblade’s Accursed Specter, Raven Queen’s Sentinel Raven (tho less hp on this would be nice) and the Beastmaster/Drakewarden’s Animal/Drake Companion. Sinces these are features that summon creatures, would they work with the Shepherd Druid’s Mighty Summoner if they aren’t technically spells?

Scraping Google News not returning results in scrapebox but browser works

Hey All,

I have been trying to configure Scrapebox to pull results from Google news. I found a previous thread that helped me update my query string but it is still not working within Scrapebox. 

Additional Query String
&tbm=nws

Full Query string
https://www.google.com/search?complete=0…:y&tbm=nws

If you put the full query string into Chrome it works as expected. I see Google news stories for the last year. However, when I run harvester with those settings it returns no results. At the same time, I run a general “Google” query and the results return as expected.  I am running the latest version of Scrapebox and default engines from the server. I have attached a screenshot of my harvester settings. Any help would be greatly appreciated, thank you!

.png   scrapebox settings.png (Size: 59.01 KB / Downloads: 0)

How camera works in 2d platformer in level transitions

I want to know how Camera works in game of Celeste. enter image description here

Currently what I have is, camera follows the player using interpolation:

cameraPosition = cameraPosition + (playerPosition - cameraPosition) * 0.1; 

and I clamp the camera position to the edge of the world size:

cameraPosition = mu.clamp(cameraPosition - [160, 90], 0, worldSize); 

I subtract [160, 90] to center the camera.

This works OK. But is that all there is to it.

Specifically, how does the camera work between room transitions.

I might drop room transitions, and just do a black screen transition between levels, but I’ve heard there is camera triggers that offset the camera relative to player position, and what other tricks are used?