One of the annoying things about getting BOB to work in other browsers is that you don't have all greasemonkey-functionality (greasemetal for chrome has its flaws, as does greasemonkey for IE and greasekit for safari. Opera has some own mechanism)
One solution is to create a BOB lite, which basically is a javascript-file without references to greasemonkey-functions that has to be loaded once you are on a game page.
Well, if you know what you're doing, this script has the basic things of BOB included: http://userscripts.org/scripts/source/58895.user.js
(Basic things: Map inspect, extended statistics, dropdown coloring. Snapshots are simply impossible, storing options will be quite hard).
For testing purposes, it's possible to manually load it from a bookmark (also known as scriptlet). I used this to test it in Chrome, firefox and IE 8 (IE looks are different, but it's probably not possible to do it any other way). The usual way: create a new bookmark, give it a name and for location/URL, use the following javascript:
javascript:(function(){BOBjs=document.createElement('SCRIPT');BOBjs.type='text/javascript';BOBjs.src='http://userscripts.org/scripts/source/58895.user.js';document.getElementsByTagName('head')[0].appendChild(BOBjs);})();
If you are at a game page and want to see the stats/map inspect, press the bookmark. BOB will try to load.
(This should actually work for the iPhone btw, but I haven't tested that myself).
BOB lite on other browsers? (Discontinued)
Moderator: Tech Team
Forum rules
Please read the Community Guidelines before posting.
Please read the Community Guidelines before posting.
-
Dako
- Posts: 3987
- Joined: Sun Aug 26, 2007 9:07 am
- Gender: Male
- Location: St. Petersburg, Russia
- Contact:
Re: BOB lite on other browsers?
That is actually great.
But how about storing snapshots in cookies? Since it is dangerous to write into files (and not all browsers will allow it) but cookies can be extended to store snapshot data, I guess.
Have you tried that?
But how about storing snapshots in cookies? Since it is dangerous to write into files (and not all browsers will allow it) but cookies can be extended to store snapshot data, I guess.
Have you tried that?

Re: BOB lite on other browsers?
Ah, thanks for the feedback.
Cookies might work, though they have a max size (2k if I remember correctly). I'd have to check whether some maps (Conquer Man for example) would use more space per snapshot, and deleting cookies (adware removers?) would remove the snapshots.
Just storing the settings in a single cookie will be hard enough to implement/explain I guess.
Cookies might work, though they have a max size (2k if I remember correctly). I'd have to check whether some maps (Conquer Man for example) would use more space per snapshot, and deleting cookies (adware removers?) would remove the snapshots.
Just storing the settings in a single cookie will be hard enough to implement/explain I guess.
-
Dako
- Posts: 3987
- Joined: Sun Aug 26, 2007 9:07 am
- Gender: Male
- Location: St. Petersburg, Russia
- Contact:
Re: BOB lite on other browsers?
4K for each cookie.
Also, if you remove your cookie with some addon - well, it's your problems, add CC to exceptions and move on.
Also, if you remove your cookie with some addon - well, it's your problems, add CC to exceptions and move on.

-
neanderpaul14
- Posts: 1216
- Joined: Wed Aug 06, 2008 3:52 pm
- Location: "Always mystify, mislead and surprise the enemy if possible." - Thomas J. Jackson
Re: BOB lite on other browsers?
Would BOB lite have fewer calories or less alcohol then normal BOB?


High score: 2724/#163 on scoreboard/COLONEL
Re: BOB lite on other browsers?
did what you said, added it made a bookmark, clicked it in a game and now it is stuck on the loading screen... "Initializing BOB"
Help?
Dai_Atan
Proud Retired MoC
and now Active (like yeast in warm water!) Member of The Legion
Re: BOB lite on other browsers?
Which browser was that? This was just a test, keeping 2 seperate scripts upgraded was just too much work (especially since hardly anyone tried this).
So I'm not supporting IE in any way, for chrome the beta kinda works: http://userscripts.org/scripts/show/52700 (snapshots and actually refreshing the content (stats) doesn't work yet, but if you reload you have the right stats, map inspect etc.).
So I'm not supporting IE in any way, for chrome the beta kinda works: http://userscripts.org/scripts/show/52700 (snapshots and actually refreshing the content (stats) doesn't work yet, but if you reload you have the right stats, map inspect etc.).