Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: 1 ... 6 7 [8]  All

Author Topic: Chrome Extension for f.ds!  (Read 30150 times)

0 Members and 1 Guest are viewing this topic.

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7667
  • Respect: +8526
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #175 on: December 12, 2018, 10:59:47 am »
0

I'm just going to type something random to see what it does

Quoting your post just to see if your exact markup works for me.

*Edit* It does.
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7667
  • Respect: +8526
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #176 on: December 12, 2018, 11:03:22 am »
0

I would like to add the ability to simply place a game id inside the kingdom tag to generate the images from that. But I need to figure out how to get data from Dominion Woodcutter. And to understand the difference between Woodcutter and Scavenger... both seem to offer logging services of games.
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

LittleFish

  • Golem
  • ****
  • Offline Offline
  • Posts: 184
  • Respect: +47
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #177 on: December 12, 2018, 04:02:33 pm »
0

Trying again
Logged

LittleFish

  • Golem
  • ****
  • Offline Offline
  • Posts: 184
  • Respect: +47
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #178 on: December 12, 2018, 04:03:02 pm »
+2

It worked :D whoever made this should be worth 100
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7667
  • Respect: +8526
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #179 on: December 12, 2018, 04:03:56 pm »
+2

It worked :D whoever made this should be worth 100

That would be me!
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7667
  • Respect: +8526
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #180 on: December 19, 2018, 04:15:54 pm »
0

For those of you who use this... related to this thread, can you tell me if you have any issues clicking either the view votes; change post icon; or quick modify? Specifically when autolink is turned on.
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

LibraryAdventurer

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1219
  • Shuffle iT Username: LibraryAdventurer
  • Respect: +941
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #181 on: December 20, 2018, 09:46:29 pm »
0

I normally have autolink turned on and clicking on the view votes button does nothing.
EDIT: The modify button also does nothing now. In both cases, if I turn off autolink and refresh the page, it works again.
« Last Edit: December 20, 2018, 09:48:15 pm by LibraryAdventurer »
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7667
  • Respect: +8526
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #182 on: December 21, 2018, 01:19:00 am »
0

Thanks. Didn't have time to look at it tonight; but hopefully will tomorrow night.
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7667
  • Respect: +8526
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #183 on: December 21, 2018, 10:58:59 pm »
+1

New version has been published. To fix the issue, I now replace only the text of the posts; not the container around all posts. This has a side-effect of no longer replacing poster ranking card names. I think this fine; it's up to 50 fewer images being loaded on each page; and the point of the autolink is to help people see the card that is being discussed in a post.

Also, to help prevent overloading the system on certain threads; only the first 500 cards in a thread will be autolinked now. For the vast majority of threads here, that should be more than enough. Fun fact, both the Dark Ages secret history and Nocturne secret history have exactly 315 card names mentioned in the post. Weird.
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7667
  • Respect: +8526
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #184 on: January 21, 2019, 11:19:33 am »
+2

Ok, thanks to an idea from Chappy7, and much help from tailred's Woodcutter logging services, the new game-log-kingdom-visualizer-feature is done!

To use this new feature... type a game number, including a "#" at the start, like #21439056. Highlight the whole thing and hit the "Kingdom" button. It will replace the game number with the list of cards in the Kingdom. Upon posting, it will replace the [kingdom ] tag with the card images, just like before.

You can still use the Kingdom button and the [kingdom ] tag exactly like it used to work also. Just list out any number of card names, separated by commas, surrounded with the [kingdom ] tag, and it will post images for them when you post. The "Kingdom" button will only check the Woodcutter logs if the text starts with a "#".

Remember, your game log needs to be loaded into Woodcutter for this to work.
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0
Pages: 1 ... 6 7 [8]  All
 

Page created in 0.16 seconds with 20 queries.