userscripts for MagiStream (16th Sept 2010)

Discuss MagiStream and site-related topics.
User avatar
DevilCrest
MagiStream Donor
Member of The Dark Brotherhood
CreaturesTrade
Posts: 5209
Joined: September 3rd, 2009, 4:35:53 pm
Gender: Kraken
Location: Lounging in a tree at the Jungle of Raza surrounded by panthers.

Re: userscripts for MagiStream

Post by DevilCrest »

Layna wrote:Thanks for the note about SeaMonkey, will add it to the description :).
If anyone figures out Chrome and Opera, please post here too, or leave a comment on the script itself :).
Scripts closign windows by themselves is normally somethign that is NOT nice, so it makes sense to block it... but if you are nice to your user, you allow him to take the risk and switch it off for at least a while ;).

Layna
I figured out why it doesn't work in Opera...very simple, actually. Since the script is designed to work in conjunction with GreaseMonkey or something similar, the browser will work with the script & GM to figure out what to close based on the URL.

Opera doesn't have GM (or, I haven't found it) so with the current code in the script, it just closes windows regardless because the script doesn't read the URL at all - it just runs the script as is. Unfortunately, I don't know anything about javascript to code it specifically to work for Opera's native JS interface. T_T

EDIT:
I think the inclusion part of the script has to be hardcoded into the script itself since there's no GreaseMonkey (or equivalient) to handle that part.


Excuse my derpyness. XD
Image

ImageImageImageImage
Spoiler
Image
Image
Personal SB Telvian Panther Army: 2,182
Image[/center]
User avatar
altan
MagiStream Donor
CreaturesTrade
Posts: 5754
Joined: October 31st, 2009, 2:38:11 pm

Re: userscripts for MagiStream

Post by altan »

I just tested the script in Opera 10.60 and it's working.
Image Image
User avatar
DevilCrest
MagiStream Donor
Member of The Dark Brotherhood
CreaturesTrade
Posts: 5209
Joined: September 3rd, 2009, 4:35:53 pm
Gender: Kraken
Location: Lounging in a tree at the Jungle of Raza surrounded by panthers.

Re: userscripts for MagiStream

Post by DevilCrest »

altan wrote:I just tested the script in Opera 10.60 and it's working.
Huh. Did you do any tweaks or have something similar to GreaseMonkey installed? :orly:

I'm running Opera 10.10 due to the version of Snaplinks I'm using.
Image

ImageImageImageImage
Spoiler
Image
Image
Personal SB Telvian Panther Army: 2,182
Image[/center]
User avatar
altan
MagiStream Donor
CreaturesTrade
Posts: 5754
Joined: October 31st, 2009, 2:38:11 pm

Re: userscripts for MagiStream

Post by altan »

DevilCrest wrote:
altan wrote:I just tested the script in Opera 10.60 and it's working.
Huh. Did you do any tweaks or have something similar to GreaseMonkey installed? :orly:
No, you can run (some) GreaseMonkey scripts directly in Opera. I saved the file "83367.user.js" (right-click on "Install", Save Link as) in a folder.

Then in Opera: Tools -> Preferences -> Advanced-> Content -> JavaScript Options -> User JavaScript folder -> Choose and select the folder with the script.

Restart the browser and don't forget to keep JavaScript enabled when you're mining XD
Image Image
User avatar
DevilCrest
MagiStream Donor
Member of The Dark Brotherhood
CreaturesTrade
Posts: 5209
Joined: September 3rd, 2009, 4:35:53 pm
Gender: Kraken
Location: Lounging in a tree at the Jungle of Raza surrounded by panthers.

Re: userscripts for MagiStream

Post by DevilCrest »

altan wrote:
DevilCrest wrote:
altan wrote:I just tested the script in Opera 10.60 and it's working.
Huh. Did you do any tweaks or have something similar to GreaseMonkey installed? :orly:
No, you can run (some) GreaseMonkey scripts directly in Opera. I saved the file "83367.user.js" (right-click on "Install", Save Link as) in a folder.

Then in Opera: Tools -> Preferences -> Advanced-> Content -> JavaScript Options -> User JavaScript folder -> Choose and select the folder with the script.

Restart the browser and don't forget to keep JavaScript enabled when you're mining XD
Ohhh. I copypasta'd the code and shoved it into a new file that I saved as a js and then uh...renamed it. XD *tries your fix*

EDIT:
EET WERKS! :D Thanks altan! <3
Image

ImageImageImageImage
Spoiler
Image
Image
Personal SB Telvian Panther Army: 2,182
Image[/center]
User avatar
Imposibibble
Member of The Dark Brotherhood
CreaturesTrade
Posts: 2306
Joined: May 29th, 2009, 4:15:49 pm
Gender: Female

Re: userscripts for MagiStream

Post by Imposibibble »

With the Script that adds a checkmark to things you've clicked + auto-closer = AWESOME :D
ImageImageImageImageImageImage ImageImageImage
User avatar
Gingy
HotA Moderator
CreaturesTrade
Posts: 9840
Joined: August 29th, 2009, 7:46:44 pm
Gender: Female
Location: The Land of Cleve, in the Kingdom of Ohio.

Re: userscripts for MagiStream

Post by Gingy »

I just opened up firefox, installed that greasemonkey thing, and then installed that auto close thing, it doesn't work for me. Of course I have no clue what to do or how to "allow" it. I don't know what version of firefox I have.

I wish there was something like this for chrome because firefox is slower than a crippled slug x_x it took 2 minutes to open 4 tabs. :tard:
Image <3 ImageImageImageImageImageImageImageImageImageImageImageImage <3 Image
Spoiler

Code: Select all

[url=http://magistream.com/creature/11458973][img]http://magistream.com/img/11458973.gif[/img][/url][url=http://magistream.com/creature/11456031][img]http://magistream.com/img/11456031.gif[/img][/url][url=http://magistream.com/creature/11653244][img]http://magistream.com/img/11653244.gif[/img][/url][url=http://magistream.com/creature/11653226][img]http://magistream.com/img/11653226.gif[/img][/url][url=http://magistream.com/creature/11456757][img]http://magistream.com/img/11456757.gif[/img][/url][url=http://magistream.com/creature/11456306][img]http://magistream.com/img/11456306.gif[/img][/url][url=http://magistream.com/creature/11405799][img]http://magistream.com/img/11405799.gif[/img][/url][url=http://magistream.com/creature/11443914][img]http://magistream.com/img/11443914.gif[/img][/url][url=http://magistream.com/creature/11456314][img]http://magistream.com/img/11456314.gif[/img][/url][url=http://magistream.com/creature/11406106][img]http://magistream.com/img/11406106.gif[/img][/url][url=http://magistream.com/creature/11443909][img]http://magistream.com/img/11443909.gif[/img][/url][url=http://magistream.com/creature/11456293][img]http://magistream.com/img/11456293.gif[/img][/url]
[/center]
User avatar
SaxonDarkAngel
MagiStream Donor
Member of The Dark Brotherhood
CreaturesTrade
Posts: 4098
Joined: July 23rd, 2009, 1:23:42 pm
Gender: Male
Location: Petting Saxon *pat*

Re: userscripts for MagiStream

Post by SaxonDarkAngel »

@Gingy; Ok, well to help you out a bit, you first need to go to the URL bar and type in "about:config"
It should give you a warning, disregard this. Click next or whatever, and then type in "dom.allow_scripts_to_close_windows" (without the "" marks) and then where it says 'False' double click so it says 'True' and the text should turn to Bold.

Then it should work.


ImageImage
Buying Keep // LTT for Doni's // I haz dA?

ImageImage
Do not Click outside of Growing Needed Tab.
User avatar
DevilCrest
MagiStream Donor
Member of The Dark Brotherhood
CreaturesTrade
Posts: 5209
Joined: September 3rd, 2009, 4:35:53 pm
Gender: Kraken
Location: Lounging in a tree at the Jungle of Raza surrounded by panthers.

Re: userscripts for MagiStream

Post by DevilCrest »

Gingy wrote:I just opened up firefox, installed that greasemonkey thing, and then installed that auto close thing, it doesn't work for me. Of course I have no clue what to do or how to "allow" it. I don't know what version of firefox I have.

I wish there was something like this for chrome because firefox is slower than a crippled slug x_x it took 2 minutes to open 4 tabs. :tard:
I believe WinterRaven also posted a fix for Chrome. Here's her quoted post:
WinterRaven wrote:
Layna wrote:A new one:
http://userscripts.org./scripts/show/83367
It automatically closes opened Creatue-pages (useful for mining).
For firefox, you have to ALLOW this first, how to do this is explained in the description of the script. I ddonÄt know about other browsers.
Publishing this with MorgaIns ok:

Code: Select all

http://magistream.com/2-support-and-suggestions/66763-serscriot-idea-but.html
:)
This can be installed in chrome. All you have to do is install greasemetal which is a chrome version of greasemonkey. C: http://www.techzilo.com/install-greasem ... le-chrome/ Here's the page about it that links to the download link ^-^

Great job Layna <3 works beautifully :D
Image

ImageImageImageImage
Spoiler
Image
Image
Personal SB Telvian Panther Army: 2,182
Image[/center]
User avatar
Gingy
HotA Moderator
CreaturesTrade
Posts: 9840
Joined: August 29th, 2009, 7:46:44 pm
Gender: Female
Location: The Land of Cleve, in the Kingdom of Ohio.

Re: userscripts for MagiStream

Post by Gingy »

Thank you :) now it will take 20 minutes for tabs to load...maybe then it will close XD If i upgrade to the newest faster version of firefox will it work any better? I think I have 3.5 or something I went to check.

Chrome loads like 200 tabs in 15 seconds, it would take my firefox 15 years to do that :sadtard:

Edited to add: I have now added it to chrome and it works like a charm in the click threads! :D

Offsite gold mine however, not so much. It doesn't close them at all. :t-shrug:
Image <3 ImageImageImageImageImageImageImageImageImageImageImageImage <3 Image
Spoiler

Code: Select all

[url=http://magistream.com/creature/11458973][img]http://magistream.com/img/11458973.gif[/img][/url][url=http://magistream.com/creature/11456031][img]http://magistream.com/img/11456031.gif[/img][/url][url=http://magistream.com/creature/11653244][img]http://magistream.com/img/11653244.gif[/img][/url][url=http://magistream.com/creature/11653226][img]http://magistream.com/img/11653226.gif[/img][/url][url=http://magistream.com/creature/11456757][img]http://magistream.com/img/11456757.gif[/img][/url][url=http://magistream.com/creature/11456306][img]http://magistream.com/img/11456306.gif[/img][/url][url=http://magistream.com/creature/11405799][img]http://magistream.com/img/11405799.gif[/img][/url][url=http://magistream.com/creature/11443914][img]http://magistream.com/img/11443914.gif[/img][/url][url=http://magistream.com/creature/11456314][img]http://magistream.com/img/11456314.gif[/img][/url][url=http://magistream.com/creature/11406106][img]http://magistream.com/img/11406106.gif[/img][/url][url=http://magistream.com/creature/11443909][img]http://magistream.com/img/11443909.gif[/img][/url][url=http://magistream.com/creature/11456293][img]http://magistream.com/img/11456293.gif[/img][/url]
[/center]

Return to “Community Discussion”