07-01-2012 08:46 AM
http://customer.comcast.com/help-and-support/inter
Why does this webpage auto launch my printer access ?
07-01-2012 08:55 AM
It launches printer for me when I click the link.
Since this involves an Xfinity page I have moved it to Xfinity.com website.
Comcast employees must be authorized to post in the forum. Employees posting here have their names in red and are designated as employees. Names not in red are customers.
07-01-2012 09:24 AM
The "?p=1" parameter tells it to. If you remove that, the link opens without trying to print.
07-01-2012 09:25 AM
Do you think that was intention of the web master ?
07-01-2012 09:51 AM - edited 07-01-2012 09:57 AM
Probably. Many of the Help & Support articles have Print buttons, and they seem to work like the one you posted. For example, the first link in the Internet section is:
customer.comcast.com/help-and-support/internet/con
If you click the Print icon on that page, you get:
customer.comcast.com/help-and-support/internet/con
07-01-2012 10:03 AM - edited 07-01-2012 10:29 AM
Prolly just forgot the print button . Going to print and see what happens . And see which info is available when printing .
It just prints that page, not seeing any useful reason for auto launch printing of that webpage . Now if it was a list of approved modems I could see reason for saving that .
I believe a correction needs to be done on that webpage .
Redid search on Google for webpage again seems it has been corrected
07-01-2012 12:45 PM - edited 07-01-2012 12:58 PM
I looked at view source. Found this-BOLD RED mine. Wondering if this is the code that causes the printer to open. .
</
title>
href="/~/media/customer_comcast_com/Styles/help-print-extended.css" rel="stylesheet" type="text/css" />-->
<
linkhref="/~/media/customer_comcast_com/Styles/help_print.
<
body>
I then randomly chose 3 FAQ's from Help and Support. None of them had help-print-extended.
Comcast employees must be authorized to post in the forum. Employees posting here have their names in red and are designated as employees. Names not in red are customers.
07-01-2012 12:59 PM
My mistake searching google > approved modems comcast still brings up web page that launches printer app , not corrected .
Thanks for pointing out source code , Queen-Evie
07-01-2012 02:31 PM
Queen-Evie wrote:
I then randomly chose 3 FAQ's from Help and Support. None of them had help-print-extended.
Style sheets don't cause actions, they just control page layout and styling (colors, fonts).
The print dialogue pops up because of this Javascript at the end of the page:
<script type="text/javascript">
window.print();
</script>
07-01-2012 03:20 PM - edited 07-01-2012 03:23 PM
Thank you Barmar. I looked over the entire view source and missed that one.
At least it wasn't as long as some view sources I have seen.
I will wonder no more if what I spotted was the cause because it isn't.
Edit to add: I have a page on my website that I call test to use when trying things. I just inserted the code provided by Barmar on that page and yes indeed it does cause the printer to open when I go to view test page.
Comcast employees must be authorized to post in the forum. Employees posting here have their names in red and are designated as employees. Names not in red are customers.
07-01-2012 04:56 PM
Still why would someone want to copy that web page to print ? It contains no vital information .
07-03-2012 04:32 PM
I think it may just be a general feature of all the help pages.
|
©2011 Comcast |
Investor Relations |
Press Room |
Corporate Blog |
Privacy Statement |
Visitor Agreement |
Comcast.com Feedback |
Site Map
©2008 Comcast |
Politica de Privacidad |
Acuerdo del Visitante
|