minj / foxtrick

FoxTrick is a browser extension for the Hattrick online football manager game, currently available for Firefox, Google Chrome, as well as for Opera.
https://www.foxtrick.org
GNU General Public License v3.0
72 stars 48 forks source link

Maintain external links in external site #737

Closed minj closed 9 years ago

minj commented 9 years ago

Original issue 737 created by ryanlimigrate on 2011-05-21T11:50:21.000Z:

Instead of having the stats.js for external links, we could use an external site for managing these links, could be using JSON or XML for storing the links. And the users would be able to subscribe to different link feeds, and links could be updated without the update of FoxTrick.

minj commented 9 years ago

Comment #1 originally posted by ryanlimigrate on 2011-06-04T13:52:35.000Z:

Evaluating JavaScript isn't possible due to security concerns, we may just make use of existing JavaScript parser generators.

minj commented 9 years ago

Comment #2 originally posted by ryan on 2011-07-20T06:22:03.000Z:

<empty>

Status: Accepted Cc: -ryanlimigrate, [ryan](mailto:ryan@ryanium.com) Labels: Milestone-1.0

minj commented 9 years ago

Comment #3 originally posted by convincedd on 2011-08-06T09:21:53.000Z:

it think we should add that to 0.8 in a simple version. just statsid+url hosted on fondationhorizont with hardcoded uls in stats as fallback. simple and save to do

Owner: convincedd Labels: -Milestone-1.0, Milestone-0.8

minj commented 9 years ago

Comment #4 originally posted by convincedd on 2011-08-06T12:45:36.000Z:

stuoid idea of me

Owner: --- Labels: -Milestone-0.8, Milestone-1.0

minj commented 9 years ago

Comment #5 originally posted by ryan on 2011-09-22T11:22:25.000Z:

We could just use JSON for the links, and add special cases for difficult ones like ht-world.

Old format: // hattriX-Ray Crossover stats["xray_crossover"] = { "url" : "http://www.databased.at/hattrick/x-ray/", "playerlink" : { "path" : "?starter=crossover", "filters" : [], "params" : { "playerid" : "pid" } },

    "title" : "hattriX-Ray Crossover",
    "img" : Foxtrick.InternalPath+"resources/linkicons/xray_crossover.png"

};

New format: // hattriX-Ray Crossover [ ..., "xray_crossover" : { "url" : "http://www.databased.at/hattrick/x-ray/?starter=crossover&pid=$playerid", "title" : "hattriX-Ray Crossover", "img" : "http://www.databased.at/***.png" }, ... ]

minj commented 9 years ago

Comment #6 originally posted by ryan on 2011-10-18T14:31:11.000Z:

Since links options are back in d16d2c464cccec2ae10e6f1b0d33497795d77d9f r7679, I'm taking this and marking it as fixed.

Status: Fixed Owner: [ryan](mailto:ryan@ryanium.com)