tag:danbooru.me,2005:/forum_topics/15926 [Userscript] Displaypostinfo 2020-03-27T12:14:17-04:00 tag:danbooru.me,2005:ForumPost/164504 2020-03-27T12:14:17-04:00 2020-03-27T12:14:17-04:00 @BrokenEagle98: > Ars said: > > Looks like a recent change to... <blockquote> <p>Ars said:</p> <p>Looks like a recent change to the site or something broke this script a bit. The Uploader field for all posts now show Mikebooru and links to <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="/users/undefined">/users/undefined</a>.</p> </blockquote><p>Yeah, I just pushed <strong>Version 10.1</strong> which fixes that issue.</p> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/164480 2020-03-27T03:13:24-04:00 2020-03-27T03:13:24-04:00 @Ars: Looks like a recent change to the site or... <p>Looks like a recent change to the site or something broke this script a bit. The Uploader field for all posts now show Mikebooru and links to <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="/users/undefined">/users/undefined</a>.</p> Ars /users/32251 tag:danbooru.me,2005:ForumPost/163273 2020-02-19T21:02:39-05:00 2020-02-19T21:02:39-05:00 @BrokenEagle98: Pushed Version 10 which includes the addition... <p>Pushed <strong>Version 10</strong> which includes the addition of domain statistics for all of the posts on the index page. The source type is also selectable, as it can be either the original source or the normalized source.</p> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/162785 2020-02-02T02:23:05-05:00 2020-02-02T02:23:05-05:00 @BrokenEagle98: > nonamethanks said: > > On... <blockquote> <p>nonamethanks said:</p> <p>On "status:unmoderated" the tag list <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link dtext-named-external-link" href="https://i.imgur.com/da5j9KZ.png">shows NaN% instead of 0</a> when I don't have any more posts in my approval queue.</p> </blockquote><p>Fixed.</p> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/162771 2020-02-01T18:52:58-05:00 2020-02-01T18:52:58-05:00 @nonamethanks: On "status:unmoderated" the tag list shows NaN%... <p>On "status:unmoderated" the tag list <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link dtext-named-external-link" href="https://i.imgur.com/da5j9KZ.png">shows NaN% instead of 0</a> when I don't have any more posts in my approval queue.</p> nonamethanks /users/508240 tag:danbooru.me,2005:ForumPost/161778 2019-12-22T16:50:23-05:00 2019-12-22T16:50:23-05:00 @BrokenEagle98: Pushed Version 9 which primarily includes an... <p>Pushed <strong>Version 9</strong> which primarily includes an update to the library code plus a few additions and fixes:</p><ul> <li><strong>Additions</strong></li> <ul> <li>Extra post statistics of pending, banned, flagged, and deleted count on the post index page</li> <li>Add new menu library elements/functions for cache editor</li> <ul> <li>The raw program data can be extracted using the cache editor, which facilitates transferring program data to another browser/domain</li> <li>Controls which are not applicable are hidden, for example <strong>Local storage</strong> must be selected before the raw data option becomes visible</li> </ul> </ul> <li><strong>Changes</strong></li> <ul><li>Settings menu now adapts to the color changes of the chosen theme (light/dark)</li></ul> <li><strong>Fixes</strong></li> <ul> <li>Fix error when post previews after page initialization get added</li> <ul><li>Such as with EventListener (<a class="dtext-link dtext-id-link dtext-forum-topic-id-link" href="/forum_topics/14747">topic #14747</a>)</li></ul> </ul> <li><strong>Other</strong></li> <ul> <li>Add statistical debug data for data retrieval</li> <li>Multiple internal code changes and refactors</li> </ul> </ul> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/160833 2019-11-08T10:22:39-05:00 2019-11-08T10:22:39-05:00 @BrokenEagle98: > nanami said: > > BTW, which version of Edge... <blockquote> <p>nanami said:</p> <p>BTW, which version of Edge (Chromium version) did you download? There are three versions, Canary, Dev, and Beta (final stable version is still in the works). I'm using the Dev version and it seems the latest update to the Dev version borked the script somewhat.</p> <p>As for the fixes, deleting and reinstalling the script and deleting Tampermonkey have not remedied the problem. I'm now using Tampermonkey Beta, but no dice so far.</p> </blockquote><p>I downloaded the Beta version since it was the most stable. Like I said before, the Chrome and Edge installs seem to share library files somewhat. Since it seems like something in them got messed up in them, perhaps doing a complete uninstall/reinstall would fix things.</p><p><a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="https://www.wintips.org/how-to-completely-uninstall-re-install-google-chrome/">https://www.wintips.org/how-to-completely-uninstall-re-install-google-chrome/</a></p> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/160830 2019-11-08T08:06:43-05:00 2019-11-08T08:06:43-05:00 @nanami: > BrokenEagle98 said: > > Hmm... not sure how... <blockquote> <p>BrokenEagle98 said:</p> <p>Hmm... not sure how that's happening to be honest. I just installed Edge and added Tampermonkey and that script and both still work fine for me. Unfortunately, if I can't replicate the error, there's not much I can do to fix it. I did notice though that Chrome and Edge share a lot of the same libraries on disk, so I imagine that if one gets corrupted than both will become corrupted.</p> </blockquote><p>BTW, which version of Edge (Chromium version) did you download? There are three versions, Canary, Dev, and Beta (final stable version is still in the works). I'm using the Dev version and it seems the latest update to the Dev version borked the script somewhat.</p><p>As for the fixes, deleting and reinstalling the script and deleting Tampermonkey have not remedied the problem. I'm now using Tampermonkey Beta, but no dice so far.</p> nanami /users/49091 tag:danbooru.me,2005:ForumPost/160819 2019-11-07T16:27:45-05:00 2019-11-07T16:30:18-05:00 @BrokenEagle98: > nanami said: > > An error does come up: >... <blockquote> <p>nanami said:</p> <p>An error does come up:<br><code>userscript.html?id=4057cee1-26bb-41ee-a5db-548c1906ee30:2 ERROR: Execution of script 'DisplayPostInfo' failed! undefineds called with a non-global RegExp argument</code></p> <p>Still using 8.6 BTW. Also, am also using DText Styler and that is working fine.</p> </blockquote><p>Hmm... not sure how that's happening to be honest. I just installed Edge and added Tampermonkey and that script and both still work fine for me. Unfortunately, if I can't replicate the error, there's not much I can do to fix it. I did notice though that Chrome and Edge share a lot of the same libraries on disk, so I imagine that if one gets corrupted than both will become corrupted.</p><p>I can suggest though:</p><ul> <li>deleting and reinstalling the script</li> <li>deleting and reinstalling Tampermonkey</li> <li>change to an alternate Chrome/Edge profile</li> <li>reset Chrome/Edge</li> <li>reinstall Chrome/Edge</li> </ul> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/160818 2019-11-07T15:45:13-05:00 2019-11-07T15:45:13-05:00 @nanami: > BrokenEagle98 said: > > I just tested it on... <blockquote> <p>BrokenEagle98 said:</p> <p>I just tested it on Chrome (Version 78.0.3904.87 (Official Build) (64-bit)), and it works just fine for me. I don't have Edge/Chromium though. Are you using <strong>Version 8.6</strong> of <em>DisplayPostInfo</em>?</p> <p>One thing you can also try is opening up the dev console (F12) and seeing if there are any errors (red background). </p> </blockquote><p>An error does come up:<br><code>userscript.html?id=4057cee1-26bb-41ee-a5db-548c1906ee30:2 ERROR: Execution of script 'DisplayPostInfo' failed! undefineds called with a non-global RegExp argument</code></p><p>Still using 8.6 BTW. Also, am also using DText Styler and that is working fine.</p> nanami /users/49091 tag:danbooru.me,2005:ForumPost/160814 2019-11-07T15:00:30-05:00 2019-11-07T15:00:30-05:00 @BrokenEagle98: > nanami said: > > I don't know if something... <blockquote> <p>nanami said:</p> <p>I don't know if something has been changed in Edge (Chromium version), but the script seems to be not working anymore. The code is not working in Chrome (version 78) either. The script still works on Firefox, BTW.</p> </blockquote><p>I just tested it on Chrome (Version 78.0.3904.87 (Official Build) (64-bit)), and it works just fine for me. I don't have Edge/Chromium though. Are you using <strong>Version 8.6</strong> of <em>DisplayPostInfo</em>?</p><p>One thing you can also try is opening up the dev console (F12) and seeing if there are any errors (red background). Additionally, you can turn on debug logging.</p><pre>JSPLib.debug.debug_console = true; </pre><p>The above is on line 35 of the code.</p> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/160809 2019-11-07T06:52:39-05:00 2019-11-07T07:08:02-05:00 @nanami: I don't know if something has been changed in... <p>I don't know if something has been changed in Edge (Chromium version), but the script seems to be not working anymore. The code is not working in Chrome (version 78) either. The script still works on Firefox, BTW.</p> nanami /users/49091 tag:danbooru.me,2005:ForumPost/160276 2019-10-09T16:59:57-04:00 2019-10-09T16:59:57-04:00 @BrokenEagle98: > nanami said: > > Updating the code on... <blockquote> <p>nanami said:</p> <p>Updating the code on Greasemonkey (on Firefox) though seems to remove the ability to show the uploader's name.<br>(EDIT: But then again, you did say above the code is otherwise untested in Greasemonkey/Firefox, so this comment is also a good barometer for that.)</p> </blockquote><p>I just tested and confirmed that the latest version does work on Firefox when using Tampermonkey. I updated the OP to reflect that.</p><p>As for Greasemonkey, none of my scripts are or will be written to be compatible with it, so if they do work then it's only happenstance.</p> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/160273 2019-10-09T10:29:48-04:00 2019-10-09T11:06:02-04:00 @nanami: > BrokenEagle98 said: > > @nanami > > Are you... <blockquote> <p>BrokenEagle98 said:</p> <p><a href="/users?name=nanami">@nanami</a> </p> <p>Are you using <strong>Version 8.6</strong>?</p> <p>If so, what browser version are you using? Also can you open up your dev console (should be F12) to see if there are any errors being reported?</p> </blockquote><p>I was using version 5. I've just installed version 8.6 and uninstalled version 5 from Tampermonkey (using Edge, Chromium Dev version). Everything works now.</p><p>Updating the code on Greasemonkey (on Firefox) though seems to remove the ability to show the uploader's name.<br>(EDIT: But then again, you did say above the code is otherwise untested in Greasemonkey/Firefox, so this comment is also a good barometer for that.)</p> nanami /users/49091 tag:danbooru.me,2005:ForumPost/160243 2019-10-08T17:02:49-04:00 2019-10-08T17:02:49-04:00 @BrokenEagle98: > nanami said (forum #160242): > > I am using... <blockquote> <p>nanami said (<a class="dtext-link dtext-id-link dtext-forum-post-id-link" href="/forum_posts/160242">forum #160242</a>):</p> <p>I am using that script, but I'm already using the latest code. Is there anything else to add?</p> </blockquote><p><a href="/users?name=nanami">@nanami</a> </p><p>Are you using <strong>Version 8.6</strong>?</p><p>If so, what browser version are you using? Also can you open up your dev console (should be F12) to see if there are any errors being reported?</p> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/156796 2019-05-10T18:23:11-04:00 2019-05-10T18:23:11-04:00 @BrokenEagle98: Pushed Version 8 which primarily adds post and... <p>Pushed <strong>Version 8</strong> which primarily adds post and tag statistics to the post index view, which can be turned off/on from the settings menu.</p><p>The post statistics only uses the data from all of the posts on the current page.<br>The tag statistics are the percentage of posts on the current page with that tag.</p><p>Besides the above, it also:</p><ul> <li>Hides/displays elements on all tabs after a settings change</li> <ul><li>Except for basic/advanced tooltips (at this time)</li></ul> <li>Makes use of the "only" parameter (<a rel="external nofollow noreferrer" class="dtext-link dtext-id-link dtext-github-id-link" href="https://github.com/r888888888/danbooru/issues/4068">issue #4068</a>)</li> </ul> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/154754 2019-02-15T18:54:38-05:00 2019-05-10T18:24:05-04:00 @BrokenEagle98: Pushed Version 7 which primarily integrates the... <p>Pushed <strong>Version 7</strong> which primarily integrates the new library code that was finalized earlier this week. This is coming out as a major version since a large majority of the code was changed while updating to the new library version and standardizing all of the affected userscripts.</p><p>Additionally, all of the menus were standardized, and fully working cache editors were incorporated. Also, a new control was added under cache settings which shows the size of all the userscript data amongst all of the various data storage.</p><p>Besides all of the above, the post views are now being cached for a short duration (5 mins) on a per-tab basis. In other words, the caching in one tab will not affect any other tab.</p><h6>Minor versions</h6><ul> <li>(2019-02-15)</li> <ul><li> <strong>7.1</strong> - Fixed cache expiration not being checked for post views</li></ul> <li>(2019-02-16)</li> <ul> <li> <strong>7.2</strong> - Adjusted post views cache expires &lt;<a class="dtext-link" href="/users/192811">fredgido</a> Discord&gt;</li> <ul> <li>Posts &lt; 1 hour old are cached in tab storage for only 1 minute</li> <li>Posts 1 hour .. 1 day old are cached in browser storage on a 1 minute - 1 hour logarithmic scale</li> <li>Posts 1 day .. 1 month old are cached in browser storage on a 1 hour - 1 day logarithmic scale</li> <li>Posts &gt; 1 month are cached in browser storage for 1 day</li> </ul> </ul> </ul> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/154551 2019-02-07T21:25:12-05:00 2019-02-07T21:25:12-05:00 @BrokenEagle98: Pushed Version 6 which retrieves and caches... <p>Pushed <strong>Version 6</strong> which retrieves and caches user info differently, grabbing all users at once at page load instead of individually.</p><p>The effect of this is most apparent on both kinds of post tooltips, especially the basic tooltip. There is no longer any jitter from the username getting loaded into the tooltip, as it is already there.</p><p>Besides the above, the missing setting for basic post tooltips was added to the menu (it is enabled by default regardless). Additionally, a <strong>Purge cache</strong> control was added to the menu.</p> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/154507 2019-02-06T21:17:53-05:00 2019-02-06T21:17:53-05:00 @BrokenEagle98: Pushed Version 5 which adds caching to the top... <p>Pushed <strong>Version 5</strong> which adds caching to the top tagger results. This will on average make the results load much faster.</p><p>The results are cached on the first page load of a post, and are keyed to the current tags on that post. If the tags on the post change, then the top tagger calculations will be run and cached again. This data gets cached for a month so that old results get pruned.</p><p>Besides the above, usernames were fixed so that underscores get replaced by spaces in the shown text.</p> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/154496 2019-02-06T13:43:55-05:00 2019-02-06T13:43:55-05:00 @BrokenEagle98: > feline_lump said: > > Doesn't work with... <blockquote> <p>feline_lump said:</p> <p>Doesn't work with Greasemonkey on Firefox 64.0, unfortunately. Thank you for this regardless.</p> </blockquote><p>I'll take a look into that, although since you have a working version on Tampermonkey now (<a class="dtext-link dtext-id-link dtext-forum-post-id-link" href="/forum_posts/154494">forum #154494</a>), that'll be a lower priority task.</p><blockquote> <p>feline_lump said:</p> <p>The only comment/suggestion I have so far is that using underscores instead of spaces in usernames feels a little unnatural. Otherwise, it's great.</p> </blockquote><p>Yeah, I didn't really pay attention to that aspect, as I used the username as how it's stored in the database. I'll fix that in the next update, which I hope to push by the end of the day.</p> BrokenEagle98 /users/23799