Loading. Please Wait... 
 |
 |
 |
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Mar 15 2015, 07:08
|
djackallstar
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14

|
QUOTE(Superlatanium @ Mar 15 2015, 12:04)  Tampermonkey was using more than 300k memory, starting from around 20k at the beginning
hmm i think you mean 300m & 20m? QUOTE(Superlatanium @ Mar 15 2015, 12:04)  At least, that's how it was when I was using the latest version of TM on the latest version of Chrome. Using outdated versions of either may solve the problem, but I just gave up and moved to Iron for more speed/less Google/built-in userscript support. Tampermonkey would be great for quick script editing, but using it with HV apparently results in some sort of memory leak.
i see. too bad there seems no other script manager extensions for Chrome-based browsers except TM. This post has been edited by djackallstar: Mar 15 2015, 07:09
|
|
|
|
 |
|
Mar 15 2015, 07:24
|
Superlatanium
Group: Gold Star Club
Posts: 7,603
Joined: 27-November 13

|
QUOTE(djackallstar @ Mar 15 2015, 05:08)  hmm i think you mean 300m & 20m? Oh right. I forgot the memory displayed is in k, not ordinary units.
|
|
|
Mar 15 2015, 08:40
|
showoff
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14

|
Is there any script about we can see more than one page in Sent page within MoogleMail? I mean don't need to press ten times Older to check back the mail sent
|
|
|
Mar 15 2015, 08:47
|
Superlatanium
Group: Gold Star Club
Posts: 7,603
Joined: 27-November 13

|
QUOTE(showoff @ Mar 15 2015, 06:40)  Is there any script about we can see more than one page in Sent page within MoogleMail? I mean don't need to press ten times Older to check back the mail sent I don't know about everything on one page, but it would be quite simple to create links so all you need to do is control-click for however many pages you wish to load, and they'll all come up in 3 seconds (no need to press Older at all) - although they'll be in separate tabs. Would that work, or do you absolutely need everything on one page?
|
|
|
|
 |
|
Mar 15 2015, 09:03
|
djackallstar
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14

|
QUOTE(showoff @ Mar 15 2015, 14:40)  Is there any script about we can see more than one page in Sent page within MoogleMail? I mean don't need to press ten times Older to check back the mail sent
oohmrparis has written a script that auto-loads the second page when one is on the first page of arenas, so maybe you could ask him to make his script work on MM? Another solution could be using AutoPager or AutoPagerize, just add the rules you define and it's done. (Though, they are addons, not userscripts.) By using AutoPager or the likes you don't need to click anything any more, all you need to do is scroll down the page. How they work: (IMG:[ autopagerize.net] http://autopagerize.net/img/ap_fig_h275.png) This post has been edited by djackallstar: Mar 15 2015, 09:22
|
|
|
|
 |
|
Mar 15 2015, 10:55
|
showoff
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14

|
QUOTE(Superlatanium @ Mar 15 2015, 06:47)  I don't know about everything on one page, but it would be quite simple to create links so all you need to do is control-click for however many pages you wish to load, and they'll all come up in 3 seconds (no need to press Older at all) - although they'll be in separate tabs. Would that work, or do you absolutely need everything on one page?
QUOTE(djackallstar @ Mar 15 2015, 07:03)  oohmrparis has written a script that auto-loads the second page when one is on the first page of arenas, so maybe you could ask him to make his script work on MM? Another solution could be using AutoPager or AutoPagerize, just add the rules you define and it's done. (Though, they are addons, not userscripts.) By using AutoPager or the likes you don't need to click anything any more, all you need to do is scroll down the page. How they work: (IMG:[ autopagerize.net] http://autopagerize.net/img/ap_fig_h275.png) I think I will try the AutoPager or AutoPagerize later on, it seems fit me, thanks both of you This post has been edited by showoff: Mar 15 2015, 10:55
|
|
|
|
 |
|
Mar 15 2015, 11:21
|
showoff
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14

|
Since I'm using Iron, I can only use Autopagerize, but it requires me to add the hv site into its database.... How can I register member to deal with it:wacko: [ autopagerize.jottit.com] http://autopagerize.jottit.com/registermember
|
|
|
|
 |
|
Mar 15 2015, 11:57
|
djackallstar
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14

|
QUOTE(showoff @ Mar 15 2015, 17:21)  Since I'm using Iron, I can only use Autopagerize, but it requires me to add the hv site into its database.... How can I register member to deal with it:wacko: [ autopagerize.jottit.com] http://autopagerize.jottit.com/registermemberBack when AutoPagerize was still a userscript, I could add rules by editing its source code (.user.js). After some time the author changed it from a userscript to an extension, and that's when I started to use AutoPager. Adding rules in AutoPager is a no-brainer compared to AutoPagerize, you don't even need to edit the source code. I just checked AutoPager's website, it has a Chrome version, how about trying it first? Here is the link: [ www.teesoft.info] http://www.teesoft.info/content/view/107/1/lang,en/This post has been edited by djackallstar: Mar 15 2015, 12:08
|
|
|
|
 |
|
Mar 15 2015, 12:45
|
showoff
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14

|
QUOTE(djackallstar @ Mar 15 2015, 09:57)  Back when AutoPagerize was still a userscript, I could add rules by editing its source code (.user.js). After some time the author changed it from a userscript to an extension, and that's when I started to use AutoPager. Adding rules in AutoPager is a no-brainer compared to AutoPagerize, you don't even need to edit the source code. I just checked AutoPager's website, it has a Chrome version, how about trying it first? Here is the link: [ www.teesoft.info] http://www.teesoft.info/content/view/107/1/lang,en/Isn't it still need to update the rules online? I search [ ap.teesoft.info] Here but nothing, when I browsing MM, it still has no popup or anything appear, may I ask how to start with using it (IMG:[ invalid] style_emoticons/default/heh.gif)
|
|
|
|
 |
|
Mar 15 2015, 15:14
|
djackallstar
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14

|
QUOTE(showoff @ Mar 15 2015, 18:45)  Isn't it still need to update the rules online? I search [ ap.teesoft.info] Here but nothing, when I browsing MM, it still has no popup or anything appear, may I ask how to start with using it (IMG:[ invalid] style_emoticons/default/heh.gif) You'll have to add rules if none exists in the default database. But now im stuck too (IMG:[ invalid] style_emoticons/default/heh.gif) After manually adding the rules by myself the next pages won't load at all, can those good at XPath throw some light on the problem? (IMG:[ i.imgur.com] http://i.imgur.com/uzo7J4G.png) I wish I could use CSS selectors... This post has been edited by djackallstar: Mar 15 2015, 15:14
|
|
|
|
 |
|
Mar 15 2015, 15:26
|
showoff
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14

|
QUOTE(djackallstar @ Mar 15 2015, 13:14)  You'll have to add rules if none exists in the default database. But now im stuck too (IMG:[ invalid] style_emoticons/default/heh.gif) After manually adding the rules by myself the next pages won't load at all, can those good at XPath throw some light on the problem? (IMG:[ i.imgur.com] http://i.imgur.com/uzo7J4G.png) I wish I could use CSS selectors... So sad (IMG:[ invalid] style_emoticons/default/anime_cry.gif)
|
|
|
Mar 16 2015, 11:27
|
oohmrparis
Group: Gold Star Club
Posts: 522
Joined: 18-June 13

|
Moogle_Pager.user.zip ( 1.39k )
Number of downloads: 58 Chrome only. If you want stop paging, click 'Page xxx'.
|
|
|
Mar 16 2015, 15:48
|
djackallstar
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14

|
QUOTE(oohmrparis @ Mar 16 2015, 17:27) 
Moogle_Pager.user.zip ( 1.39k )
Number of downloads: 58 Chrome only. If you want stop paging, click 'Page xxx'. Oh thank you oohmrparis! I've slightly modified it to suit my needs and it works well. (IMG:[ i.imgur.com] http://i.imgur.com/eHmLZeO.png)
|
|
|
|
 |
|
Mar 17 2015, 05:38
|
showoff
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14

|
QUOTE(oohmrparis @ Mar 16 2015, 09:27) 
Moogle_Pager.user.zip ( 1.39k )
Number of downloads: 58 Chrome only. If you want stop paging, click 'Page xxx'. Awesome!! Thank you man! One more question, how to change to load 5 more pages when I scroll down? I tried to change 1 to 5 but failed (IMG:[ invalid] style_emoticons/default/heh.gif) QUOTE (function() { var pager = { wait: true, cnt: 2, missCnt: 0, set: function(url) { var num = url.match(/\d+/); this.next = document.querySelector('#mainpane > div > table'); this.url = /read/.test(url)? 'read&page=': 'sent&page='; this.start = !num? 1: num * 1 + 1; }, This post has been edited by showoff: Mar 17 2015, 05:38
|
|
|
|
 |
|
Mar 17 2015, 10:57
|
oohmrparis
Group: Gold Star Club
Posts: 522
Joined: 18-June 13

|
QUOTE(showoff @ Mar 17 2015, 05:38)  Awesome!! Thank you man! One more question, how to change to load 5 more pages when I scroll down? I tried to change 1 to 5 but failed (IMG:[ invalid] style_emoticons/default/heh.gif) CODE this.start = !num? 1: num * 1 + 1; This cord get next link from URL, not setting paging count. You don't touch this. (IMG:[ invalid] style_emoticons/default/mellow.gif) Maybe, a year over data remove from MM. You check turn off script and count pages. You have only 5 pages, me too. djackallstar's moogle hard worker. (IMG:[ invalid] style_emoticons/default/heh.gif)
|
|
|
|
 |
|
Mar 17 2015, 13:19
|
showoff
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14

|
QUOTE(oohmrparis @ Mar 17 2015, 08:57)  CODE this.start = !num? 1: num * 1 + 1; This cord get next link from URL, not setting paging count. You don't touch this. (IMG:[ invalid] style_emoticons/default/mellow.gif) Maybe, a year over data remove from MM. You check turn off script and count pages. You have only 5 pages, me too. djackallstar's moogle hard worker. (IMG:[ invalid] style_emoticons/default/heh.gif) I turned off and it seems I have more 5 pages? (IMG:[ invalid] style_emoticons/default/duck.gif)
|
|
|
Mar 17 2015, 13:37
|
oohmrparis
Group: Gold Star Club
Posts: 522
Joined: 18-June 13

|
QUOTE(showoff @ Mar 17 2015, 13:19)  I turned off and it seems I have more 5 pages? (IMG:[ invalid] style_emoticons/default/duck.gif) Really? script return 'Page End'?
|
|
|
Mar 17 2015, 15:01
|
showoff
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14

|
QUOTE(oohmrparis @ Mar 17 2015, 11:37)  Really? script return 'Page End'?
Page End appear only when I reinstall the script, but after a while, only 2nd page can scroll out 
|
|
|
Mar 17 2015, 15:45
|
oohmrparis
Group: Gold Star Club
Posts: 522
Joined: 18-June 13

|
Maybe, next page data undefined.
Moogle_Pager_debug.user.zip ( 1.4k )
Number of downloads: 50 If don't work this ver, you see console (tool → Javascript console). And your chrome ver? This post has been edited by oohmrparis: Mar 17 2015, 15:50
|
|
|
Mar 17 2015, 18:27
|
showoff
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14

|
QUOTE(oohmrparis @ Mar 17 2015, 13:45)  Maybe, next page data undefined.
Moogle_Pager_debug.user.zip ( 1.4k )
Number of downloads: 50 If don't work this ver, you see console (tool → Javascript console). And your chrome ver? It seems fine right now (IMG:[ invalid] style_emoticons/default/wub.gif) I will report it if there is any bug, thanks! I'm using Iron~ PS:Will you still work on the battle script? I need some help with the hvstat silm (IMG:[ invalid] style_emoticons/default/heh.gif)
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|
|
|