Reply to post: Re: Don't load third-party scripts

UK ICO, USCourts.gov... Thousands of websites hijacked by hidden crypto-mining code after popular plugin pwned

bombastic bob Silver badge
Devil

Re: Don't load third-party scripts

" those who actually write websites"

or worse, those tasked with fixing someone else's crap-web-code that uses a bizarre dependency tree of embedded script...

Sometimes the simplest solution is to include the script elements yourself, within the page where it's used, via copy/pasta, and then use 'STYLE' assignments in the HTML tags where appropriate. But, then again, I _HAND_ _CODE_ all of my HTML, and *despise* those dependency trees... and it was SO amazing to see that my changes were correctly reflected on the phones and slabs (when I did it _MY_ way) where they'd cached the included script files unnecessarily and there was no obvious way to flush the cache and get them to re-load... stupid browsers not re-loading the included script. The PC browsers re-loaded it, why can't the Android devices?

yeah - script dependencies NOT working consistently.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019