Is it possible to show page in web browser (for example in Chrome or Firefox) using phantomJS? I mean, I go on web site, fill in login and password fields and click OK button. After that new page is loading. I want to show this new page in web browser. Is it possible to do with phantomJS? If yes - please, tell me how to do it. If no - please, tell me what should I try to use (I need in hidden mode do some things on web pages (fill in forms, click buttons) and finally show the result in web browser).
I'll appreciate any help.
Related
I have a web application that displays visuals based on user input. So I have a browser tab for the visuals and one for the user input. Is there a way to automatically reload the visuals tab whenever the user finishes inputting information in the other tab? Does javascript have anything for that kind of configuration?
I tried to look here but didn't find anything similar.
Thank you.
I want to develop extension that can reload a web page by clicking on the tub.
Is it possible to add a button to the title area of a web page?
If yes
What should I add to the manifest?
Which object should I use to do so?
Unfortunately, this is not possible. The Google Chrome Extension APIs do not provide any functionality to do this... yet. As of now, your extension can only display page actions on the address bar or browser actions near it along with other extensions.
Page actions:
Browser actions:
I tried with different options for automatically making a page full screen using javascript
I tried with the window.open("index.html","","fullscreen=yes,location=no, cursor=none");
I tried with the Native FullScreen JavaScript API- It only works on a button click or any other events , but I need to make the page automatically open on fullscreen.
...I need to make the page automatically open on fullscreen
You can't, and for good reason. That's why the fullscreen API (and window.open, typically) only works in response to a user event. It's by design to prevent web pages from hijacking the user's workspace.
I'm developing an OSX application that displays a web view as a part of the application. Inside the web view, there's a button that lets the users print out the page that they're currently on. When the html is opened in safari and the button is clicked, there's a popup asking the user to select the print settings for that file. However, this popup isn't showing at all when the page is opened in the web view. Is there some way (tweak to the javascript maybe?) that lets me print to the default printer with the default settings without showing this popup at all?
Thanks,
Teja
The print dialog and handling are implemented in the hosting application.
See -webView:printFrameView: in the informal WebUIDelegate protocol for details.
I am working on a project that runs in Chrome in full-screen mode and displays data that can be edited and interacted with. It makes AJAX calls(using jQuery) frequently that cause a loading notification in the lower left-hand corner on the bottom of the screen to pop up.
These notifications are distracting when you are viewing the display and I would like to remove/prevent Chrome from displaying these loading notifications at all. Is it possible to prevent these notification by any means, or perhaps even mask the javascript that causes these notifications?
Do the requests in a web worker thread.
If this is just a simple web page, there is no way to do so. As Dave stated, the notification is part of Google Chrome.
If it is absolutely necessary for this to not appear, you can create a Google Chrome Extension that users can install. Then, you can make the AJAX requests from the extension background page, and the status bar will not popup. However, this is not very user friendly and quite unpractical.
I wouldn't have thought so - those notifications are part of Chrome itself, not the web page. It might be possible for the user to disable the status bar, but that would be part of the browser settings rather than the page.