Supplementary properties/settings for [removed]win

2019-07-02 00:09发布

I would like tot give my Print this Page button a special magical property sothat it automatically enabled the by default unset property (see picture) namely to Do Print the Backgrounds of div colors and bg images etc.

<a href="#" onclick="javascript:window.print()"><? echo __('Print'); ?></a>

Clues, ideas, code, answers or suggestions as answers are all tremmendously welcome and I a will appreciate any hints at all for this dream to come true. Thanks in advance.

enter image description here

2条回答
放我归山
2楼-- · 2019-07-02 01:04

This cannot be done, unfortunately. This is disabled across all browsers by default (unless a user changes it in their settings).

查看更多
何必那么认真
3楼-- · 2019-07-02 01:13

This is not possible . You cannot change the browser settings , if that would be possible people could hack in very easily

查看更多
登录 后发表回答