Welcome Guest ( Log In | Register )

3 Pages V < 1 2 3  
Reply to this topicStart new topic
> [Script] EH Gallery Quick Favourite, No more popups, just hover and click

 
post Jun 12 2023, 13:10
Post #41
cillywillyboy



Newcomer
**
Group: Members
Posts: 58
Joined: 26-April 20
Level 191 (Destined)


Any way to make this work on searched galleries and not only inside the gallery?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 13 2023, 15:56
Post #42
FabulousCupcake



Casual Poster
****
Group: Gold Star Club
Posts: 492
Joined: 15-April 14
Level 451 (Dovahkiin)


QUOTE(cillywillyboy @ Jun 12 2023, 13:10) *

Any way to make this work on searched galleries and not only inside the gallery?


Not possible with the current script, but shouldn't be too difficult to write one on your own

I personally never favourite from the list view (I'd typically want to check the gallery details first) and my intuition suggests most people are doing the same, so I probably won't do this
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 23 2023, 23:43
Post #43
tallos



Newcomer
**
Group: Members
Posts: 86
Joined: 22-February 12
Level 395 (Dovahkiin)


I seem to be having the following issue recently.
When adding a gallery to favorite it shows a note also exiting for the gallery even if one was not added.
When attempting to add/view notes from within a gallery it displays a note of Undefined. This happens both if there is a note present and when there was no note added.
It is still correctly able to add a note, which appears on the favorites page, but any notes added are unviewable from within the gallery.

Example below, i have not added any notes to this gallery, i only added it to favorites.
When i do add a note it still shows a note as undefined, but when i check the favorites listing page it successfully shows the note I added.

Attached Image

This is on v2.2.0f using chrome with tampermonkey.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 24 2023, 01:47
Post #44
FabulousCupcake



Casual Poster
****
Group: Gold Star Club
Posts: 492
Joined: 15-April 14
Level 451 (Dovahkiin)


QUOTE(tallos @ Sep 23 2023, 23:43) *

I seem to be having the following issue recently.
When adding a gallery to favorite it shows a note also exiting for the gallery even if one was not added.
When attempting to add/view notes from within a gallery it displays a note of Undefined. This happens both if there is a note present and when there was no note added.
It is still correctly able to add a note, which appears on the favorites page, but any notes added are unviewable from within the gallery.

Example below, i have not added any notes to this gallery, i only added it to favorites.
When i do add a note it still shows a note as undefined, but when i check the favorites listing page it successfully shows the note I added.

Attached Image

This is on v2.2.0f using chrome with tampermonkey.


The v2.2.0f was a fix targeted to Firefox+Greasemonkey 4 (and Violentmonkey, which afaik follows GM4 API) since iirc at the time Tampermonkey didn't exist yet for Firefox.

Since you're using Chrome+Tampermonkey anyways, use the v2.2.0; the issue should disappear

This post has been edited by FabulousCupcake: Sep 24 2023, 02:23
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 25 2023, 03:50
Post #45
tallos



Newcomer
**
Group: Members
Posts: 86
Joined: 22-February 12
Level 395 (Dovahkiin)


yep that fixed it.
No idea how i ended up with 0f version when i haven't been to this thread in years, or why it worked fine for so long if i was on 0f this entire time.

This post has been edited by tallos: Sep 25 2023, 03:51
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Dec 28 2023, 13:54
Post #46
daheefman



Lurker
Group: Lurkers
Posts: 1
Joined: 12-March 13
Level 21 (Novice)


I wanted the menu for unfavourited things to always drop downwards (instead of upwards).

For anyone else who wants that, to achieve it I changed:

if ( !idElement ) return 10;
... to ...
if ( !idElement ) return -1;

and

if ( curFavID != 10 ) {
... to ...
if ( curFavID != -1 ) {

and

if (favID == "favdel" || favID === 10) {
... to ...
if (favID == "favdel" || favID === -1) {

and

if ( labelId == 10 ) return false;
...to...
if ( labelId == -1 ) return false;

This post has been edited by daheefman: Dec 28 2023, 14:05
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 24 2024, 23:20
Post #47
FabulousCupcake



Casual Poster
****
Group: Gold Star Club
Posts: 492
Joined: 15-April 14
Level 451 (Dovahkiin)


QUOTE(cillywillyboy @ Jun 12 2023, 13:10) *

Any way to make this work on searched galleries and not only inside the gallery?


I ended up writing one:
Attached File  ehg_read_later_favourite.user.js.txt ( 2.55k ) Number of downloads: 24


This replaces the favourite popup that opens when you click the date in Gallery List View page.
Instead, it will just immediately put the gallery to a designated favourite category.
If the gallery was already favourited, it will remove it; ⚠️ Note that this removes the favourite notes so be careful

Modify the favourite category that will be used on Line 16 in the code.



This post has been edited by FabulousCupcake: Apr 24 2024, 23:29
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Dec 4 2024, 21:19
Post #48
ZuggyBoi



Lurker
Group: Gold Star Club
Posts: 9
Joined: 5-August 15
Level 350 (Dovahkiin)


QUOTE(FabulousCupcake @ Apr 25 2024, 00:20) *

This replaces the favourite popup that opens when you click the date in Gallery List View page.



I was looking exactly for this! Thanks (IMG:[invalid] style_emoticons/default/biggrin.gif)

This post has been edited by ZuggyBoi: Dec 5 2024, 01:20
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


3 Pages V < 1 2 3
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 1st April 2025 - 16:20