Welcome Guest ( Log In | Register )

291 Pages V « < 97 98 99 100 > »   
Reply to this topicStart new topic
> HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd)

 
post Mar 15 2015, 07:08
Post #1947
djackallstar



ดีjackallstar
**********
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14
Level 500 (Godslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2015, 07:24
Post #1948
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,603
Joined: 27-November 13
Level 500 (Godslayer)


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.
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2015, 08:40
Post #1949
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2015, 08:47
Post #1950
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,603
Joined: 27-November 13
Level 500 (Godslayer)


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?
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2015, 09:03
Post #1951
djackallstar



ดีjackallstar
**********
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14
Level 500 (Godslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2015, 10:55
Post #1952
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2015, 11:21
Post #1953
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2015, 11:57
Post #1954
djackallstar



ดีjackallstar
**********
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14
Level 500 (Godslayer)


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/registermember

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/

This post has been edited by djackallstar: Mar 15 2015, 12:08
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2015, 12:45
Post #1955
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2015, 15:14
Post #1956
djackallstar



ดีjackallstar
**********
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14
Level 500 (Godslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2015, 15:26
Post #1957
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 16 2015, 11:27
Post #1958
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 522
Joined: 18-June 13
Level 500 (Ponyslayer)


Attached File  Moogle_Pager.user.zip ( 1.39k ) Number of downloads: 58

Chrome only.
If you want stop paging, click 'Page xxx'.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 16 2015, 15:48
Post #1959
djackallstar



ดีjackallstar
**********
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14
Level 500 (Godslayer)


QUOTE(oohmrparis @ Mar 16 2015, 17:27) *

Attached File  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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 17 2015, 05:38
Post #1960
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


QUOTE(oohmrparis @ Mar 16 2015, 09:27) *

Attached File  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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 17 2015, 10:57
Post #1961
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 522
Joined: 18-June 13
Level 500 (Ponyslayer)


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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 17 2015, 13:19
Post #1962
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 17 2015, 13:37
Post #1963
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 522
Joined: 18-June 13
Level 500 (Ponyslayer)


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'?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 17 2015, 15:01
Post #1964
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


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
Attached Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 17 2015, 15:45
Post #1965
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 522
Joined: 18-June 13
Level 500 (Ponyslayer)


Maybe, next page data undefined.
Attached File  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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 17 2015, 18:27
Post #1966
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


QUOTE(oohmrparis @ Mar 17 2015, 13:45) *

Maybe, next page data undefined.
Attached File  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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 97 98 99 100 > » 
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: 3rd May 2025 - 04:04