Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

change of Browser Page Setup in Javascript

 
Periakaruppan Thiagarajan
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have to change Browser page Setup Information in Javascript.
When I print a page, the url information is displayed at bottom of the page. I dont want to display Url information in the page. If I change browser settings (i.e) File -->Page Setup--> Footer , and removed '&u' from footer, then its not printing url information. Whether I can do this in Javascript ?? Can anyone help me how to handle it??
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaScript can not do it.

Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would you not get ticked off if every page that you visited changed your browser settings on you?
 
Periakaruppan Thiagarajan
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I changed the browser settings once, Its not printing URL at the bottom of the page. But I want to change the browser settings through javascript
[ September 15, 2005: Message edited by: Periakaruppan Thiagarajan ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But I want to change the browser settings through javascript


Re-read Eric's reply.

No matter how badly you want to do it, you cannot. The browser settings are not yours to change, they belong to the user.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic