HSX Forum

CelebStock and StarBonds

I did a quick test, but doesn't seem to be working. Here's the code I inserted at the end of the page update.

Posted by: elchan (a.k.a elchan2012) on Sep 14, 21:25 in response to edzep - Port Monkey!'s post Userscript code is run after the browser fires the...

var DOMContentLoaded_event = document.createEvent("Event")

DOMContentLoaded_event.initEvent("DOMContentLoaded", true, true)

window.document.dispatchEvent(DOMContentLoaded_event)

Chimp now works while visiting The HSX Dude. Great for PABS trading. edzep - Port Monkey! Sep 11, 04:25

OMG you are amazing ~~ thanks so much. {nm} grammar Sep 11, 20:27

Nice, but Chrome is blocking extension installs from sites other than their web store. elchan Sep 13, 07:34

Ah, but, installation DOES work, as is... edzep - Port Monkey! Sep 13, 11:12

Ok, that did the trick. So what will it take for HowProfitable to auto-poplate Chimp? {nm} elchan Sep 13, 18:54

Also, any chance of changing the colour coding for position back to the actual word short/long, in PortMonkey? elchan Sep 13, 18:59

That will never happen. While I do recognize some scripting & pattern benefit to the original format, edzep - Port Monkey! Sep 13, 19:30

Yeah it can be turn off in "settings" in chrome. Doesn't hurt to ask. {nm} elchan Sep 13, 20:33

The autofills presently work because the code in Chimp is looking for them... edzep - Port Monkey! Sep 13, 19:39

Thanks it? Then it already works(confirmed). People just have to point at the trade button for the bond. It's the HSX link. {nm} elchan Sep 13, 20:35

Oh, well, that's cool. Sheesh, I'd not noticed, since I had no call to run over the TRADE links. edzep - Port Monkey! Sep 13, 20:58

Not working perfectly though. You seem to only pick up the links when the pages first load. elchan Sep 13, 21:37

Hmm, right, these scripts only run following the page load. {nm} edzep - Port Monkey! Sep 13, 22:20

Userscript code is run after the browser fires the DOMContentLoaded event. I have been wondering edzep - Port Monkey! Sep 14, 14:08

I did a quick test, but doesn't seem to be working. Here's the code I inserted at the end of the page update. elchan Sep 14, 21:25

Looks like the right idea, assuming this is even possible... edzep - Port Monkey! Sep 15, 06:24





Post a Reply

To post to the forums you must first login!


Scream 7 $115M Blockbuster Warra (SCRM7.BW) 25000 10.77 (0.00)          Scream 7 $115M Blockbuster Warra (SCRM7.BW) 2072 10.77 (0.00)          Hadestown: The Musical (HDSTW) 150000 6.03 (+1.38)          Project Hail Mary $260M Blockbus (PRJHM.BW) 25000 5.00 (0.00)          Project Hail Mary $260M Blockbus (PRJHM.BW) 25000 5.00 (0.00)          The Drama (TDRAM) 3000 39.12 (+2.85)          Death of a Salesman (DOASM) 150000 8.83 (-0.10)          The Drama (TDRAM) 3000 39.12 (+2.85)          The Drama (TDRAM) 3000 39.12 (+2.85)          Jason Reitman (JREIT) 25000 29.58 (+0.75)          Once Upon a Time in Harlem (OUATH) 150000 0.79 (-0.02)          Scream 7 $115M Blockbuster Warra (SCRM7.BW) 13592 10.77 (0.00)          Project Hail Mary $260M Blockbus (PRJHM.BW) 25000 5.00 (0.00)          Jason Reitman (JREIT) 25000 29.58 (+0.75)          Project Hail Mary $260M Blockbus (PRJHM.BW) 25000 5.00 (0.00)          Sgt. Rock (SGROC) 150000 23.08 (-0.25)          Project Hail Mary $260M Blockbus (PRJHM.BW) 25000 5.00 (0.00)          Hadestown: The Musical (HDSTW) 150000 6.03 (+1.38)          Sgt. Rock (SGROC) 150000 23.08 (-0.25)          Michael H$65 Call (MJACK.CA) 500 2.78 (+0.06)          Giancarlo Esposito (GESPO) 25000 61.48 (-1.50)          Project Hail Mary $260M Blockbus (PRJHM.BW) 25000 5.00 (0.00)          Outcome (OUTCM) 150000 0.06 (+0.04)          Giancarlo Esposito (GESPO) 25000 61.48 (-1.50)          Gladys aka Weapons prequel (WEPN2) 150000 54.05 (+2.98)          Exit 8 (EXIT8) 8526 3.35 (+0.45)          Maya Hawke (MHAWK) 25000 63.15 (-2.00)          Maya Hawke (MHAWK) 25000 63.15 (-2.00)          Once Upon a Time in Harlem (OUATH) 19630 0.79 (-0.02)          Project Hail Mary $260M Blockbus (PRJHM.BW) 25000 5.00 (0.00)          Lee Cronin's The Mummy (TMUMY) 1687 37.56 (-0.28)          Project Hail Mary $260M Blockbus (PRJHM.BW) 25000 5.00 (0.00)          Ready or Not 2: Here I Come (RONO2) 730 21.82 (-0.04)          Project Hail Mary $260M Blockbus (PRJHM.BW) 25000 5.00 (0.00)          The Sun Never Sets (TSNVS) 5023 1.81 (0.00)          Project Hail Mary $260M Blockbus (PRJHM.BW) 25000 5.00 (0.00)          The Asian Fund (ASIAN) 200 42.55 (+0.07)          Spaceballs 2 (SPCB2) 2999 119.20 (+0.22)          The Super Mario Galaxy Movie (MARI2) 25000 449.64 (-6.43)          Forge (FORGE) 1000 0.61 (0.00)          Project Hail Mary $260M Blockbus (PRJHM.BW) 25000 5.00 (0.00)          Project Hail Mary $260M Blockbus (PRJHM.BW) 25000 5.00 (0.00)          Lizard Music (LZMUS) 50000 19.17 (+1.40)          Project Hail Mary $260M Blockbus (PRJHM.BW) 25000 5.00 (0.00)          Lizard Music (LZMUS) 50000 19.17 (+1.40)          Lizard Music (LZMUS) 50000 19.17 (+1.40)          Michael (MJACK) 8888 187.73 (-1.15)          Lizard Music (LZMUS) 50000 19.17 (+1.40)          Michael (MJACK) 9899 187.73 (-1.15)          Lizard Music (LZMUS) 50000 19.17 (+1.40)