tag:danbooru.me,2005:/forum_topics/16342 [Userscript] New Twitter Image Searches and Stuff 2020-03-12T16:40:24-04:00 tag:danbooru.me,2005:ForumPost/163985 2020-03-12T16:40:24-04:00 2020-03-12T16:40:24-04:00 @BrokenEagle98: Just pushed Version 6.1 which should fix the... <p>Just pushed <strong>Version 6.1</strong> which should fix the issues mentioned above on the changes in Twitter's page structure.</p> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/163968 2020-03-12T00:49:03-04:00 2020-03-12T00:49:03-04:00 @BrokenEagle98: > AkenoA said: > > I'm getting an error... <blockquote> <p>AkenoA said:</p> <p>I'm getting an error looking through any tweet as of late. The error I get reads "Error marking up stream tweet!". <br>Downgrading to an older version of this script has the same problem.</p> </blockquote><p>Yeah, that's to let me know when Twitter changes their page structure, since the script is very dependent on a stable structure. I've been working on an update to the script, but have had several other items that have also kept me busy. Regardless, I'll try to have what I've got cleaned up and pushed out by tomorrow. You can disable the script until then so that you don't keep getting those error messages.</p><blockquote><p>Debug console shows a lot of net::ERR_NAME_NOT_RESOLVED connection errors.</p></blockquote><p>Those have nothing to do with the script. It does the same thing even with all userscripts disabled. I'm thinking it might have to do with an extension, but as it doesn't have a lot to do with my scripts, I'm not really invested in finding about something that I can't really affect anyways.</p> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/163967 2020-03-12T00:36:22-04:00 2020-03-12T00:36:22-04:00 @AkenoA: I'm getting an error looking through any tweet... <p>I'm getting an error looking through any tweet as of late. The error I get reads "Error marking up stream tweet!". <br>Downgrading to an older version of this script has the same problem.</p><p>Debug console shows a lot of net::ERR_NAME_NOT_RESOLVED connection errors.</p> AkenoA /users/417529 tag:danbooru.me,2005:ForumPost/163697 2020-03-04T19:16:59-05:00 2020-03-04T19:16:59-05:00 @BrokenEagle98: Pushed Version 6 which primarily includes... <p>Pushed <strong>Version 6</strong> which primarily includes adding tweet views.</p><ul> <li><strong>Additions:</strong></li> <ul> <li><u>Added ability to track tweet views</u></li> <ul> <li>Only tweets with media are tracked</li> <li>Tweets are only counted once per page load</li> <li>Tweets with previous views can be highlighted</li> <ul> <li>With a control in the side menu</li> <li>This shows up as rounded rectangle on the left side of a tweet</li> </ul> <li>Tweet views currently expire after one month if they are not renewed</li> </ul> <li><u>Added ability to lock page navigation</u></li> <ul> <li>This blocks navigating to external links and page reloads/unloads</li> <li>This does not block regular Twitter navigation</li> </ul> <li><u>Added setting to show/hide network error count</u></li> <ul><li>As shown in the side menu</li></ul> </ul> <li><strong>Changes:</strong></li> <ul> <li><u>Grouped storage and network calls for better efficiency</u></li> <ul><li>Pending requests are sent as a group at tenth second intervals</li></ul> <li>Created static anchor points for the tweet status bar</li> <ul><li>This guarantees the order of elements appearing there</li></ul> </ul> <li><strong>Fixes:</strong></li> <ul> <li><u>Uploader names not appearing on the post tooltips</u></li> <li>Tweet indicators not rendering in some cases</li> <li>Status bar was not rendering correctly on main tweets in some cases</li> </ul> <li><strong>Other:</strong></li> <ul> <li>Added additional unhandled image URLs</li> <ul><li>This keeps the image menu from being added to the wrong tweets</li></ul> <li>Additional refactoring and relocating of code</li> <ul><li>Both for better grouping and to fix some minor issues</li></ul> </ul> </ul> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/162112 2020-01-04T18:18:27-05:00 2020-01-04T18:18:27-05:00 @BrokenEagle98: Pushed Version 5 which primarily includes an... <p>Pushed <strong>Version 5</strong> which primarily includes an update to the library code plus a few additions and fixes:</p><ul> <li><strong>Changes</strong></li> <ul> <li>Altered how IQDB/Sauce check save data to avoid saving unnecessary information</li> <ul><li>This fixes the image menu sometimes stalling when loading new tweets</li></ul> </ul> <li><strong>Fixes</strong></li> <ul><li>Fix popup text in IQDB/Post advanced tooltips causing the tooltips to disappear</li></ul> <li><strong>Other</strong></li> <ul><li>Multiple internal code changes and refactors</li></ul> </ul> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/161083 2019-11-20T21:12:15-05:00 2019-11-20T21:12:15-05:00 @BrokenEagle98: Pushed Version 4 which has several additions... <p>Pushed <strong>Version 4</strong> which has several additions and fixes:</p><ul> <li> <strong>Additions</strong>:</li> <ul> <li>User setting to display the image number when hovering over an image</li> <ul><li>Mostly useful for when using the Download Original function</li></ul> <li>User setting for the maximum number of results to return for IQDB/SauceNAO</li> <li>User setting to bypass checking the Tweet Database server</li> <ul><li>Mostly useful if the server is unreachable from your browser/device/location</li></ul> </ul> <li> <strong>Fixes</strong>:</li> <ul> <li>Fixed image menu being doubled up or not there at all for some retweets &lt;<a class="dtext-link" href="/users/192811">fredgido</a> - <strong>Discord</strong>&gt;</li> <li>Fixed Tweet videos not being processed when autoplay was enabled &lt;<a class="dtext-link" href="/users/192811">fredgido</a> - <strong>Discord</strong>&gt;</li> <li>Fixed Tweet videos/GIFs sometimes not being playable &lt;<a class="dtext-link" href="/users/192811">fredgido</a> - <strong>Discord</strong>&gt;</li> <li>Fixed Tweet video images not being downloadable &lt;<a class="dtext-link" href="/users/192811">fredgido</a> - <strong>Discord</strong>&gt;</li> <li>Fixed Tweet cards and quoted tweets being incorrectly processed</li> <li>Fixed post tooltips not being added in some cases</li> <li>Fixed status markers not being positioned correclty</li> </ul> </ul> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/160386 2019-10-15T15:52:35-04:00 2019-10-15T16:09:09-04:00 @BrokenEagle98: Pushed Version 3 which has several additions... <p>Pushed <strong>Version 3</strong> which has several additions and fixes:</p><ul> <li> <strong>Additions</strong>:</li> <ul> <li>Ability to merge results by running a new query</li> <li>User setting for the minimum similarity cutoff on IQDB/SauceNAO</li> <li>User setting to display a Twitter user's ID on the Tweet view</li> <li>Additional clickable areas around the links &lt;<a class="dtext-link" href="/users/192811">fredgido</a> - <strong>Discord</strong>&gt;</li> </ul> <li> <strong>Changes</strong>:</li> <ul> <li>Added types of data being exported to the <strong>Export Data</strong> filename</li> <li>Account for items that Danbooru Member-level user's can't do (i.e. more than 2 tags for post queries)</li> </ul> <li> <strong>Fixes</strong>:</li> <ul> <li>Fixed spacing of Twitter menu items being occasionally unchanged</li> <li>Fixed anchor hashmarks "#" in the URL causing page detection to fail</li> <li>Fixed tweet statistics incorrectly resetting when going to the Tweet view and back</li> </ul> <li> <strong>Other</strong>:</li> <ul> <li>Updated external code library versions</li> <li>Several other code refactors and minor fixes</li> </ul> </ul> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/159843 2019-09-17T15:57:04-04:00 2020-03-04T19:22:20-05:00 @BrokenEagle98: New Twitter Image Searches and Stuff (NTISAS)... <p>New Twitter Image Searches and Stuff <strong>(NTISAS)</strong> searches the Danbooru database for tweet IDs, adds image search links, highlights images based on Tweet favorites, and provides a variety of additional user interface enhancements.</p><p>It works with the new layout that Twitter has recently released (July 2019). It is based off the idea of the popular userscript Pixiv Image Searches and Stuff (<strong>PISAS</strong>, <a class="dtext-link dtext-wiki-link" href="/wiki_pages/about%3Auserscripts">About:Userscripts</a>).</p><h4>Installation</h4><ul><li>Chrome/Firefox: Install <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link dtext-named-external-link" href="http://tampermonkey.net/">Tampermonkey</a> </li></ul><h5>Project page</h5><ul><li><a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="https://github.com/BrokenEagle/JavaScripts">https://github.com/BrokenEagle/JavaScripts</a></li></ul><h5>Main script</h5><p><a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="https://raw.githubusercontent.com/BrokenEagle/JavaScripts/stable/New_Twitter_Image_Searches_and_Stuff.user.js">https://raw.githubusercontent.com/BrokenEagle/JavaScripts/stable/New_Twitter_Image_Searches_and_Stuff.user.js</a></p><h5>Updates</h5><p>The script is based upon the previous version of TISAS which worked with the old version of Twitter (<a class="dtext-link dtext-id-link dtext-forum-topic-id-link" href="/forum_topics/15976">topic #15976</a>).</p><p><strong>NOTE:</strong> The program data scheme was altered in NTISAS 1.6+. To transfer the program data, export the database using TISAS or previous versions of NTISAS, and then import it using NTISAS 1.6+.</p><h5>Usage notes</h5><p>The following wiki is for TISAS, but a lot of the same still applies.</p><p><a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="https://github.com/BrokenEagle/JavaScripts/wiki/Twitter-Image-Searches-and-Stuff">https://github.com/BrokenEagle/JavaScripts/wiki/Twitter-Image-Searches-and-Stuff</a></p><p>One primary difference is that there is now a link to query SauceNAO. Currently this functions exactly the same as the IQDB link, with the similarity cutoff being 80%.</p><h4>Final</h4><p>Any suggestions or feedback is appreciated.</p><h4>Latest edits</h4><ul> <li>(2019-03-04)</li> <ul> <li> <strong>Version 6</strong> Added tweet views</li> <ul> <li>Added ability to lock page navigation</li> <li>Fixed uploader names not appearing on posts</li> </ul> </ul> </ul><h4>Versions</h4><div class="expandable"> <div class="expandable-header"><input type="button" value="Show" class="expandable-button"></div> <div class="expandable-content"><ul> <li>(2019-09-17)</li> <ul><li> <strong>Version 2</strong> Initial release</li></ul> <li>(2019-10-15)</li> <ul> <li><strong>Version 3</strong></li> <ul> <li>Merge results with new query</li> <li>User setting for minimum similarity cutoff (IQDB/SauceNAO)</li> <li>User setting for displaying a Twitter user's ID</li> <li>Additional click area for links</li> </ul> </ul> <li>(2019-11-21)</li> <ul> <li><strong>Version 4</strong></li> <ul> <li>User setting to show image number when hovering over image</li> <li>User setting for the maximum number of results for IQDB/SauceNAO</li> <li>User setting to bypass checking the Tweet Database server</li> </ul> </ul> <li>(2019-12-22)</li> <ul> <li> <strong>Version 5</strong> Updated library version</li> <ul><li>Several additions/improvements on settings menu</li></ul> </ul> <li>(2019-03-04)</li> <ul> <li> <strong>Version 6</strong> Added tweet views</li> <ul> <li>Added ability to lock page navigation</li> <li>Fixed uploader names not appearing on posts</li> </ul> </ul> </ul></div> </div> BrokenEagle98 /users/23799