Pagetual

Páginas infinitas - um poderoso script de paginação automática. Carrega automaticamente as próximas páginas da web paginadas e as insere na página atual para rolagem infinita. Suporta milhares de sites sem nenhuma regra.

< Feedback de Pagetual

Avaliação: Bom - o script funciona

§
Publicado em: 10/02/2022

伟大的工作! 对不起,英语是我的语言。我想知道你是否可以给我一个例子来制定规则 playstation.com
我已经检查了你的 https://github.com/hoothin/UserScripts/tree/master/Pagetual#rules
并试图比较您的示例 yande.re 但不理解规则。我希望能弄清楚,但我想我会寻求你的帮助,也许学会为自己做另一个。再次感谢

hoothinAutor
§
Publicado em: 10/02/2022
  {
    "name":"playstation",
    "action":1,
    "css":".psw-visually-hide{opacity:1!important}.pagetual_loading{display:none!important}",
    "wait":2000,
    "url":"^https://store\\.playstation\\.com/.*/\\d+$",
    "pageElement":"ul.psw-grid-list",
    "nextLinkByUrl":["(.*/)(\\d+)$","$1{$2+1}"]
  }

Update the script and try this

hoothinAutor
§
Publicado em: 10/02/2022

Let me know if you have any question

§
Publicado em: 10/02/2022

感谢我添加的重播

customRulesInput.placeholder=`[\n {\n "name":"yande",\n "action":"0",\n "url":"^https:\/\/yande\\.re\/",\n "pageElement":"ul#post-list-posts>li",\n "nextLink":"a.next_page",\n "css":".javascript-hide {display: inline-block !important;}"\n },\n {\n "name":"playstation",\n "action":"1",\n "css":".psw-visually-hide{opacity:1!important}.pagetual_loading{display:none!important}",\n "wait":2000,\n "url":"^https://store\\.playstation\\.com/.*/\\d+$",\n "pageElement":"ul.psw-grid-list",\n "nextLinkByUrl":["(.*/)(\\d+)$","$1{$2+1}"]\n }\n]`;

我想也许我做错了什么,因为它对我不起作用。谢谢

hoothinAutor
§
Publicado em: 10/02/2022

You should open the config page and paste it to the textarea.

§
Publicado em: 10/02/2022

You should open the config page and paste it to the textarea.

Appreciate your script and help. Having issue on playstation.com when scrolling down towards bottom of current page the page will hop/scroll all the way to bottom and loose track of current title I was looking at. I'll have to scroll up and sometimes that triggers the next page load. When you get a chance can you take a look (no rush) thank you

hoothinAutor
§
Publicado em: 11/02/2022
Editado em: 11/02/2022
  {
    "name":"playstation",
    "action":1,
    "css":".psw-visually-hide{opacity:1!important}.pagetual_loading{display:none!important}[name='pagetual-iframe']{display:none}",
    "url":"^https://store\\.playstation\\.com/.*/\\d+$",
    "pageElement":"ul.psw-grid-list",
    "wait":2000,
    "nextLinkByUrl":["(.*/)(\\d+)$","$1{$2+1}"],
    "pageAction":"[].forEach.call(eles[0].querySelectorAll('[loading=lazy]'),img=>{img.src=img.src.replace('w=54&thumb=true','w=230&thumb=false');img.classList.remove('psw-blur')});"
  }

Update the script and try this new one

§
Publicado em: 11/02/2022
Editado em: 11/02/2022

Still seems to be doing same issue and for some reason now when visiting the config page there's no textbox to enter rule
When adding a rule does that just update a online database?
Thanks

hoothinAutor
§
Publicado em: 11/02/2022

Maybe you visit the config page from other pages of github. I've update a new version for this.
When adding a rule to textarea on config page, the rule will be added to local with highest priority.
Rule from a online database should be updated by click the button with "Updated xxx ago" on config page.
By the way, I've add the rule for playstation to online database. You can just update rules by click if you wish.

Enviar resposta

Entre para publicar uma resposta.

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元