본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Pop up windows are not scrollable?

  • 8 답장
  • 21 이 문제를 만남
  • 23 보기
  • 최종 답변자: Kramarz

more options

I have noticed that comparing to other browsers when there's a popup window, for example when using PrintFriendly to print the page I'm visiting - that popup window is not scrollable at all, making it impossible to decide what to print or not.

Let me know if you'd like me to clarify the problem more or provide an example of an issue?

I have noticed that comparing to other browsers when there's a popup window, for example when using PrintFriendly to print the page I'm visiting - that popup window is not scrollable at all, making it impossible to decide what to print or not. Let me know if you'd like me to clarify the problem more or provide an example of an issue?

선택된 해결법

unfortunately this uses shareaholic and buries the relevant code deep in some minified js code (and as i'm no web developer myself i cannot make much sense of it unfortunately).

as per http://www.w3schools.com/jsref/met_win_open.asp it appears that chrome and webkit browsers are simply not processing the scrollbars parameter in window.open()

so your only options might be to report this behaviour as a bug to shareaholic (https://shareaholic.com/contact) or to implement the printfriendly functionality manually yourself...

문맥에 따라 이 답변을 읽어주세요 👍 1

모든 댓글 (8)

more options

hello Kramarz, you could try the following: enter about:config into the firefox address bar (confirm the info message in case it shows up) & search for the preference named dom.disable_window_open_feature.scrollbars. double-click it and change its value to true.

more options

Hey there,

That solves the problem indeed, but only locally, for myself.

The issue is a bit bigger than that, what about when I'm working on new website project where one of the features will be possibility to print the pages, but visitors wont be able to scroll the page in popup to decide on what to print. I can't ask all the visitors on the website, that are using Firefox to go through the steps you have showed me :-)

I think that option in config should be set to 'true' by default.

Is there any reason why it's not?

more options

it's actually up to websites to control this behaviour - see https://developer.mozilla.org/en-US/docs/Web/API/Window.open under the "scrollbars" section. the about:config switch i've told you about just overwrites a website's presets...

more options

Interesting, but...

If that's the case, if you wouldn't mind explaining why the same popup from the same website has scrolling bars in any other browser, just not in firefox or IE?

I've just checked and for example Chrome, Opera and Safari have scrollbars, while Firefox and IE don't.

If websites controls it, hmm... what's the trick for different behaviours above?

more options

can you provide a sample?

more options

Of course, if you wouldn't mind taking a look in Firefox and for example in Chrome this website's in development page - http://www.zarasplanet-v3.abbott-dev.com/about-us/

Down the bottom, there are sharing icons, one of them being 'PrintFriendly'.

If you click on that you should notice the difference in both mentioned browsers.

Thanks.

more options

선택된 해결법

unfortunately this uses shareaholic and buries the relevant code deep in some minified js code (and as i'm no web developer myself i cannot make much sense of it unfortunately).

as per http://www.w3schools.com/jsref/met_win_open.asp it appears that chrome and webkit browsers are simply not processing the scrollbars parameter in window.open()

so your only options might be to report this behaviour as a bug to shareaholic (https://shareaholic.com/contact) or to implement the printfriendly functionality manually yourself...

more options

Thanks Philipp, will do. All the best!