EhxVisited

E-H Visited, combined with ExVisited, and then better.

< Feedback on EhxVisited

Review: OK - script works, but has bugs

§
Posted: 18-10-2020

So left click marks it as "viewed" so does "middle click" .. but issue is, it marks them viewed but doesn't open the actual gallery. (how I make it so left click opens gallery and marks it viewed whilst middle click open gallery in new tab and marks it viewed?)

At the moment all I can do is "show viewed" galleries then the LMB and MMB work... which kinda defeats the purpose.

HauffenTác giả
§
Posted: 11-11-2020

What browser and scripting extension are you using to run the script? Is this an issue that's only present when the script is running, ergo, does turning off the script allow you to open galleries normally? If so, are there any errors that show up in the browser console log?

I've never had an issue with being able to open a gallery with either LMB or MMB, so I need some information to go on to try to see if it's actually an issue with the script.

§
Posted: 07-12-2020
Edited: 07-12-2020

I have similar issue. Basically:
* Have "Hide visited galleries" set to enabled (no soft hiding, removes all visited galleries from result list)
* When I LMB/MMB a non-visited gallery to open it / open it in new tab it instantly hides it before browser action is fired - therefore browser doesn't think I clicked on a link and doesn't open anything.
* When I refresh the page, the gallery that was removed from the list (marked as visited and hidden) re-appears without being marked (because that marking does actually happen once the gallery is opened and that never happened - by clicking it, it was just hidden from the search result list).

Browser: Firefox 83.0 (latest stable, issue was present on older versions though)
Scripting extension: Tampermonkey 4.11.6120
EhxVisited version: latest (2.56.11.0)

edit: basically this scripts removes the gallery from list on mouseDown, and firefox opens link on mouseUp - but then the link is already hidden
Line 712, changed

    $('.itg').on('mousedown', 'a', e => {

to

    $('.itg').on('mouseup', 'a', e => {

and it works as expected (opening link->then hiding the result)

HauffenTác giả
§
Posted: 18-12-2020

Okay, I see what the issue is. The solution would be to just edit when the event fires. Fixed in version 2.56.11.1 with the same code that you've already changed.

Post reply

Đăng nhập để bình luận