tag:blogger.com,1999:blog-4291664034828038593.post5800283376476807451..comments2024-03-10T04:57:49.447+00:00Comments on Strictly Software: Running JavaScript Before Any Other Scripts On A PageRob Reidhttp://www.blogger.com/profile/05430306492065347012noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-4291664034828038593.post-73831046323254135252022-01-25T01:35:42.787+00:002022-01-25T01:35:42.787+00:00I like the code that tries to do the right thing a...I like the code that tries to do the right thing and then has fallbacks in case that doesn't work etc without browser sniffing, just testing for DOM OBJECTS and do X if they exist and Y if they don't.Steve Kingnoreply@blogger.comtag:blogger.com,1999:blog-4291664034828038593.post-74838325996947877162022-01-22T05:15:54.575+00:002022-01-22T05:15:54.575+00:00I like the detection code you have for finding out...I like the detection code you have for finding out whether the Browser is Brave or not, it seems to throw everything in it's useragent making out its Chrome, plus it hss Safsari mentioned ass well. We shouldn't be browser sniffing for code branches you are right but if this is just for a page that shows you info on your current network connection then that's okay it's when Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4291664034828038593.post-51319577825806046702022-01-22T04:04:12.306+00:002022-01-22T04:04:12.306+00:00Nice bit of code, I wonder how many hackers spend ...Nice bit of code, I wonder how many hackers spend the time n effort analysising sites JS code and then writing personal extensions that enable them to inject code into site, overwritre objetd such ss security objects that mnske AJAZ calls ans instead call dummy emoty functions allowing the hsacker sccess.... inbteresting article as always...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4291664034828038593.post-86671914200447368912022-01-20T01:18:48.379+00:002022-01-20T01:18:48.379+00:00I am glad you found a use for it!I am glad you found a use for it!Dark Politrickshttps://www.blogger.com/profile/11793909451659963768noreply@blogger.comtag:blogger.com,1999:blog-4291664034828038593.post-44041814798271645792022-01-20T01:14:35.950+00:002022-01-20T01:14:35.950+00:00Cool code I used this to create a simple extension...Cool code I used this to create a simple extension just for one sites page so that the code the extension inject "modifies" a page I need to access by overwriting an object it was making an AJAX call to for security verification. Now it makes a call to my own object and I return the neccessary values that makes the page think it is authorised to let me access the content I need. I neverAnonymousnoreply@blogger.com