Reply
Bronze Problem Solver
UHFhd
Posts: 1,486
Registered: ‎03-06-2011

Approved modems security

http://customer.comcast.com/help-and-support/internet/list-of-approved-cable-modems/?p=1

 

 

 

                Why does this webpage auto launch my printer access ?

 

              

Service Expert
Queen-Evie
Posts: 12,359
Registered: ‎02-04-2004

Re: Approved modems security

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.

Silver Problem Solver
BruceW
Posts: 3,261
Registered: ‎12-03-2007

Re: Approved modems security

The "?p=1" parameter tells it to. If you remove that, the link opens without trying to print.

Bronze Problem Solver
UHFhd
Posts: 1,486
Registered: ‎03-06-2011

Re: Approved modems security

Do you think that was intention of the web master ?

Silver Problem Solver
BruceW
Posts: 3,261
Registered: ‎12-03-2007

Re: Approved modems security

[ Edited ]

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/configuring-xfinity-internet-windows-connections

 

If you click the Print icon on that page, you get:

 

    customer.comcast.com/help-and-support/internet/configuring-xfinity-internet-windows-connections/?p=1

Bronze Problem Solver
UHFhd
Posts: 1,486
Registered: ‎03-06-2011

Re: Approved modems security

[ Edited ]

 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  

Service Expert
Queen-Evie
Posts: 12,359
Registered: ‎02-04-2004

Re: Approved modems security

[ Edited ]

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.ashx"rel="stylesheet"type="text/css"/><linkhref="/~/media/customer_comcast_com/Styles/help-print-extended.ashx"rel="stylesheet"type="text/css"/><linkhref="/~/media/customer_comcast_com/Styles/help_article.ashx"rel="stylesheet"type="text/css"/></head>

<

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.

Bronze Problem Solver
UHFhd
Posts: 1,486
Registered: ‎03-06-2011

Re: Approved modems security

     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

Email Expert
Posts: 18,235
Registered: ‎04-27-2004

Re: Approved modems security


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>

Service Expert
Queen-Evie
Posts: 12,359
Registered: ‎02-04-2004

Re: Approved modems security

[ Edited ]

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.

Bronze Problem Solver
UHFhd
Posts: 1,486
Registered: ‎03-06-2011

Re: Approved modems security

Still why would someone want to copy that web page to print ? It contains no vital information .

Email Expert
Posts: 18,235
Registered: ‎04-27-2004

Re: Approved modems security

I think it may just be a general feature of all the help pages.