Jump to content
DoubleDragon

website Chrome Extension FA for fun :)

Recommended Posts

This is just a simple extension very light no call functions for Chrome Browser most of the code is off of splatter ladder. There is a link for TS3 but can't use a direct connect cause not really got that far in scripting it so I used a invite page that they say can be used from their site I don't use TS3 cause no headset but it should work. It's clean not really a lot of work it has all the servers for GT listed like splatter ladder. 

 

Hadn't really put any though into it cause it costs money to publish it on google. Was only made for my self as a alternate shortcut instead of opening new tabs. Hopefully help some one else whos tired of looking for ip addresses as well and new tabs.

 

To use it it's not so hard. After download from gdrive it's in a zip folder; unzip it then when Chrome is open go to settings on the top right, then Extension on the left and check the box for Development and use the button Load unpacked extensions and select the folder that was unzipped.

https://drive.google.com/open?id=0B8gNLkPANLuxUmFkU0hEMkFxTkE

 

It will look like this. The icon's need color changed cause of white background thats all.

 

16atf68.jpg

For technical purposes this is all it has in it.

 

manifest.json

 

in the permissions I didn't add all the links from the html popup cause It's not validating right now cause it's not uploading to Chrome store.

{
  "manifest_version": 2,

  "name": "=F|A=",
  "description": "Fearless-Assassins",
  "version": "1.0",

  "browser_action": 
  {
    "default_icon": "icon.png",
    "default_popup": "fa-popup.html"
  },
  
    "icons": 
	{ 
        "16":"images/icon-16.png", 
        "48":"images/icon-48.png", 
        "128":"images/icon-128.png" 
    },
  
  "permissions": 
  [
   "activeTab", "tabs", "http://fearless-assassins.com/", "http://invite.teamspeak.com/ts.clan-fa.com/?port=4666"
  ]
}

fa-popup.json <-- its really java script my mistake

Very Short on purpose to by pass listeners. But if it was uploaded I would have to use very long scripting not going into details here.

window.addEventListener('click',function(e){
  if(e.target.href!==undefined){
    chrome.tabs.create({url:e.target.href})
  }
})

fa-popup.html

<html>
  <head>
    <title>Fearless-Assassins Popup</title>
    <style>
      body {
        font-family: "Segoe UI", "Lucida Grande", Tahoma, sans-serif;
        font-size: 100%;
      }
      #status {
        /* avoid an excessively wide status text */
        white-space: pre;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 400px;
      }
    </style>
    <script src="fa-popup.js"></script>
  </head>
  <body>
  <body bgcolor="#A9A9A9">
<img src="http://i208.photobucket.com/albums/bb152/hellreturn/logo.jpg"></a> 
<table>
           <tr>
              <th><a href="http://fearless-assassins.com">=F|A= Website </a></th>
              <th><a href="http://invite.teamspeak.com/ts.clan-fa.com/?port=4666">TS3 Connect</a></th>
            </tr>
        </table>
<table>
<tr>
<td style="text-align:left;padding-top:10px" colspan=3><b>Welcome to Multi Gaming Fearless Assassins ET, COD Series, BF Series, CS:S, Brink, TF2 and Red Orchestra 2 Community Servers.</b>
<br>
<br>Welcome to Fearless Assassins Gaming Community where not only gamers play FPS games but they also make good life time friends!
<br>
<br><u><b> Wolfenstein - Enemy Territory Servers:</b></u>
<br><i>ET-Multi-Version: All players from any ET version <b>2.55, 2.56, 2.6 & 2.6b</b>  can join our servers.</i>
<br>
<br><b>Jaymod Servers</b>
<br><b><span style="color:#FFFFFF"><span style="color:#FF0000">F<span style="color:#FFFFFF">|<span style="color:#FF0000">A <span style="color:#FFFFFF">RECRUITING <span style="color:#FF0000">XP SAVE</span></span></span></span></span></span></a></b>
<br><a href='http://www.gametracker.com/server_info/8.9.4.227:27960/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/8.9.4.227:27960/b_350x20_CDB0000-380000-FFFFFF-FFFFFF.png'></a>
<br>Slots: 51  Adrenaline: OFF  Normal Shooting  FF: OFF  Mod: JAYMOD  
<br>
<br><b><span style="color:#FFFFFF"><span style="color:#FF0000">F<span style="color:#FFFFFF">|<span style="color:#FF0000">A <span style="color:#FFFFFF">#2 XPSAVE <span style="color:#FF0000">FOREVER</span></span></span></span></span></span></a></b>
<br><a href='http://www.gametracker.com/server_info/108.61.21.94:27960/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/108.61.21.94:27960/b_350x20_CDB0000-380000-FFFFFF-FFFFFF.png'></a>
<br>Slots: 58 + 6  Adrenaline: ON  Normal Shooting  FF: OFF  Mod: JAYMOD 
<br>
<br><b><span style="color:#FFFFFF"><span style="color:#FF0000">F<span style="color:#FFFFFF">|<span style="color:#FF0000">A <span style="color:#FFFFFF">BEGINNERS XPS FOREVER</span></span></span></span></span></a></b>
<br><a href='http://www.gametracker.com/server_info/178.63.72.170:27960/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/178.63.72.170:27960/b_350x20_CDB0000-380000-FFFFFF-FFFFFF.png'></a>
<br>Slots: 60 + 10  Adrenaline: ON  Fast Shooting  FF: OFF  Mod: JAYMOD
<br>
<br><b>silENT Mod Servers</b>
<br><b><span style="color:#FFFFFF"><span style="color:#FF0000">F<span style="color:#FFFFFF">|<span style="color:#FF0000">A <span style="color:#FFFF00">SILENT <span style="color:#00FF00">RECRUITING XPS</span></span></span></span></span></span></a></b>
<br><a href='http://www.gametracker.com/server_info/108.61.21.93:27960/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/108.61.21.93:27960/b_350x20_CDB0000-380000-FFFFFF-FFFFFF.png'></a>
<br>Slots: 30 + 10  Adrenaline: OFF  Normal Shooting  FF: OFF  Mod: SILENT
<br>
<br><b><span style="color:#FFFFFF"><span style="color:#FF0000">F<span style="color:#FFFFFF">|<span style="color:#FF0000">A <span style="color:#FFFFFF">HARDCORE <span style="color:#FF0000">XPS</span></span></span></span></span></span></a></b>
<br><a href='http://www.gametracker.com/server_info/216.155.146.19:27960/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/216.155.146.19:27960/b_350x20_CDB0000-380000-FFFFFF-FFFFFF.png'></a>
<br>Slots: 29 + 1  Adrenaline: OFF  Normal Shooting  FF: ON  Mod: SILENT 
<br>
<br><b><span style="color:#FFFFFF"><span style="color:#FF0000">F<span style="color:#FFFFFF">|<span style="color:#FF0000">A <span style="color:#FFFFFF">BEGINNERS #2 <span style="color:#FF0000">XPS</span></span></span></span></span></span></a></b>
<br><a href='http://www.gametracker.com/server_info/144.76.100.131:27960/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/144.76.100.131:27960/b_350_20_692108_381007_FFFFFF_000000.png'></a>
<br>Slots: 50  Adrenaline: Off  Normal Shooting  FF: OFF  Mod: SILENT
<br>
<br><b><span style="color:#FFFFFF"><span style="color:#FF00FF">--><span style="color:#00FF00">FUN <span style="color:#00FF00">#<span style="color:#FFFFFF">1 <span style="color:#00FFFF">NEW MAPS <span style="color:#00FFFF">XPS<span style="color:#FF00FF"><--</span></span></span></span></span></span></span></span></a></b>
<br><a href='http://www.gametracker.com/server_info/178.63.72.165:27960/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/178.63.72.165:27960/b_350_20_692108_381007_FFFFFF_000000.png'></a>
<br>Slots: 64  Adrenaline: ON  Normal Shooting  FF: OFF  Mod: SILENT
<br>
<br><b>ETPRO Servers</b>
<br><b><span style="color:#FFFFFF"><span style="color:#FF0000">F<span style="color:#FFFFFF">|<span style="color:#FF0000">A <span style="color:#00FF00">EURO ETPRO <span style="color:#FF0000">OBJ <span style="color:#00FF00">SERVER</span></span></span></span></span></span></span></a></b>
<br><a href='http://www.gametracker.com/server_info/178.63.72.175:27970/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/178.63.72.175:27970/b_350_20_692108_381007_FFFFFF_000000.png'></a>
<br>Slots: 32 Adrenaline: OFF Normal Shooting FF: ON Mod: ETPRO
<br>
<br><b><span style="color:#FFFFFF"><span style="color:#FF0000">F<span style="color:#FFFFFF">|<span style="color:#FF0000">A <span style="color:#00FFFF">EURO <span style="color:#FFFF00">SCRIM SERVER <span style="color:#00FFFF">AC ENABLED</span></span></span></span></span></span></span></a></b>
<br><a href='http://www.gametracker.com/server_info/178.63.72.175:27980/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/178.63.72.175:27980/b_350_20_692108_381007_FFFFFF_000000.png'></a>
<br>Slots: 32  Adrenaline: OFF Normal Shooting FF: ON Mod: ETPRO
<br>
<br><b>NoQuarter Servers</b>
<br><b><span style="color:#FFFFFF"><span style="color:#FF0000">F<span style="color:#FFFFFF">|<span style="color:#FF0000">A <span style="color:#FFFFFF">NOQUARTER <span style="color:#FF0000">XPS</span></span></span></span></span></span></a></b>
<br><a href='http://www.gametracker.com/server_info/178.63.72.133:27960/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/178.63.72.133:27960/b_350x20_CDB0000-380000-FFFFFF-FFFFFF.png'></a>
<br>Slots: 40 + 6  Adrenaline: OFF  Normal Shooting  FF: OFF  Mod: NoQ 
<br>
<br><b><span style="color:#FFFFFF"><span style="color:#FF0000">+++<span style="color:#00FFFF">FUN ZONE<span style="color:#FF0000">+++ <span style="color:#FFFF00">ANTICHEAT ENABLED</span></span></span></span></span></a></b>
<br><a href='http://www.gametracker.com/server_info/178.63.72.175:27960/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/178.63.72.175:27960/b_350x20_CDB0000-380000-FFFFFF-FFFFFF.png'></a>
<br>Slots: 64 + 5  Adrenaline: OFF  Normal Shooting  FF: OFF  Mod: NoQ 
<br>
<br><b><span style="color:#FFFFFF">=<span style="color:#FF0000">F<span style="color:#FFFFFF">|<span style="color:#FF0000">A<span style="color:#FFFFFF">= <span style="color:#00FF00">NoQuarter<span style="color:#FFFF00">#3 <span style="color:#FFFF00">XPSave</span></span></span></span></span></span></span></span></a></b>
<br><a href='http://www.gametracker.com/server_info/108.61.21.92:27960/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/108.61.21.92:27960/b_350_20_692108_381007_FFFFFF_000000.png'></a>
<br>Slots: 40  Adrenaline: ON  Normal Shooting  FF: OFF  Mod: NoQ 
<br>
<br>
<br><span style="color:#ffffff"><u><b>Call Of Duty 4 Servers: 1.6 & 1.7 Patch</b></u></span>
<br><b><span style="color:#FF0000">F</span><span style="color:#FF0000">A</span> <span style="color:#FFFFFF">TDM KILL BOX</span></b>
<br><a href='http://www.gametracker.com/server_info/108.61.21.94:28932/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/108.61.21.94:28932/b_350_20_692108_381007_FFFFFF_000000.png'></a>
<br>
<br><b><span style="color:#FF0000">F</span><span style="color:#FF0000">A</span> <span style="color:#FFFFFF">HARDCORE MIX GAMETYPE</span></b>
<br><a href='http://www.gametracker.com/server_info/108.61.21.94:28930/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/108.61.21.94:28930/b_350_20_692108_381007_FFFFFF_000000.png'></a>
<br>
<br><b><span style="color:#FF0000">F</span><span style="color:#FF0000">A</span> <span style="color:#FFFFFF"> KILLHOUSE HC 24/7</span></b>
<br><a href='http://www.gametracker.com/server_info/108.61.21.94:28936/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/108.61.21.94:28936/b_350_20_692108_381007_FFFFFF_000000.png'></a>
<br>
<br><b><span style="color:#FF0000">F</span><span style="color:#FF0000">A</span> <span style="color:#FFFFFF"> BEGINNERS 24/7 </span></b>
<br><a href='http://www.gametracker.com/server_info/108.61.21.94:28934/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/108.61.21.94:28934/b_350_20_692108_381007_FFFFFF_000000.png'></a>
<br>
<br><b><span style="color:#FF0000">F</span><span style="color:#FF0000">A</span><span style="color:#FFFFFF"> KILLHOUSE 24/7</span></b>
<br><a href='http://www.gametracker.com/server_info/178.63.72.165:28932/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/178.63.72.165:28932/b_350_20_692108_381007_FFFFFF_000000.png'></a>
<br>
<br>
<br><span style="color:#ffffff"><u><b>Team Fortress 2 Server</b></u></span>
<br><a href='http://www.gametracker.com/server_info/108.61.21.93:27015/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/108.61.21.93:27015/b_350_20_692108_381007_FFFFFF_000000.png'></a>
<br>
<br><span style="color:#ffffff"><u><b>Insurgency Server</b></u></span>
<br><a href='http://www.gametracker.com/server_info/108.61.21.93:27019/' target="_new" CLASS='clandesc'><IMG SRC='http://cache.www.gametracker.com/server_info/108.61.21.93:27019/b_350_20_692108_381007_FFFFFF_000000.png'></a>
</td>
</tr>
</table>
</body>
</html>

 

If any one has any idea's to what else you may want to use feel free to discuss it but keep in mind it takes time to write and proof read all the coding.

 

:)

Edited by DoubleDragon
  • Like 7

Share this post


Link to post
Share on other sites

This is a second wind on it today. Little bit different has Clan Roster on the bottom but links only open with right click until I write the permissions which I probably wont because of how many there is. This was using the Site banner with trackbase coding was wish washy at first cause css wanted to be somewhat complex with all the names. Was fun don't know if I will do any more today cause of the time this one took. Approx 4-5 hours just on the roster. For general purpose of not spamming this I will leave out the 1200 lines of code some what wild guess. Some people had really long names with multiple colors uses this cause it was only with 1-2 Spans

<td><div class="cimg"><img src="http://tbstatic.net/gfx/flags/us.png" alt=" " title="United States of America" /></div>
<a style="float:left;" href="http://et.trackbase.net/player/12268/"><span style="color:#FFFFFF"><span style="color:#FF0000">=F|A=Daredev!l</span></span></a> </td>

They are not in numerical or alphabetical order they are placed as it shows on track base by TB Player Rank left to right then down.

http://et.trackbase.net/index.php?mod=claninfo&cidx=36

 

 

https://drive.google.com/open?id=0B8gNLkPANLuxdldrNkhRbUVzRUU

 

It looks like this :)

33ytj7s.jpg

 

 

2d7jak0.jpg

Edited by DoubleDragon
  • Like 4

Share this post


Link to post
Share on other sites

Amazing stuff mate. I see my name there so 100 points for you. You put a lot of effort into this and I assure you its not going unnoticed. Keep it up!

  • Like 1

Share this post


Link to post
Share on other sites

Yeah I had to hunt for your country flag it's not on the clan page either cause you haven't set it or trackbase hasn't not sure which cause it showed it as a blank http that I do remember. If they need a link or if you have to set it manually this is it http://tbstatic.net/gfx/flags/my.png

  • Like 2

Share this post


Link to post
Share on other sites

I tried that no response to activating dev access just returns a error when trying to use the api so instead of waiting I just improvised it's done now don't need the api thanks for the offer.

 

etplayer api returns

 

{"code":200,"message":"","error":"Please supply more information.","errorcode":1,"results":[],"count":0}

 

I presume it's cause my account was set to not active or because I never post in that forums http://forum.trackbase.net/members/372-DoubleDragon

Share this post


Link to post
Share on other sites

Hey DoubleDragon,

 

well, it's obvious you will receive the default error (code 1) when you don't have any apps and thus no api keys. I've seen you haven't activated your developer account yet.

In order to do so, please check your mail account that you supplied in trackbase and click the link in the email from TB Dev, you may also check your spam folder.

Or did you not receive an email?

 

As soon as you are a registered developer, you can create an app which allows you to access our apis, further information on how to do so can be found here. (especially check out the video - it's quite long as it explains everything in detail, but feel free to skip to the code parts necessary for you).

 

If you still need help, don't hesitate to contact me via skype, steam, email or tb pm.

I like that you did the extension, but with our apis you can modify and customize the way to display player information for your clan as well.
I'm currently working on an api solely to display clan information as that's not possible yet. I'll keep you updated.

 

/JoNny

  • Like 2

Share this post


Link to post
Share on other sites

Well it appears my email address was never verified in 8 yrs mybad lol and I can't receive activation email so I had to change the email address to gmail from aol maybe later when it's possible to try again 2nd attempt never received a email that's why I changed the email maybe tomorrow :)

Share this post


Link to post
Share on other sites

Hey again,

 

just saw you re-registered after the activation was cancelled automatically.

I have just finished up the clans api which is now open for use. Please test it out and see if there's anything wrong.

It basically combines a lot of important information about clans, players and servers. Check it out yourself on TB DEV.

 

It will return something like following:

 

{
    "code": 200,
    "message": "Request was made. Some results were collected.",
    "error": "",
    "errorcode": 0,
    "results": [
        {
            "cid": "36",
            "tag": "=F|A=",
            "tag_withcolors": "^7=^1F^7|^1A^7=",
            "tag_html": "<span style=\"color:#FFFFFF\"><span style=\"color:#FFFFFF\">=<span style=\"color:#FF0000\">F<span style=\"color:#FFFFFF\">|<span style=\"color:#FF0000\">A<span style=\"color:#FFFFFF\">=</span></span></span></span></span></span>",
            "name": "Fearless Assassins",
            "name_withcolors": "Fearless Assassins",
            "name_html": "<span style=\"color:#FFFFFF\">Fearless Assassins</span>",
            "registered": "2010-10-10",
            "recruiting": true,
            "homepage": "http://fearless-assassins.com/",
            "location": {
                "abbreviation": "ea",
                "name": "WorldWide"
            },
            "members": [
                {
                    "pid": 3479771,
                    "rate_normal": "25.4619",
                    "rank_normal": "2",
                    "rate_tsp": "27.4706",
                    "rank_tsp": "2",
                    "playername": "=F|A=Unknown*",
                    "playername_withcolors": "^0=^9F|A^z=Un^7kn^zow^9n^0*",
                    "playername_html": "<span style=\"color:#FFFFFF\"><span style=\"color:#585858\">=<span style=\"color:#7F7F7F\">F|A<span style=\"color:#BFBFBF\">=Un<span style=\"color:#FFFFFF\">kn<span style=\"color:#BFBFBF\">ow<span style=\"color:#7F7F7F\">n<span style=\"color:#585858\">*</span></span></span></span></span></span></span></span>",
                    "trend": "N",
                    "trend_tsp": "N",
                    "location": {
                        "abbreviation": "pl",
                        "name": "Poland"
                    },
                    "total_time": 4739245
                },...
            ],
            "servers": [
                {
                    "id": 44135,
                    "shortcut": "farecruiting",
                    "ip": "8.9.4.227",
                    "port": 27960,
                    "status": true,
                    "location": {
                        "abbreviation": "us",
                        "name": "United States"
                    },
                    "currentmap": 58,
                    "capacity_info": {
                        "players": 37,
                        "bots": 0,
                        "max": 51,
                        "private_slots": 0
                    },
                    "version_name": "ET 3.00 - TB 0.7.4 linux-i386",
                    "running_tsp_system": true,
                    "protocol": 84,
                    "gametype": 2,
                    "antilag": true,
                    "balanced_teams": true,
                    "enhanced_mod": null,
                    "heavy_weapon_restrictions": 100,
                    "punkbuster_enabled": false,
                    "alternative_cheat_protection": {
                        "status": false,
                        "name": null
                    }
                },...
            ]
        }
    ],
    "count": 128
} 

 

Edited by JoNny
  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


About Us

We are glad you decided to stop by our website and servers. At Fearless Assassins Gaming Community (=F|A=) we strive to bring you the best gaming experience possible. With helpful admins, custom maps and good server regulars your gaming experience should be grand! We love to have fun by playing online games especially W:ET, Call of Duty Series, Counter Strike: Series, Minecraft, Insurgency, DOI, TF2 & Battlefield Series and if you like to do same then join us! Here, you can make worldwide friends while enjoying the game. Anyone from any race and country speaking any language can join our Discord and gaming servers. We have clan members from US, Canada, Europe, Sri Lanka, India, Japan, Australia, Brazil, UK, Austria, Poland, Finland and many other countries. It doesn't matter how much good you are in the game or how much good English you speak. We believe in making new friends from all over the world. If you want to have fun and want to make new friends join up our gaming servers and our VoIP servers any day and at any time. .

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.