hi i want to remove the url that gets printed on the bottom of the page
like:
yomari.com/.../main.php?sen_n
how can it be omitted ?or prevent from getting printed
would appreciate any help
hi i want to remove the url that gets printed on the bottom of the page
like:
yomari.com/.../main.php?sen_n
how can it be omitted ?or prevent from getting printed
would appreciate any help
Having the URL show is a browser client preference, not accessible to scripts running within the page (let's face it, a page can't silently print themselves, either).
To avoid "leaking" information via the query string, you could submit via POST
I do not know if you are talking about a footer within your actual graphic or the url the print process within the browser is doing.
If its the url the print process is doing its really up to the browser if he has a feature to turn that off.
If its the footer information i would recommend using a print stylesheet and within that stylesheet to do
display: none;
For the particular ID or class of the footer.
To do a print stylesheet, you need to add this to the head.
<link rel="stylesheet" type="text/css" href="/css/print.css" media="print" />
I would agree with most of the answers saying that its a browser settings but still you can achieve what you want via COM. Keep in mind that most browsers will still have issue with that and even IE will raise the COM security bar to users. So unless its not something you are offering within organisation, don't do it.