Comments (4)
Hi again BoscoFZ!
As a one-time courtesy, I've gone ahead and added this website to the InfyScroll Database on your behalf:
http://wedata.net/items/86197
The strategy we can use here is to copy and compare the HTML of the button when it is both visible and hidden, using our browser's DevTools. When the button is hidden, the site adds a class called ng-hide
, which we can use to filter out from our working path:
<button class="mdc-button mdc-button--raised button-load ng-binding ng-hide" ng-show="$ctrl.next != '' && !$ctrl.busy" ng-click="$ctrl.nextPage('')">
Xem ThΓͺm
</button>
So, in the case of your clickElement
CSS Selector, you can add a :not(.ng-hide)
, like so:
button.mdc-button.mdc-button--raised.button-load.ng-binding:not(.ng-hide)
Also, for your pageElement
CSS Selector, I would recommmend adding a > *
to the end so the page divider is appended in the correct position. That would look like:
div.list.mdc-detail-list.down-folder > *
Important Note
There will always be a new page divider added at the end for an additional page at the bottom. This is due to the complexity of the app's workflow when the action is click
and the append mode is element
. It actually needs to be done in reverse order and it needs to prepend the divider before checking for and doing the click to avoid a race condition with the website. So, this is sort of intentional, but it might be something I might spend some time to prevent in a future version of Infy. If it bothers you, you can change the Append Mode to none
and it won't append any dividers at all (for a cleaner look).
Let me know if this helps! π
from infy-scroll.
Hi sixcious,
I followed your suggestion and the infy scroll worked great. Thank you very much for your support.
from infy-scroll.
Thank you for your suggestion and I have edited my post above. Sorry for the inconvenience.
from infy-scroll.
Hi BoscoFZ!
I can try helping you with that website (as a one-time courtesy). However, this isn't really a feature request. Could you please go back and edit your post and add in all the required information from the Problem Report template as it is laid out so I can better assist you? Please do not create a new issue, just edit your post here (or add a new comment in this issue) and add in all the information from the Problem Report template I linked to.
Thank you! π
from infy-scroll.
Related Issues (20)
- Infy not working on enhanced google searches HOT 2
- Tooltip issues HOT 1
- Some problems with the i18n text HOT 2
- Add an option to load all pages without the need to scroll down HOT 5
- Add support for amazon vine pages HOT 4
- Not loading the Rashi commentary, not sure how to activate that. HOT 4
- save URL dialogue renders cut-off so I can't see all the buttons HOT 2
- warn when picking elements from altered DOM HOT 2
- Unable to load images from the next page (blank/empty/missing images) HOT 1
- Find the next link or click element on paginated-only websites without keywords HOT 1
- How do I find out what rule was triggered? HOT 7
- Can't Save HOT 5
- Appends the same or last page over and over again (repeatedly / multiple times) [duplicate pages] HOT 4
- What settings are required to work on this particular site? HOT 2
- Forum Thread Print View HOT 3
- Quest about keywords at Next Link Settings HOT 1
- Add an option to detect the last page and then stop appending (e.g. duplicate pages) HOT 2
- Breaks css markup HOT 2
- Ability to add empty space for fixing out-bounds elements HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infy-scroll.