Skip to content

All userscripts stop working in some websites like "https://www.zhihu.com" #9

@shunf4

Description

@shunf4

Enabling this script:

// ==UserScript==
// @name         My Script
// @version      0.1
// @match        *://*/*
// @grant        none
// ==/UserScript==

alert("Hello world!");

Navigating to https://www.zhihu.com , no alert window appears.

Nothing special found in logcat:

06-08 23:41:12.226 12563 12563 E PhoneWindow: Horizontal progress bar not located in current window decor
06-08 23:41:12.226 12563 12563 E PhoneWindow: Horizontal progress bar not located in current window decor
06-08 23:41:12.261 12563 12563 E PhoneWindow: Horizontal progress bar not located in current window decor
06-08 23:41:14.646 12563 12563 E PhoneWindow: Horizontal progress bar not located in current window decor
06-08 23:41:14.647 12563 12563 I c.a     : Running script "My Script, greasyfork.org: null" on https://www.zhihu.com/signin?next=%2F
06-08 23:41:27.150 12563 12563 I Choreographer: Skipped 60 frames!  The application may be doing too much work on its main thread.
06-08 23:41:27.186 12563 12586 I OpenGLRenderer: Davey! duration=707ms; Flags=0, IntendedVsync=13179795072300, Vsync=13180461738960, OldestInputEvent=9223372036854775807, NewestInp
utEvent=0, HandleInputStart=13180469565907, AnimationStart=13180469604136, PerformTraversalsStart=13180471340542, DrawStart=13180482733199, SyncQueued=13180484299188, SyncStart=131
80485001688, IssueDrawCommandsStart=13180485289136, SwapBuffers=13180502223615, FrameCompleted=13180503651480, DequeueBufferDuration=1234000, QueueBufferDuration=665000,
06-08 23:41:33.035 12563 12563 E PhoneWindow: Horizontal progress bar not located in current window decor
06-08 23:41:34.211 12563 12563 I Choreographer: Skipped 37 frames!  The application may be doing too much work on its main thread.
06-08 23:41:34.887 12563 12563 E PhoneWindow: Horizontal progress bar not located in current window decor
06-08 23:41:34.906 12563 12563 E PhoneWindow: Horizontal progress bar not located in current window decor
06-08 23:41:34.930 12563 12563 E PhoneWindow: Horizontal progress bar not located in current window decor

In most other websites the script works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions