GithubHelp home page GithubHelp logo

sixcious / infy-scroll Goto Github PK

View Code? Open in Web Editor NEW
149.0 6.0 16.0 12.41 MB

Add customized infinite scrolling to websites and auto load the next page. (Beta)

License: Other

CSS 5.68% HTML 20.24% JavaScript 74.08%
infinite-scrolling infinite-scroll next-page beta increment chrome-extension firefox-extension edge-extension

infy-scroll's Introduction

Infy Scroll

Infy Scroll

Available For

Google Chrome       Microsoft Edge, Icon: By Source, Fair use, https://en.wikipedia.org/w/index.php?curid=62848768       Mozilla Firefox      




Infy

Important Note

Infy is currently in beta. This means it might contain a few bugs and it might not work on every website you try it on! But I really want you to be 100% happy with Infy, so if something isn't working right, or if there's a feature you think is missing, please open an issue on GitHub and give me a chance to fix it before leaving a low rating/review, and I promise I will.

Discord

Join the new Discord! (Beta) 💜

Discord










About

Infy Scroll can let you add customized infinite scrolling to websites and auto load the next page as you scroll down. It's also compatible with the AutoPagerize Database, which means it supports thousands of websites automatically. Infy supports 4 different actions and 6 different append modes so you can customize each site's infinite scrolling to how you want it to be. Infy understands both CSS Selector and XPath expressions for finding next links, and it features an Element Picker that can generate them for you, similar to the original AutoPager. It can also increment URLs and perform special actions, like clicking "Load More" buttons. You can save your settings for each URL and Infy will auto-activate the next time you visit them.

Features

  • 4 Actions: Next Link, Click Element, Increment URL, URL List
  • 6 Append Modes: Page (for simple websites), Iframe (for complex websites), Element (AutoPagerize Mode), Media (for images like 001.jpg), AJAX (for AJAX/SPA sites), and None (for sites that only require clicks)
  • Paths: Infy understands CSS Selectors, XPath expressions, and JS Paths, and can auto-detect what type of path you are entering, or can be set to a fixed path type by toggling the label (SE/XP/JS)
  • Element Picker: Pick an element on the page and generate its Selector or XPath expression automatically or use the EP's buttons to traverse the DOM in any direction (May not work on complex websites)
  • Auto Detect (an innovative feature): Let Infy's algorithm try to detect the next link, page element, and click elements for you (May not work well on complex websites)
  • Auto Mode: Automatically append pages, or use Slideshow Mode (supports Pause and Repeat)
  • AJAX Support: Infy features two unique AJAX append modes: Iframe and Native (Experimental)
  • SPA Support: Infy supports the Navigation API to detect navigation events and can use a MutationObserver to watch for changes on the page to provide compatibility with many complex AJAX and Single-page Application sites (Experimental)
  • Save URLs: Infy can save custom site-specific settings and then auto-activate on your favorite URLs
  • Database Support: Infy supports the AutoPagerize and InfyScroll Databases allowing it to support thousands of websites for you automatically
  • Custom Scripts: Infy has custom scripts for a few popular websites (such as Google Search) that will try to fix missing image thumbnails
  • Advanced Features: Fix lazy loading or use the Element Iframe mode to fix missing images
  • User Interface: A simple UI custom built using Material Design
  • Mobile Support: Support for Firefox for Android and Kiwi Browser (Some features may not work perfectly)
  • Uses 0 Background Memory when inactive
  • No Ads, No Tracking, No Bloat

Introducing AJAX

Since releasing Infy Scroll in August 2020, if you were to ask me what is the one feature I was working my hardest to implement — it's always been an append mode for AJAX websites. After two years of on and off development, I'm really proud to offer this completely new and innovative append mode in Version 0.8, The Eightfinity Edition. AJAX comes in two versions: Iframe and Native. AJAX is mostly in the proof of concept stage right now, but does work on many sites, including Pixiv.

AJAX Demo (Pixiv)

The AJAX Native append mode working on Pixiv

Example Settings
{
  "action": "click",
  "append": "ajax",
  "clickElement": "//nav/button[@aria-current='true']/following-sibling::a[not(@hidden)]",
  "loadElement": "//section//div/ul//figure",
  "pageElement": "//section/div/ul | //section/div/div/ul | //section/div/div/div/ul",
  "spaf": "^https://www\\.pixiv\\.net",
  "url": "^https://www\\.pixiv\\.net/"
}

You can copy and paste these settings using the Add Save feature in the Options. (Tested on December 22, 2022.)

SPA Support

SPAs (Single-page Applications) are tricky to deal with because they update their page content dynamically, and sometimes don't even update the address bar. However, Infy now supports the Navigation API (Chrome/Edge 102+ Only) to detect browser navigations and it can also watch for changes on the page and auto-activate and auto-deactivate itself if the website changes its content dynamically. It even works here on GitHub and on Pixiv. (If you're on Firefox, you can check the Late Activation setting in the UI Window's Scripts dialog and save the URL.) No more refreshing the page!

Installation

Installing from GitHub is super simple. First, download the zip and unzip it. Then:

Chrome and Edge

Firefox

Finally: When prompted for the location, select the src/base folder (Firefox: select manifest.json) and it will install.

Important: There is no version update path for the GitHub build, so use the web store version as your main version.

Help Guide

View the Help Guide!

Documentation

FAQ

What happened to the Append Scripts and Styles options?

I'm real sorry, but due to the new Manifest V3 (MV3) restrictions, I was forced to remove these two settings starting in Version 0.8. Luckily, there's a great workaround: you can still append iframes, and iframes will always contain the scripts and styles for each page. Iframes are actually the better approach for this purpose as the scripts and styles will run in an isolated environment inside the iframe without affecting the top-level document. If a website is preventing you from appending iframes, please try using Xframey or a similar app/extension. I'm very sorry once again.

What happend to the Custom Database and Save Whitelist?

I'm super sorry, but starting in Version 0.8, these two collections have been merged into your Saves. The reason I had to merge them is because of how complex the activation code has become. As you can imagine, it became extremely hard to manage four different collections: Saves, Regular Database, Save Whitelist, and Custom Database. I decided to invest heavily into further developing Saves.

Can you help me make it work with a specific website?

I really wish I could! Please see the Sticky for a potential solution.

Why can't Infy Scroll execute custom scripts?

Unfortunately, because browsers strongly discourage this from a security standpoint (especially now that Manifest V3 is out!). However, there's a workaround: you can write your own custom scripts inside a Userscript Manager (like Violentmonkey) by listening for Custom Events that Infy triggers whenever a new node or page has been appended or by implementing a MutationObserver. Feel free to read the Scripts and Styles section for examples and more information.

What is the minimum browser version (and why is it to so high)?

Infy currently requires Chrome/Edge/Firefox 102 and higher to run. I tend to update the minimum browser version about once a year so I can use the latest and greatest ECMAScript features without worry. It also significantly saves in my testing time in having to maintain older Chromium builds. In the past, I used to offer "modified" builds with a lower minimum version, but I can no longer do this. If your browser doesn't support Infy, I'm afraid you'll have to use another app/extension (sorry!).

Why is the production version's source code minified?

I use Terser to minify the source code for production releases that I upload to your browser's web store. I mainly do this because I write a lot of comments and console.log() statements for debugging that you don't want to have and because it cuts down the file size significantly. That said, you can always view a "Pretty Print" of the source code by using a CRX Viewer to inspect it before installing it.

Permissions Justification

  • Read and change all your data on the websites you visit - Infy needs to request this permission so that its content script can auto-activate on any Saved URL or Database URL you want it to.

Privacy Policy

Infy Scroll does not track you. It does not use analytic services. It does not collect or transmit any data from your device or computer. All your data is stored locally on your device. Your data is your data.

Credits and Special Thanks

... and most of all you for using Infy

Contributing

Thanks for considering to contribute! I'm currently not setup to accept PRs just yet, but you can open an issue and we can discuss your idea or change.

License

View License

Copyright

Infy Scroll
Copyright © 2015-2020 Roy Six
Character Design and Artwork Copyright © 2020 Joyfool

infy-scroll's People

Contributors

hoothin avatar roysix avatar sixcious avatar wordpure avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

infy-scroll's Issues

Previous versions

Hi! Where can i find the previous versions of your app? i need one that actually works with fennec f-droid 68.12.0 for android. (with actual version 0.6.0.6 says addon downloading, but can't install)
Thanks in advance!!

[Feature Request] Events/hooks or custom code

Describe the feature request you'd like
First of all thank you very much for making this extension, it's by far the most featured of the bunch in this category. While the options your provide in the extension are exhaustive and fulfill most use cases, sometimes I need to do something extra. Rather than cater to each individual case, maybe an option could be added for the user to execute some Javascript (could be purely cosmetic or functional) after Infy appends the next page?

Alternatively, if the above doesn't appeal to you, you can maybe add events/hooks to the script that the end user can hook into and do things with? I would appreciate that very much. Thank you.

Screenshots
N/A

Questions about rules, saved URLs and custom DB

I have some questions that I think should be addressed in the documentation.

  • Where are the new elements inserted in the Element mode?

  • What happens if a page matches several rule patterns?
    Which of the Saved URLs, DB, and Custom DB take precedence?
    What is several patterns in the same category (above) match? Does Infy Scroll try them sequentially until it finds one that works? In that case, does order matter (if it does, consider it to be a request to allow reordering of Saved URLs)

  • It seems that the custom DB and the Saved URLs address similar needs (user-defined rules).
    Are there any differences between them that would suggest using one over the other?
    Are there plans to merge them in the future?

Thank you!

Request: Allow editing saved URLs from the "My Saved URLs" page

Feature request
Please add the option to edit the saved URLs to the the "My Saved URLs" page. It is more convenient than going through a page that matches the pattern, especially if the page matches more than one pattern.

Can be done with a little "pencil" icon that will open the existing rule configuration dialog with the URL/pattern data pre-loaded.

Thank you!

Pixiv works inconsistently

I am having problems making Pixiv galleries work with Infy scroll. Some galleries work, others don't, others work for a certain number of pages then stop, yet others cause Infy to hang (the animated icon does not stop).

Website
Here are a couple of art galleries that I tried it on
https://www.pixiv.net/en/users/415/artworks
https://www.pixiv.net/en/users/39/artworks

Environment
This is required, so please fill out as much as you can about your environment.

  • Device: PC
  • OS: Windows 10
  • Browser: FF
  • Browser Version: 108.0b6 (64-bit)
  • Extension Version: 0.7

Exported entry

    {
      "id": 14,
      "type": "pattern",
      "url": "https://www.pixiv.net/*",
      "title": "pixiv",
      "date": "2022-11-28T05:06:57.960Z",
      "order": 2,
      "action": "next",
      "scrollAppend": "element",
      "scrollAppendScripts": false,
      "scrollAppendStyles": false,
      "scrollLazyLoad": true,
      "scrollLazyLoadMode": "auto",
      "scrollLazyLoadAttributeSource": "data-src",
      "scrollLazyLoadAttributeDestination": "src",
      "scrollElementRule": "//section//div[ul]",
      "scrollElementInsertRule": "",
      "scrollElementType": "xpath",
      "scrollElementIframe": true,
      "scrollMediaType": "image",
      "scrollWrapFirstPage": false,
      "scrollHeightWait": 0,
      "nextType": "xpath",
      "nextSelector": "//button[@aria-current='true']/following-sibling::a[@aria-disabled='false']",
      "nextXpath": "//button[@aria-current='true']/following-sibling::a[@aria-disabled='false']",
      "nextProperty": [],
      "nextKeywordsEnabled": false,
      "prevType": "selector",
      "prevSelector": "[rel=\"prev\"],[rel=\"previous\"]",
      "prevXpath": "//*[@rel=\"prev\"]|//*[@rel=\"previous\"]",
      "prevProperty": [
        "href"
      ],
      "prevKeywordsEnabled": false,
      "buttonType": "xpath",
      "buttonRule": "//button[@class=\"page-link\"]/span[@class=\"fa fa-chevron-right\"]",
      "buttonMethod": "click",
      "buttonScrollPixels": 1000,
      "list": "",
      "listArray": [],
      "selectionStart": 31,
      "selectionPriority": "smart",
      "selectionCustom": {
        "url": "",
        "regex": "",
        "flags": "",
        "group": 0,
        "index": 0
      },
      "leadingZeros": false,
      "interval": 1,
      "base": 10,
      "baseCase": "lowercase",
      "baseDateFormat": "yyyy/mm/dd",
      "baseRoman": "latin",
      "baseCustom": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
      "errorSkip": 0,
      "errorCodes": [
        "404",
        "3XX"
      ],
      "errorCodesCustom": [],
      "shuffleURLs": false,
      "shuffleLimit": 100,
      "decodeURIEnabled": false
    },

Version 0.2 Issues

In Infy Scroll 0.2, there are a few issues that will be fixed in the next 0.3 update.

Issue 1 - Aggressive Append Threshold

  • The default settings (2 Pages, 85%) are much too aggressive for appending the next page. They will be reset to much more relaxed defaults so the extension will typically only append the next page if you're on the last page. This can be adjusted back for those who prefer the more aggressive settings in the Options.
  • The scrollbar percentage append threshold doesn't scale as well as intended when there's a lot of pages already appended. For example, 85% works well when there's 10 pages, but not when there's 100 pages. This will be replaced with something like a pixels from bottom offset. That will always scale right no matter how many pages there are.
  • Finally, the extension currently will start auto-appending the next page immediately upon loading the page. However, this may be too aggressive when you only just care about viewing the first page's screen. So it will be coded to only start appending as you start scrolling, or if there is no scrollbar present.

Issue 2 - Lack of Append Scripts Option (May fix broken images/html)
There's a new option that will be added: the ability to append each page's scripts for certain websites. The extension normally removes all scripts from each appended page, as some sites may produce bad results if they're appended (for example: the page may reload/refresh itself due to a script). However, there are use-cases where some websites may benefit from this; for example, on sites where the image thumbnails are broken, the scripts can set them. This can be enabled on a case-by-case basis per site.

Issue 3 - Saving URLs Is Unclear
After you click Yes to save a URL, the extension actually requires you to also click the Accept Button to finalize the save. This isn't mentioned anywhere, so a note will be added in the Save URL Dialog to click the Accept Button.

Issue 4 - Firefox Private Window Installation Error Dialog
Firefox is the only browser that lets you install extensions in Private/Incognito Windows, but this causes issues with Infy because it tries to open the Options Screen with a welcome dialog and expects to have access to the chrome.* api. So in the next update, an error dialog will be displayed instead of the welcome dialog explaining the problem about Private Window installations so users aren't left in the dark.

Some more minor fixes/improvements will be coming as well!

Version 0.3 Issues

In Infy Scroll 0.3, there are a few issues that will be fixed in the next 0.4 update.

Issue 1 - Slow Appending

The append delay timeout is incorrectly placed before the append actually happens, resulting in an unnecessary delay (2 seconds is the default). This will be adjusted so that the timeout for the append delay is placed after the append actually occurs.

Issue 2 - Appending Too Early (Page 2)

Currently, Infy will append Page 2 (the first page it appends) as soon as you start scrolling. This will be changed so that it will only append Page 2 if you are near the bottom.

Issue 3 - Appending Too Early (AutoPagerize Mode)

There is a bug in Append Element (AutoPagerize Mode) where you may notice Infy will append pages earlier than it should. This is because we are not factoring in the offset, or basically the distance from the very top of the HTML document to the very top of the parent element we are appending to. This will be fixed in the next update to factor in the offset so that pages are appended only when you're near the bottom.

Issue 4 - Incorrect AutoPagerize Page Element Rule Implementation for Selector

The page element rule when using CSS Selectors is incorrectly expecting the "parent element," not the children element like the XPath rule does. This will be changed to match the XPath implementation. Any saves that use the Page Element Selector rule type will have an " > * " added to them to point to the children element in order to keep them working in Version 0.4+.

Other Notes
The scrollbar detection option is no longer relevant and needed, as the Append Threshold check (Pixels) will automatically do this check.

More minor bug fixes and performance improvements will also be coming.

problem with ublacklist app

Describe the bug
I use ublacklist app on Chromum
after I installed this app.
from the second page of google. "Block this site" button doesn't show up
ublacklist (https://chrome.google.com/webstore/detail/ublacklist/pncfbmialoiaghdehhbnbhkkgmjanfhe)

URL

Environment
If you can, please fill out as much as you can about your environment.

  • Device: [e.g. PC] PC
  • OS: [e.g. Windows 10] Win10
  • Browser [e.g. Chrome, Edge, Firefox] Chromum
  • Browser Version [e.g. 84.0.4147.125]
  • Extension Version [e.g. 0.1]

Screenshots
https://imgur.com/a/goWw5Gu

Etsy.com not working

search results on etsy.com are not working. It seems as if the elements are loaded but then they are put into an invisible container :(

Option to open link on current tab?

Currently, clicking on this link will open that page on a new tab. Is there an option to open it on current tab?

image

The same issue also happens on any link on the newly loaded page (not on the original page)

保存的网址匹配规则

关于保存的网址匹配规则,遇到的困难。
例如
对于一条规则需要生效的网址是,www.example.com/[any word]/,其中[any word]有许多无规律的字符。
另一条规则需要生效的网址是,www.example.com/[any word]/[any word]/,其中[any word]有许多无规律的字符。
如何只保存两条自动滚动规则 ,为了分别对大量网址起作用,而且不冲突。

Does this extension suports whitelisting?

I have used several autopager extensions/scripts and the problem with most of them is that they use a "blacklist" model. That is, they are on by default and allow opting-out for specific sites.

The problem with that approach is that the autopaging code tends to break some sites, sometimes silently, and it is usually the ones where breakage causes the most unfortunate consequences: financial sites, job interview sites, medical/insurance, etc.

Unfortunately, it is impossible to know in advance if a web site will break with autopaging, so the safest approach is the opposite one - a "whitelist" (aka "opt-in") , where the default is not to try to autopage unless the user marks the site as "safe".

Does Infy support this?

Request: Display names of saved URLs

Feature request
The "My Saved URLs" page displays the URL patterns and their dates, but not the names assigned to them.
People are better at recognizing names than regex. Arguably they are at least as important as the dates.

Screenshots

image

Thank you!

Stopped working on Firefox

Describe the bug
I get the error message "Oops — Sorry! Infy had trouble loading on this page. Infy might not have permission to work on this page (for example: Browser Pages, Options Page, or New Tab Page), or you might need to try refreshing this page again."

I tried turning the addon off and on again. Reloaded the pages. Nothing helped.

URL
Everywhere

Environment
Win 10 - Firefox 87.0b8

I think this started with the v87 Beta

Request: More flexible page separator

Feature request
Add an id/name to each page separator, and links to previous separator, next separator, top of page (href="#"), bottom of page (can it be done with js?)

Whitelist?

Hi!

Great extension - congratulations!!! What I'm really missing is a whitelist, though! I just need the functionality on a few websites, on most others I prefer the regular page separation. So it would be really great to have a whitelist where I can enter just the pages I want Infy-Scroll to handle!

Like e.g.:
https://www.google.*

etc.

Thanks!

DB rules not invoked on some pages

Describe the bug
A page that has an associated DB rule is not automatically processed.

  1. I go to https://xenforo.com/community/threads/job-xf-emailunsubscribe-invalid-header-value-detected.177611/

  2. The next page is not fetched.

  3. I click on the extension icon and get the following:

image

  1. I click [OK] and [ACCEPT]

  2. The next page is fetched

  3. I refresh the page with [F5]

  4. I'm back to step 2.

Expected behaviour:
If the page is in the DB, the associated rule should be automatically invoked.

Website
https://xenforo.com/community/threads/job-xf-emailunsubscribe-invalid-header-value-detected.177611/

Environment

  • Device: PC
  • OS: Windows 10
  • Browser: FF 105.0b9
  • Extension Version: 0.7

Screenshots
See above, and also:

image

Picture scrolls keep jumping back up to the start

As I'm scrolling down an infy scroll of pictures using the Increment > Media function, every time a new image in the series loads, it jumps the scroll right back up to the top, and I have to scroll back down to find my place again.

Firefox Nightly on Android.

Rules doesn't save in Vivaldi

Hi,
I installed the extension under Vivaldi browser, but when I set a rule and Accept it it works, but if I revisit that site nothing happens.
It seems that it doesn't save any rule I set at all.

Environment
If you can, please fill out as much as you can about your environment.

  • Device: PC
  • OS: Windows 10
  • Browser Vivaldi
  • Browser Version 4.3.2431.3 (Official Build) (64-bit)
  • Extension Version 0.6 β (03/30/21)

JS event after loading a new page

Feature request
JS event after loading a new page.
I want to replace/remove some content/char from the page. it would be great if I can subscribe to a event and do modification.
Or can add a class on the div.

Removing Next Link Property and Insert Before?

Hi everyone,

I'm looking for feedback on the removal of these two fields. It's these two inputs outlined in red in the UI:

Infy Scroll UI Removals

Right now, this is just about removing them from the UI. They would still be in the Save object, which you will be able to edit in the Options screen. Removing these two fields would allow the Next Link Path and the Page Element Path inputs to have more room and be 100% full width.

Next Link Property
I added this because I thought there may have been a use-case for a site secretly storing the next link in a property/attribute besides href. However, since releasing Infy, I haven't encountered a website yet that actually does this. Has anyone?

Insert Before
There are currently only 50 Database URLs that have an Insert Before path entered for them, and many of them aren't working anymore. Has anyone used this field and would prefer that it remain in the UI?

Thank you for any feedback!

Add support for local files

Awesome extension 👍 It would be even better if it can handle local url lists ( a list of url that begins like file:///)

Bug: multiple saved rules not attempted for page

When I navigate to a page that matches the urls of two saved rules, only one of them is attempted, even if it cannot find the scrollElementRule on the page. This makes it much more difficult to make "generic" rules.

Suggestion:

  • Find all the saved rules with a URL match
  • Check each one in sequence, until both a scrollElementRule and a nextSelector/nextXpath are found.

I believe this is how DB rules work, I'd like saved rules to work similarly.

Thank you.

[Feature Request] Monospace font for relevant input fields in options

It'd be nice to have a monospace font (or just monospace, save for a configurable option) for textarea fields expecting code, or code-like text—e.g. the Database Blacklist and other fields receiving regexes, and maybe Next Rule in the popup. I thought about a custom CSS input option similar to Tampermonkey as an larger scope alternative, but that seems somewhat overkill as the current UI is pretty great to use otherwise.

Screenshots

If applicable, please add any screenshots that might help explain your feature request better. However, please do not post any screenshots of the extension.

Hopefully a screenshot of just the content of a text box is fine for reference? I'll remove the before if requested.

Current:

Monospaced:

[Feature Request] Add a Backup and Restore Feature

Describe the feature request you'd like
When I open the portable version of Chrome under the new Windows 10 or 11, the "save" under Infy Scroll Options is empty.
This kind of experience is not good, after all, it was created and preserved with great effort before.
The data saved by some other extension programs can still be valid, such as
Tab Session Manager, uBlock, Tampermonkey, SwithyOmega.
uBlock saves the settings in the cloud, and Tab session Manager saves it locally. These experiences are all very good.
In addition, is it possible for users to submit custom rules to the database?

Enable late activation on SPA websites that adjust their page content dynamically (e.g. Github)

Describe the bug

  1. Go to https://github.com/sixcious/infy-scroll/issues?q=is%3Aissue
  2. Scroll down to see the extension working
  3. click in Filters textbox, add a space at the end of the query string, and hit ENTER
  4. Scroll down to see the extension NOT working
  5. Refresh the page ( url changes to https://github.com/sixcious/infy-scroll/issues?q=is%3Aissue+ ) and it works again.

Website
https://github.com/sixcious/infy-scroll/issues?q=is%3Aissue

Environment
Please fill out as much as you can about your environment.

  • Device: PC
  • OS: Windows 10
  • Browser: FF
  • Browser Version: 105.0b9
  • Extension Version: 0.7

希望加入中文支持

因为看不懂,或许我遇到的问题是可以通过设置进行解决的?
Screenshots
image
谢谢

URL List - would like to stop the Auto option when it reaches the end of the list

I have a list of urls that I'm autopaging through, say 5 urls.
But I turn on the Auto -> Set Auto Settings, and if it's on 10 items, then it just repeats the last item over and over.
Can't the Auto option stop if it reaches the end of the list please? So that I don't have to know exactly how many items there are each time in my list. (Because the URL List doesn't show how items is in its list, maybe that can be added too).

As an aside, why not have an autoincrement on the URL list option too?
The auto increment option works OK, except that it changes the page url which I'm trying to avoid.

Save latest page url in url bar so can recover after browser restart

Feature request
Hi I was wondering if you could add support for the ability to set contents of the url bar to be the latest page which has been clicked on and extended with, so that if I re-start my browser my position is at least saved and I do not need to start scrolling from the top.

Much appreciated! :)

Screenshots
If applicable, please add any screenshots that might help explain your feature request better.
However, please do not post any screenshots of the mascot character.

Google search breaks

Describe the bug
On google, without any scrolling by the user, the addon begins loading page 2 but pushes what was on page 1 (the most relevant search results) to the bottom of the page, it keeps loading more pages infinitely making you unable to see the main results from page 1

URL
https://www.google.com/

Environment
If you can, please fill out as much as you can about your environment.

  • Device: Mac
  • OS: MacOS 12.3
  • Browser Chrome
  • Browser Version 99.0.4844.84
  • Extension Version 0.7

Screenshots
image
This is the top of the google page, it immediately loaded page 2 and overlapped it on top of page 1

Version 0.8 Testing & Feedback

Hi everyone,

I'm currently working on the next version of Infy, Version 0.8. This is going to be a pretty big update. If anyone would like to help test this version before it's released, please watch or subscribe to this issue. I'll update the repository and this post with instructions when it's ready.

Thank you!

Max 7 pages on Amazon

Recently Infy Scroll will always stop at 7 pages on Amazon, even when I explicitly request Auto mode. It always stopped at 7 pages by default, but used to go beyond that when I invoked Auto mode.

Also, where is the 7 page limit set for normal scroll mode? Can I change it?

Images spill over text on fetched pages (Not executing scripts on appended pages)

Describe the bug
On some forums, images are not resized correctly on fetched pages, and they spill over the text.
See screenshots below.

Website
https://forums.redflagdeals.com/fido-bf-special-phone-plan-20gb-lte-30-m-first-line-then-25-m-second-line-2581484/

Environment

  • Device: Desktop
  • OS: Win 10
  • Browser: Firefox
  • Browser Version: 108.0b5 64-bit (but happened on earlier versions as well)
  • Extension Version: 0.7

Screenshots (Optional)

Actual:
image

Expected:
image

Please read before opening an issue

Hi,

Thank you for taking the time to read this post 💜

When posting or commenting on an issue, I kindly ask that you follow the below guidelines:

  1. Please be nice and respectful
  2. Please do not post any NSFW (Not Safe For Work) URLs or content
  3. Please only open issues related to Infy Scroll (the app itself), such as bug reports or feature requests. If you need help making Infy work with a specific website, please do not open an issue here on GitHub and read the section below

Can you help me make it work with a specific website?

I really wish I could. I've spent the last several years helping people both privately and on GitHub but there's just too many websites out there for one person to help everyone with. So, I'm going to try and make this a community effort. If you need help making Infy work on a specific website, I kindly request that you join the Discord and hopefully someone from the community can help you. Alternatively, if you need help with Selectors, XPath, or other web development topics, you could try asking your question on Stack Overflow. Lastly, I've written a Help Guide that might be able to help.

Links

How do I make images load properly on appended pages?

Please see this page: Missing Images or Blank Pages

User Interface: Remember the last used mode

Thanks a lot for this great and useful Tool!

Describe the feature request you'd like

Better default handling for the Scroll Mode (Next Link / Increment URL / ...) and Append Mode (Page / Iframe / Element / ...)

Each time as I open Infy Scroll, I do the same thing:

  1. Select: "Increment URL"
  2. Select Append Mode: Element

Suggestion 1: UI remembers last used settings or the Options defines the default

It would be great if Infy Scroll:

  • either remember the last used Infy Scroll Mode (Next Link / Increment URL / ...) and the last used Append Mode (Page / Iframe / Element / ...)
  • or if one could define those default values in the Infy Scroll Options

Suggestion 2: Saved URLs knows which mode to use

It would be great if saved URLs automatically reuses the right Infy Scroll Mode (Next Link / Increment URL / ...) and the right Append Mode (Page / Iframe / Element / ...).
It would be useful if the Saved URLs saves those modes, too.

Thanks a lot, kind regards,
Thomas

GitHub is behind the current store version

Describe the bug
I downloaded the main branch zip from github and unzipped it on windows 10 to manually install it on chromium.

I loaded the unpacked extension successfully using this location 'infy-scroll-main\src\base'

the version is 0.6

image

I realized something was amiss after getting this reply on an issue. #25 (comment)

I don't know how to get version 0.7.

Environment

  • OS: [e.g. Windows 10]
    Version 97.0.4692.71 (Developer Build, ungoogled-chromium) (64-bit)

Screenshots
If applicable, please add any screenshots to help explain the problem.
However, please do not post any screenshots of the extension. For example, please do not post screenshots of the User Interface, Options Screen, or of the Mascot Character.

1st page duplicated upon activation

Issue

This is not a very big deal and I was only able to look through the first page of open issues to see if it's been reported before and I wasn't able to comb through the closed issues at all but as the title suggests at least on some sites the first page is getting duplicated upon activation of the extension specifically I've noticed it consistently with amazon.com and amazon.com/vine period I have these whitelisted and everything works as expected/ intended as far as the extension activating when and where it's supposed to which is really the important part but a minor annoyance is that I always have to scroll through the first page of results again without fail. If this is something that I'm doing or not doing then I'd love to know so I can make the necessary adjustments and I wouldn't be surprised if it were user error because this extension is flawless Imo at least invaluable so if I have to put up with this minor annoyance then so be it. I'll try to determine if it's happening elsewhere, as well.

And again, I apologize if this has already been reported or addressed elsewhere as I had barely enough time to write this issue out let alone delve into the backlog of clothes issues ETC I thought about not leaving it until I had time to do so but all that would probably result in is me not leaving it at all so I made the Judgment call that I felt was more prudent. We'll see what hindsight has to say on the matter before too long, I suppose...

PS - I went to grab a specific URL and since Vine is an invite only program, I elected to provide an Amazon.com URL example, however I found that the issue was not presenting, so maybe it is specific to Amazon Vine, after all. In which case, I would completely understand if this falls under "can't/won't fix" for no other reason than, unless you're a "Vine Voice" (and swimming in free Amazon shite while simultaneously drowning in "items awaiting reviews"), you're hard pressed to even be able to replicate it, let alone do much about it. Either way, thanks for an awesome extension! It absolutely improves my browsing experience (i.e., improves life) several fold.

URL

https://www.amazon.com/vine/vine-items?queue=encore

Version

0.7 ß

Browser

Chrome 111.0.5563.14 (Official Build) beta (64-bit)

OS

Noticed on ChromeOS but I think I've encountered it on Linux, as well(Arch-based distro Garuda Linux)

Device

PC

Some content is invisable due to scale and crop

Describe the bug
I like the functions of this pluin. I am using edge edition.
When I click infy Scroll button on the tool button of my browser, right and bottom part content is invisable due to scale and crop. I cannot do right operations in this situation.
I try to resize visiting page to 100% but it does not affect scale rate of this extension.

URL
For all urls

Environment
If you can, please fill out as much as you can about your environment.

  • Device: PC
  • OS: Windows 10
  • Browser Edge
  • Browser Version 95
  • Extension Version 0.6.06

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.