How to track .js files loaded when website page is loaded? - javascript

I am trying to contribute to the Hospital Frontend, I am unfamiliar with the file structure however and want to be able to find which files are loaded when I load the page from my local server. Is there a tool that can allow me to do so?
Thank you.

Related

Opening .odt files on webpage using html

I'm currently working on web page and trying to open .odt files by using html and javascript. The .odt files are stored in my computer and I want to print them in my web page. Plus, is it possible to store each sentences(which are in .odt file) in variables one by one? My goal is to open .odt file on web page, modify the contents of .odt file, and then save the .odt file back to my computer.
sorry that my question is abstract but I just started. There's not much related information on google please help 😥

Downloading loaded webpage as html

I'm new here. My problem is I got a loaded tab on chrome and the webpage is not accessible anymore.
anyway, the page contents are still on the server at least thumbnails.
Is there a way to download this tab entirely with its page structure as HTML for viewing later.
I don't turned off my pc for 2 days only hibernate it. Searching for a way but can't find any resource.
edit: the webpage is a meganz folder which has ~100 folders on it. i think it's very hard to download with page structure because it loads a file explorer application (server-side i think) when first loading the folder and files.
Either File > Save Page As.. (in Chrome)
or
FTP into the web server and download the whole folder/page from the public_html folder, if it is a static page. If it's not, you'll only get template files, and no content data.
or if you're just interested in reading the content:
File > Print > Save as PDF

Possible download / upload manager embedded on html page with access to local filesystem

As the title indicates i want to have a certain application get access to the local file system. To describe why i will illustrate my situation:
I am a running a IIS WebApplication with the C# MVC 4 Framework as backend module. The site solely consists of HTML, CSS markup and some JS. The page will be loaded in IE11+ (Edge) only. For the standard procedure of displaying and accessing data from as well as sending data to the server this works quite fine.
On a certain page I want the user to be able to upload a file using a simple file dialog, like the one you can initiate with a simple <input type="file"> tag. I also want to offer the posibility to download files from the server but need to know where files has been saved / will be saved to.
As described on a lot of different websites, just like this one here, the HTML5 File API does a great job but will not be able to return the full qualified filename including the local path directions, same for JS accessing the file object.
As my research confirmed HTML5, JS and also SWF (Flash) will not report detailed information because they are all sandboxed applications or restricted by RFCs. I already unterstood and appreciate the effort to secure my trips to internet.
But in this case do need the paths where a file was upload from and the file has been downloaded to.
So my question is, what is the best way to expose the full path directions for a up- as well as downloaded file to report them back to the server?
Is it possible to embed a SWF object inside HTML which will run inside an Adobe AIR sandbox or is a signed JAVA Applet still the one and only solution to accomblish this security breaking task?
A solution i would also apreciate would be the possiblity to ask the user to get access the file system, like you grant access to the web push service to receive notifications.
Also if there is a possible solution which may suite my circumstances please let me know by adding some simeple examples / revealing some factful links, thanks in advance.

Two web pages using one javascript or css file

I wonder what happened if I have two web pages on my server using the same script or css files.
If a user opens the first web page and his browser downloads the extern script and css files, then the user goes to my second web page which uses the same script and css files, will the script and css files get downloaded again? If so, how can I avoid this?
Thanks a lot!

How to load a client side file and load it in some table

The goal
I want to load a client side file and put it a html table. The user will play with the data and try to save it later.
I know for security reason JS cannot load a local file. In this case, it's the user that tries to load the file makes the whole security thing look pretty stupid to me.
Is there any "clean" way to load a file ?
Enviroment
I am using ASP. The website will be used only inside the company, so it is a controlled environment. I know there's many JQuery plugin to load files to the server but in this case it's just to load in a table.
I know I could load the file to the server and refresh the page, but thats far from clean.
Any insight on this ?
how is that far from clean? it's probably 95% standard way of doing things. I think your "clean" definition needs to be cleaned.
I think you are in luck though with html5 because you have some additional controls at your disposal and the javascript may allow you to do that...check out the filereader api...also you could do the upload via ajax in html5 as well.
http://www.htmlgoodies.com/beyond/javascript/read-text-files-using-the-javascript-filereader.html#fbid=uVNLLJ1oOOb

Categories