Golden Sun Hacking Community
December 13, 2017, 09:16:22 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
  Home   Forum   DC Wiki Help Search Calendar Downloads Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: Cbox ringer  (Read 4515 times)
0 Members and 1 Guest are viewing this topic.
jjppof
Modafoca

Regular Member
**

Coins: 0
Offline Offline

Gender: Male
Posts: 105

« on: May 30, 2014, 04:07:10 AM »

Well. Its done in parts...
I just need to find something that makes this script run everytime goldensunhacking.net is open, but if you copy and paste the script in the browser javascript console its gonna run just for this page.


-------------------------- EDIT - 2 -----------------------

now the script has the fb msger box like. just click the Cbox title to decrease the box size.

the script is attached, cause this message system modifies the code.


-----------------------------------
EDIT:

100% working with tampermonkey (chrome).
If It works with tampermonkey, almost sure that also works with greasemonkey (firefox)


* cbox.user.js (2.51 KB - downloaded 103 times.)
« Last Edit: June 02, 2014, 12:14:27 AM by jjppof » Logged

View Profile WWW
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2392

« Reply #1 on: May 30, 2014, 04:08:34 AM »

Sounds like something that might work with GreaseMonkey! (Haven't tried your script yet.)

Thanks!
Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...
Did you know? In English, you are suppose to capitalize the languages. (e.g. English is a proper noun.) Subjects like math, science, history can be left lower-cased unless they are a title. (Kind of like how you can say either "my mom" or "Mom" in "I went with (X) to the store.", except that I don't think languages are ever lower-cased in English.) In Spanish, both subjects and languages are left lower-cased. (I put this here because I've noticed people make this mistake quite often. And am curious if they know about this, and whether they use their way because they believe this grammar usage should have never been a thing?

Remember kids! In getting a job, it's not about what you know, it's about WHO you know! So start making friends with the people that work where you want to work. :) (Friend of a friend and volunteering count too, so keep that in mind.)[/si
View Profile
jjppof
Modafoca

Regular Member
**

Coins: 0
Offline Offline

Gender: Male
Posts: 105

« Reply #2 on: May 30, 2014, 04:09:56 AM »

Sounds like something that might work with GreaseMonkey! (Haven't tried it yet.)

Thanks!

yeaaah... let me try the greasemonkey, well remembered!

------------------------------------------------------------
100% working with tampermonkey (chrome).
If It works with tampermonkey, almost sure that also works with greasemonkey (firefox)

Dont know in greasemonkey, but in tampermonkey when setting the match, put the url like this:
http://*.goldensunhacking.net/*
to get all pages


-----------------------------------------------------------

maybe, if you guys think is interesting, theres a way to make the cbox float in the page corner, like FB...
« Last Edit: May 30, 2014, 05:22:50 AM by jjppof » Logged

View Profile WWW
Luna_blade
The last member of the Luna clan
Luna Clan

Great Member
*

Coins: 0
Offline Offline

I am: Timeless. As in, i don't have much free time.
Posts: 533

« Reply #3 on: May 30, 2014, 05:40:00 AM »

Nice! I didn't know you also did other programming jjppof.
Logged

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2392

« Reply #4 on: May 30, 2014, 06:23:18 AM »

Tampermonkey? That sounds new(?) to me...

So now I shall see if I can get this to work... (It says it's running, but doesn't seem to do anything.. hmmm...)

Quote
maybe, if you guys think is interesting, theres a way to make the cbox float in the page corner, like FB...
Sounds useful!
« Last Edit: May 30, 2014, 06:29:39 AM by Teawater » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...
Did you know? In English, you are suppose to capitalize the languages. (e.g. English is a proper noun.) Subjects like math, science, history can be left lower-cased unless they are a title. (Kind of like how you can say either "my mom" or "Mom" in "I went with (X) to the store.", except that I don't think languages are ever lower-cased in English.) In Spanish, both subjects and languages are left lower-cased. (I put this here because I've noticed people make this mistake quite often. And am curious if they know about this, and whether they use their way because they believe this grammar usage should have never been a thing?

Remember kids! In getting a job, it's not about what you know, it's about WHO you know! So start making friends with the people that work where you want to work. :) (Friend of a friend and volunteering count too, so keep that in mind.)[/si
View Profile
jjppof
Modafoca

Regular Member
**

Coins: 0
Offline Offline

Gender: Male
Posts: 105

« Reply #5 on: May 30, 2014, 01:17:47 PM »

for who thinks the levelup sound is a bit exaggerated, here is another:
http://static1.grsites.com/archive/sounds/cartoon/cartoon008.mp3

------------------------------------------------

for those that wanna test the script before mess with grease/tampermonkey, just copy everything and paste at your browser javascript console. But its gonna work till you press F5.

-----------------------------------------------
Installing in chrome:

1- Install the tampermonkey:
https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo

2- Follow the image:


3- Enter in a gshc page and it is done, if I didnt miss any step  Happy
« Last Edit: May 30, 2014, 02:59:18 PM by jjppof » Logged

View Profile WWW
Luna_blade
The last member of the Luna clan
Luna Clan

Great Member
*

Coins: 0
Offline Offline

I am: Timeless. As in, i don't have much free time.
Posts: 533

« Reply #6 on: May 30, 2014, 04:29:25 PM »

Wow dude nice tutorial.
Logged

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2392

« Reply #7 on: May 30, 2014, 06:04:39 PM »

Quote from: ME
Thanks! It works now!

Didn't even need the tutorial either? (Unless the bottom center text box actually needed editing.) I just simply needed to copy/paste the attachment you provided into the textbox.

There's still a design problem, though... I'm typing in the Quick Post box, and if my lines reach to the right,
the text goes behind the cbox, and I can't see what I'm typing?  (Unless you collapse the box, but not sure if that's worth doing everytime.)

There!
Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...
Did you know? In English, you are suppose to capitalize the languages. (e.g. English is a proper noun.) Subjects like math, science, history can be left lower-cased unless they are a title. (Kind of like how you can say either "my mom" or "Mom" in "I went with (X) to the store.", except that I don't think languages are ever lower-cased in English.) In Spanish, both subjects and languages are left lower-cased. (I put this here because I've noticed people make this mistake quite often. And am curious if they know about this, and whether they use their way because they believe this grammar usage should have never been a thing?

Remember kids! In getting a job, it's not about what you know, it's about WHO you know! So start making friends with the people that work where you want to work. :) (Friend of a friend and volunteering count too, so keep that in mind.)[/si
View Profile
jjppof
Modafoca

Regular Member
**

Coins: 0
Offline Offline

Gender: Male
Posts: 105

« Reply #8 on: May 30, 2014, 09:33:57 PM »

Quote from: ME
Thanks! It works now!

Didn't even need the tutorial either? (Unless the bottom center text box actually needed editing.) I just simply needed to copy/paste the attachment you provided into the textbox.

There's still a design problem, though... I'm typing in the Quick Post box, and if my lines reach to the right,
the text goes behind the cbox, and I can't see what I'm typing?  (Unless you collapse the box, but not sure if that's worth doing everytime.)

There!

you can put this:

conteudo.style.height = "0px";

just after this:

var conteudo = document.getElementById(document.querySelectorAll("[id*='shout_']")[0].id).parentNode;

With this, you set the cbox to start compressed in every page load.
Logged

View Profile WWW
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2392

« Reply #9 on: May 31, 2014, 02:41:08 AM »

@compressed: Not sure, but I think collapse might be a better word? (Just saying this in case you were looking for a proper word, but 'compressed' will do as well.)

What if I perfer it to keep it open? Would be somewhat difficult to see what people post if it's always collapsed, right?

(I was thinking a mod to change the width of the quick reply box would do.)
« Last Edit: May 31, 2014, 02:43:16 AM by Teawater » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...
Did you know? In English, you are suppose to capitalize the languages. (e.g. English is a proper noun.) Subjects like math, science, history can be left lower-cased unless they are a title. (Kind of like how you can say either "my mom" or "Mom" in "I went with (X) to the store.", except that I don't think languages are ever lower-cased in English.) In Spanish, both subjects and languages are left lower-cased. (I put this here because I've noticed people make this mistake quite often. And am curious if they know about this, and whether they use their way because they believe this grammar usage should have never been a thing?

Remember kids! In getting a job, it's not about what you know, it's about WHO you know! So start making friends with the people that work where you want to work. :) (Friend of a friend and volunteering count too, so keep that in mind.)[/si
View Profile
jjppof
Modafoca

Regular Member
**

Coins: 0
Offline Offline

Gender: Male
Posts: 105

« Reply #10 on: May 31, 2014, 02:44:20 AM »

@compressed: Not sure, but I think collapse might be a better word? (Just saying this in case you were looking for a proper word, but 'compressed' will do as well.)
`

Yes, hahahahah... I was looking for it...


What if I perfer it to keep it open? Would be somewhat difficult to see what people post if it's always collapsed, right?


The sound is there for it... just a suggestion too.

Quote
(I was thinking a mod to change the width of the quick reply box would do.)

Where's this hell? hahahaha

-----------------------

And by curiosity, which sound effect are you using? hahahahah
« Last Edit: May 31, 2014, 02:48:51 AM by jjppof » Logged

View Profile WWW
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2392

« Reply #11 on: May 31, 2014, 02:59:45 AM »

>Yes, hahahahah... I was looking for it...
Good!

>The sound is there for it... just a suggestion too.
Okay... might would be a little cooler if the box re-opened when it makes the sound as well. (Or does it already?)

>Where's this hell? hahahaha
I was hoping that it would be a one-line snippet of code.

When I inspect the textbox element, I see this:
Quote
<textarea cols="75" rows="7" style="width: 95%; height: 100px;" name="message" tabindex="1"></textarea>
Just need to edit that width, somehow? (And perhaps height, as well, since a taller box would be nicer, as well.)
Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...
Did you know? In English, you are suppose to capitalize the languages. (e.g. English is a proper noun.) Subjects like math, science, history can be left lower-cased unless they are a title. (Kind of like how you can say either "my mom" or "Mom" in "I went with (X) to the store.", except that I don't think languages are ever lower-cased in English.) In Spanish, both subjects and languages are left lower-cased. (I put this here because I've noticed people make this mistake quite often. And am curious if they know about this, and whether they use their way because they believe this grammar usage should have never been a thing?

Remember kids! In getting a job, it's not about what you know, it's about WHO you know! So start making friends with the people that work where you want to work. :) (Friend of a friend and volunteering count too, so keep that in mind.)[/si
View Profile
jjppof
Modafoca

Regular Member
**

Coins: 0
Offline Offline

Gender: Male
Posts: 105

« Reply #12 on: May 31, 2014, 03:12:50 AM »

>The sound is there for it... just a suggestion too.
Okay... might would be a little cooler if the box re-opened when it makes the sound as well. (Or does it already?)

making this now... nice idea

-------------edit-----------------
above:

playSound.playclip();

put:

if(conteudo.style.height == "0px"){
    conteudo.style.height = "245px";
}
« Last Edit: May 31, 2014, 03:18:34 AM by jjppof » Logged

View Profile WWW
Lord Wolfram
The Lone Wolf
Mars Clan

I am the Angel of darkness and I am back.

Regular Member
*

Coins: 2
Offline Offline

Gender: Male
I am: fine!
Posts: 316

« Reply #13 on: May 31, 2014, 04:37:27 AM »

Can someone explain what is this Cbox ringer?
Still haven't understood...
Logged
View Profile WWW
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2392

« Reply #14 on: May 31, 2014, 04:41:26 AM »

Simple. It's a userscript to improve the cbox. (By docking and auto-refreshing.)

To get it, you must get TamperMonkey, and install the attachment he has in his first post to it. (Then refresh the page.)
Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...
Did you know? In English, you are suppose to capitalize the languages. (e.g. English is a proper noun.) Subjects like math, science, history can be left lower-cased unless they are a title. (Kind of like how you can say either "my mom" or "Mom" in "I went with (X) to the store.", except that I don't think languages are ever lower-cased in English.) In Spanish, both subjects and languages are left lower-cased. (I put this here because I've noticed people make this mistake quite often. And am curious if they know about this, and whether they use their way because they believe this grammar usage should have never been a thing?

Remember kids! In getting a job, it's not about what you know, it's about WHO you know! So start making friends with the people that work where you want to work. :) (Friend of a friend and volunteering count too, so keep that in mind.)[/si
View Profile
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Cbox
Yesterday at 11:10:45 PM
Fox: Yes, and there could be contests. Maybe ones where 1st/2nd/3rd place get a cash reward, but eh. Dunno.... Kind of thinking about making a topic about how people got their job, and what was their experience. (e.g. Did they use references of people already working in the job, and various other things.)
December 09, 2017, 04:24:14 AM
Majora: Import old forum posts for reference, perhaps take posts containing important info like documentation away from the old stickied forum post model and make them into their own pages on a site with an in-built search bar. Might help with SEO, too. If nothing else, perhaps whipping them into PDFs and hosting them via Scribd? The possibilities are boundless when it comes to restructuring a site
December 09, 2017, 04:20:02 AM
Majora: Just a nice idea to have even if it doesn't come to fruition. Updating, modernizing, always a good idea. Could probably do something pretty nifty using a good Wordpress theme
December 09, 2017, 04:15:45 AM
Majora: Would be kind of neat to do something like that for GSHC. Could change it up a bit to show all tweets/instagram posts/facebook posts/golden sun subreddit posts all in one sidebar. It would be cool in that it gives the site it's on (and the topic in general) appear more lively and active, which is a plus
December 09, 2017, 04:14:19 AM
Majora: That does sound interesting. One cool thing I've seen some sites use is a sort of unique take on a sidebar option that acts like a social media integration (like, "See GSHC's latest Tweets"). It displays activity from a variety of related sites, such as Reddit, Twitter, Instagram, etc.
December 09, 2017, 12:58:53 AM
Fox: And the way it'd work via code is not that all users would instantly get nicknames the minute you register... but rather, the moment you view a name if it doesn't have a nickname, it gets one. (My Thoughts.)
December 09, 2017, 12:53:55 AM
Fox: (I was thinking that it would be "Name (Nickname)" ... The nickname is what you first known the user as, and you can change that yourself... and the Name is what the user wants to be called... Something like that.
December 09, 2017, 12:47:56 AM
Fox: So like... for starters, one idea I had was to make it so anyone can name anyone... much like how it works on Skype, and you (the namer) would be the only one to see it, and such...
December 09, 2017, 12:45:02 AM
Fox: Would need to be carefully thought out and tested, though.
December 09, 2017, 12:43:02 AM
Fox: I'm thinking I could make it so that name changes can happen whenever... (Without any limit)... Since I believe there's a way to do it with minimum confusion. (I think.) Hmm....
December 09, 2017, 12:31:36 AM
Fox: (I mean an offline version... at least initially.)
December 09, 2017, 12:25:01 AM
Fox: Now that I have thought about it a bit more, would I be right to assume that GSHC would be one of the most interesting websites to administrate, or no? It's sad to see not much going on with it. == I almost want to make a concept website at some point. :D Anyway, how is everyone doing today?
December 06, 2017, 12:12:59 AM
Fox: Like... Start using Github or something... Do like how many of those other projects such as Citra (WIP 3DS Emulator) does. Etc.
December 06, 2017, 12:08:12 AM
Fox: No idea. I just wish OpenGoldenSun would release it as unfinished, but oh well.
December 05, 2017, 06:52:09 AM
MaxiPower: Bummed out that the open golden sun project is dead it seems with no actitivy in close to a year at this point. Is there any hope left in any other projects?
November 27, 2017, 10:25:28 AM
Fox: (When I say research, mainly refering to the data in the game, though checking websites can count to a degree.)
November 27, 2017, 09:52:27 AM
Fox: Maybe. But Dark Dawn is meh, hahah... I still research it, though, because data can be interesting.
November 27, 2017, 05:28:36 AM
Portakin: I'm here! This game is underrated!
November 25, 2017, 08:03:23 PM
Fox: .... and the email listed in that post makes me think we should just make a new rules topic with most of the same information. (So the old ones can be sort o archived.)
November 25, 2017, 07:59:47 PM
Fox: "and in addition to the bot being banned, I will remove the advertisement and lock the thread."  ... From what I've seen in the last couple years, this should be changed to "delete the thread."

Affiliates
Temple of Kraden Golden Sunrise
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.066 seconds with 22 queries.