Greasy Fork is available in English.

東方永頁機

페이지가 매겨진 다음 웹 페이지를 자동으로 로드하고 현재 페이지에 삽입합니다. 규칙 없이 수천 개의 웹 사이트를 지원합니다.

< 東方永頁機 피드백

질문/댓글

§
작성: 2023-06-15

Great script, but on google videos the next pages load without the video thumbnail

hoothin개발자
§
작성: 2023-06-16

I don't think so.

hoothin개발자
§
작성: 2023-06-16

If you want thumbnail to be moving, you need action:2.

{
    "name": "Google Search",
    "nextLink": [
        "id('pnnext')|id('navbar navcnt nav')//td[span]/following-sibling::td[1]/a|id('nn')/parent::a",
        "id('pnprev')|id('navbar navcnt nav')//td[span]/following-sibling::td[1]/a|id('nn')/parent::a"
    ],
    "pageElement": "id('rso')|id('center_col')/style[contains(.,'relative')][id('rso')]|id('search')/div/div/style[1]",
    "action": 2,
    "pageNum": "&start={10*($p-1)}",
    "pageBarTop": 55,
    "url": "^https?://[^./]+\\.google(?:\\.[^./]{2,3}){1,2}/(?:c(?:se|ustom)|search|webhp|m|#)",
    "replaceElement": "[role='navigation']>[role='presentation']",
    "css": "ol>li{display: inline-flex;}inIframe:.minidiv{display:none}"
}
§
작성: 2023-06-16

wow great that fixed the issue!

Fix the time I ever see a script like this actually load thumbnails!

Best script ever!

§
작성: 2023-06-25

I am almost sure that your script is making this weird bug happen sometimes

image

hoothin개발자
§
작성: 2023-06-25
수정: 2023-06-25

If you want to use Pagetual in an incognito tab, you need to delete the css property & id('center_col')/style[contains(.,'relative')]|id('search')/div/div/style[1]. The reason for this is that the css property is preventing it from working properly in incognito mode.

§
작성: 2023-06-26

[
{
"name": "Google Search",
"nextLink": [
"id('pnnext')|id('navbar navcnt nav')//td[span]/following-sibling::td[1]/a|id('nn')/parent::a",
"id('pnprev')|id('navbar navcnt nav')//td[span]/following-sibling::td[1]/a|id('nn')/parent::a"
],
"pageElement": "id('rso')|[id('rso')]|",
"action": 2,
"pageNum": "&start={10*($p-1)}",
"pageBarTop": 55,
"url": "^https?://[^./]+\\.google(?:\\.[^./]{2,3}){1,2}/(?:c(?:se|ustom)|search|webhp|m|#)",
"replaceElement": "[role='navigation']>[role='presentation']",
"css": "ol>li{display: inline-flex;}inIframe:.minidiv{display:none}"
}
]


Now the images no longer load on the videos tab on google

hoothin개발자
§
작성: 2023-06-26

"pageElement": "id('rso')|[id('rso')]|" this is not a valid xpath, try "id('rso')"

§
작성: 2023-06-26

perfect

§
작성: 2023-06-26

the color bug still happening...

hoothin개발자
§
작성: 2023-06-27

...It's not a bug. Google doesn't enable the dark mode feature in the incognito tab when it's first opened. If you don't want this, simply exit the incognito mode or disable dark mode in chrome.

§
작성: 2023-06-27

but like why is only the links on dark mode, and everything else white then?

hoothin개발자
§
작성: 2023-06-27

I'm not sure, but it should appear like this when action:2 is used.

§
작성: 2023-06-27

that looks broken, it is hard to see at day and at night, it hurts the eyes any time of the day, cant it be fixed?

hoothin개발자
§
작성: 2023-06-27

Just refresh it initially. Otherwise, you can write a CSS style that enforces the dark mode theme.

§
작성: 2023-06-27

yeah, I can do that, but would be better if the script did it itself, I don't really want to waste time making a script to force Google to be dark/white. Someone else might also consider this a bug in the future if I fix it just by myself...

§
작성: 2024-03-18

If you want thumbnail to be moving, you need action:2.

{
    "name": "Google Search",
    "nextLink": [
        "id('pnnext')|id('navbar navcnt nav')//td[span]/following-sibling::td[1]/a|id('nn')/parent::a",
        "id('pnprev')|id('navbar navcnt nav')//td[span]/following-sibling::td[1]/a|id('nn')/parent::a"
    ],
    "pageElement": "id('rso')|id('center_col')/style[contains(.,'relative')][id('rso')]|id('search')/div/div/style[1]",
    "action": 2,
    "pageNum": "&start={10*($p-1)}",
    "pageBarTop": 55,
    "url": "^https?://[^./]+\\.google(?:\\.[^./]{2,3}){1,2}/(?:c(?:se|ustom)|search|webhp|m|#)",
    "replaceElement": "[role='navigation']>[role='presentation']",
    "css": "ol>li{display: inline-flex;}inIframe:.minidiv{display:none}"
}
Import

This fix the issue on the desktop version of the page, but on mobile doesn't work, can you please tell me how to change it to make it work?

댓글 남기기

댓글을 남기려면 로그인하세요.