Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strange beahaviour in some page #19

Closed
nunziofiore opened this issue Dec 3, 2013 · 2 comments
Closed

strange beahaviour in some page #19

nunziofiore opened this issue Dec 3, 2013 · 2 comments

Comments

@nunziofiore
Copy link

why (also v 0.0.9) in your opinion create repeated screen for that link?

(i attach the result)
(as you can see, it repeat the on top screen during all the height of the page)

screencapture-blog-screenweek-it-2013-12-vin-diesel-e-il-suo-tributo-a-paul-walker-fratello-sullo-schermo-e-nella-vita-311107-php

@JannesMeyer
Copy link

I just tried screenshotting this URL http://blog.screenweek.it/2013/12/vin-diesel-e-il-suo-tributo-a-paul-walker-fratello-sullo-schermo-e-nella-vita-311107.php

and it worked fine for me. The only issue was that the site's background got repeated and that's probably because the page is using background-attachment: fixed; and position: fixed; on some elements.

I guess you could override those rules specifically for that page before taking a screenshot by doing something like this in the console:

var node = document.createElement('style');
node.innerHTML = '* { background-attachment: static !important; } .takeover { position: absolute !important; } body { background: black }';
document.head.appendChild(node);

@mrcoles
Copy link
Owner

mrcoles commented May 9, 2016

It has a baked-in check for fixed position headers now.

The background-image: static is an interesting idea. Will think about it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants