Greasy Fork is available in English.

AO3: Tracking

Track any filterable listing.

< Σχολιασμός για τον κώδικα AO3: Tracking

Αναφορά: Καλός - ο κώδικας λειτουργεί

§
Δημοσιεύτηκε: 08/01/2021

Thanks, this is really helpful!

I had an issue with the tracker background/border not inheriting color from my skin, as well as the vertical alignment of the Tracked button, so I made a couple quick patches for those in case you or anyone else would like to incorporate them.


Tracked button vertical alignment:

434c434
<               header_menu.find('#search').prepend(tracked_button);
---
>               header_menu.find('#search').parent().prepend(tracked_button);

Background/border color inheritance:

447c447
<               var css = '#tracked-box {position: fixed; top: 0px; bottom: 0px; left: 0px; right: 0px; width: 60%; height: 80%; max-width: 800px; margin: auto; overflow-y: auto; border: 10px solid #eee; box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2); padding: 0 20px; background-color: #ffffff; z-index: 999;}\
---
>               var css = '#tracked-box {position: fixed; top: 0px; bottom: 0px; left: 0px; right: 0px; width: 60%; height: 80%; max-width: 800px; margin: auto; overflow-y: auto; border: 10px solid; border-color: inherit; box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2); padding: 0 20px; background-color: inherit; z-index: 999;}\

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.