MonkeyTab (chrome plugin)
Monkey Forums/Monkey Programming/MonkeyTab (chrome plugin)
| ||
It was really annoying me that every html5 compile opened a new tab in chrome so I made a plugin. The plugin will only allow 1 tab compiled by monkey to be open at a time. https://chrome.google.com/webstore/detail/monkeytab/pdglblkghdpdpganfhagfjadiedgoodm |
| ||
Thanks, will give it a try. |
| ||
I updated the extension so that it will look for a tab that is running on the same port as the current compile. If it finds one it will refresh that tab and close the other duplicates. This means if you open a console on the tab it will remain open :D |
| ||
This is super useful. Thank you! |
| ||
Very simple, yet extremely helpful. Awesome work, thank you. - Oh, in your code I noticed the regex pattern had "[0-9]*" in it, which makes "http://localhost:/MonkeyGame.html" a valid match. It would be more accurate to put "[0-9]{1,5}" or even "[0-9]+". Although, in reality, I doubt it would make a difference. |
| ||
Very useful. Thank you! |
| ||
Thanks GLG, I have updated the regexp. I also tweaked it slightly so it will reuse the first tab regardless if the port of mserver has changed. You will have to redownload. Before it would close all tabs and keep the new one if the mserver port had changed. With the new behaviour there should never a be a situation where the javascript console will close. |
| ||
*bump* for anyone who missed it. I just had to install it on a laptop so had to do a search. I'm sure this is useful to many people, perhaps it could be made sticky? |
| ||
+1 to sticky. This solves a huge pain point everyone using Monkey will have. One suggestion: filter out "view-source:" links to not close! |
| ||
I love this so much. |
| ||
Quite useful, thanks! |
| ||
Just re-installed as well, thanks for having it bumped. This plugin is awesome! Agree this would be nice with sticky :) |
| ||
I will look at the view-source: thing when i get onto my desktop next :) |
| ||
Very useful! Thanks! |
| ||
so, who wants to implement this feature into firefox? :> |
| ||
What are you all doing? Why not just click the Compile Only button (the red rocket without that isn't taking off) and then just hit refresh on your browser. No plugins required! Have I missed something? Or are you all now kicking yourselves? |
| ||
Two clicks instead of one? Its the difference between turning a tv on by pressing power on your remote.. or turning a tv on at the mains power and then the power on remote. Do it once and there are no complaints, have to do it 100 times in an hour then it gets annoying. |
| ||
Yea. I have noticed that the monkey web server closes its connection after a few compiles, does that happen to anyone else? |
| ||
I get this sometimes just forgot to report it .. lol! will add to bug forums |
| ||
I have updated this finally to take into account the view-source bug. MonkeyTab will no longer close view-source tabs. You will need to redownload and install the file linked in the first post. |
| ||
I updated, but now my console is gone... The I deleted MonkeyTab and now the console is back! |
| ||
Haha whoops I may have accident left in some code in there from my personal version. Ill update soon! |
| ||
Updated the plugin to not hide the console. You will have to redownload and reinstall. |
| ||
Thanks, it is very helpful! |
| ||
Just added this to the chrome webstore for easy updating/installing to chrome :) |
| ||
This is nice. |