473,698 Members | 2,808 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can this be done with javascript?

I would like to be able to open a new browser window and have it load
a website I spefify, and when done I need to somehow get a copy of the
browser screen into the clipboard (Alt Prints Screen in Windows) for
saving as an image. Is it even doable using Javascript?

Bill H

Sep 20 '07 #1
2 1362
Bill H wrote:
I would like to be able to open a new browser window and have it load
a website I spefify, and when done I need to somehow get a copy of the
browser screen into the clipboard (Alt Prints Screen in Windows) for
saving as an image. Is it even doable using Javascript?
I would be worried if this were possible. Imagine directing the user to
the page that displays all the passwords at your local bank and then
copying the screen to the clipboard. It is the opening scene from a
hackers wet-dream.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Sep 21 '07 #2
dn
Bill H wrote:
I would like to be able to open a new browser window and have it load
a website I spefify, and when done I need to somehow get a copy of the
browser screen into the clipboard (Alt Prints Screen in Windows) for
saving as an image. Is it even doable using Javascript?

Bill H
have a look at AutoIT. Write a script to do what you want and have it do
the dirty work for you.

http://www.autoitscript.com/autoit3/

I'm not even a novice when it comes to something like autoIT scripts, but I
am almost certain you could enable some kind of global key sequence or
something that will fire off your script to screen shot the browser, or even
better, do a file save as... 'html page complete' for you...

anyway, what you're asking for is not available without going past native
browser limits. It's possible you could write an HTA for IE to do what
you're after but I have no experience with that either.

just tossing out ideas. : -)

D.
Sep 21 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1360
by: richard green | last post by:
I have a huge text file which contains a list of all possible services that can be offered to the users. Let's say it looks like <services> <service>srv1</service> <service>srv2</service> </services> But a user is not eligible for all the services. So if a user is eligible only for service1 then his file will look like
2
22072
by: Simon Wigzell | last post by:
I'm on a different computer running win 95 with IE 5 my website on a new dedicated server and I'm getting "Done, but with errors on page" appearing in the browser status area which I have never seen before. (Previously I've only ever done any web development on WIN 2000 with IE 6 on a different server than the current one) My client has been messing with the web files adding javascript special effects. Question : Does this indicate a...
3
1563
by: pentium77 | last post by:
Basically I have a situation where I need to update changes occuring in one Text field of a table into another text field located in another table. In addition both the tables are located in different frames of a HTML page. So my question is can such an update be done ? Is it necessary that the tables be located in the same frame for the update to work ? Any pointers would be appreciated ? Thanks, -P.
5
1557
by: Jay | last post by:
Difficult to explain but.... I have a form. Inside the form is a table (2 columns). 1st column has text. Click on the text and a hidden div appears in the 2nd column and contains a textarea. (pause) This form has a lot of textareas so rather than have a long ugly form I decided to use 10 hidden divs each one containing a different textarea. Each hidden div has the same positioning...
1
1509
by: Empire City | last post by:
Hover Over Menu - Can this be done with C# or is it JavaScript? If JavaScript what would be the closest way to do something like this in C#, such as a drop down list box? If JavaScript is best does anyone have a JavaScript link that could help me get started on this.
2
1890
by: maya | last post by:
http://news.yahoo.com/news?tmpl=index2&cid=703 down the page, under "More Stories", there's a section with two interchangeable divs which slide back and forth into view.. how is this done? I tried to reproduce this locally on my machine but can't get bottom section (with the buttons, which user can use to make divs slide in and out of view..) to appear, even though still linking to relevant .js files..
3
3032
by: maya | last post by:
http://www.msnbc.msn.com/id/16673873/site/newsweek/ pls scroll down, on the left, near the middle, there is a select object above which it says "Newsweek Business Directory".. how do they get the alternate background colors on the list? (I looked @ src code, couldn't find "<select" ) thank you..
12
3759
by: Max | last post by:
Hi All, I need to check if attachEvent was done to an element. The problem is that attachEvent does not save this information anywhere. Is there any way to do this??? Thanks, Max
11
6757
by: test | last post by:
Hi, I'm very new to Javascript so maybe my question could be stupid. I'm playing with microcontrollers and a TCP/IP component. This means that I can control electronics via TCP/IP, UDP and so on. But, my problem is on the client side. I want to have a program, or a web page containing buttons that, when pressed sends a signal to the TCP/IP component and waits for a response back. Maybe this seems strange, but let's say I have a...
2
2885
by: labmonkey111 | last post by:
I have a form that takes several seconds to run the javascript needed to prepare the form for PHP (selecting all items in a Select Multiple). Since it takes so long, I want to disable the Submit button and Change the text to "Please Wait..." I have the code done, and it sorta works. FireFox3 does not seem to update the page until all JavaScript is done executing, so after the few seconds of nothing happening, then the button is disabled and...
0
8674
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9026
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7723
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4366
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2328
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.