Open imtao2 opened 7 years ago
Yarip can inject CSS into the page. If you already created the page (in yarip), then try to right-click on the page and then Yarip > Manage pages.... Otherwhise try to right-click on the page and then Yarip > Create page.... The Page-manager should open, where you go to the Page- and then Style-tab. Click Add, where you could change the XPath to /html/body
, but it should work with /html/head
, as long as the site is not using !important
themselves. Then change the text-box to the following:
html {
overflow: -moz-scrollbars-vertical !important;
}
Hope this helps.
I just saw that you shouldn't be using -moz-scrollbars-vertical
, but instead use overflow-x
and overflow-y
. Try the following:
html {
overflow-x: auto !important;
overflow-y: auto !important;
}
This is more a feature request than a bug, but I couldn't find a better place to post. Lots of sites use a DHTML "popup" with a dimmed page to solicit their mailing list, a sale, a site survey, etc., and YARIP works great to kill these. Unfortunately, many sites simultaneously remove the vertical scroll bar, leaving the resulting page awkward to navigate. I am curious if there is a way for YARIP to force the scroll bar, and in these situations add to the page instead of subtract? There are thousands of examples, but for one, I was browsing http://www.hhgregg.com this morning, which seemed particularly obnoxious.