Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: 1 ... 3 4 [5] 6 7 ... 9  All

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

0 Members and 1 Guest are viewing this topic.

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9756
  • Respect: +10839
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #100 on: July 25, 2016, 12:44:09 pm »
+1

I posted a kingdom here, using the card image button to show images, and the images wouldn't show for any card that has a space in its name.
EDIT: I found a workaround which may help you to find the bug: When I capitalized Hunting_Party, Horn_of_Plenty, and Hunting_Grounds, then the images showed correctly. (It took me two tries for Horn of plenty because I tried 'Horn_Of_Plenty' first.)

Also, how do you use the kingdom button in the fds plugin?

It's set up for capitalization to matter, though that's probably not ideal; because why should it? I think I can change that easily. Can't say why capitalization only mattered for multi-word cards; thought it would be the same for all.

For the Kingdom button, just list out all the cards with a comma (and a space after the comma) between each one. Like this (should stay as a list because the extension isn't installed where I'm posting from):

[kingdom]Hunting Party, Chapel, Scout, Laboratory[/kingdom]
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

ThetaSigma12

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1681
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1814
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #101 on: September 25, 2016, 05:00:09 pm »
+1

I'd like if this could be updated ASAP for the new cards!  :)
Logged
My magnum opus collection of dominion fan cards is available here!

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9756
  • Respect: +10839
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #102 on: September 27, 2016, 09:54:12 am »
+3

I'd like if this could be updated ASAP for the new cards!  :)

Oh man I was just thinking about that yesterday at work, planning on doing it when I got home. Then by the time I got home, I forgot. Should be done tonight. I'll also update it so that capitalization doesn't matter for the auto-linking.
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: 9756
  • Respect: +10839
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #103 on: September 27, 2016, 10:26:53 pm »
+1

I'd like if this could be updated ASAP for the new cards!  :)

Done! All 16 new cards have been added to auto-link. It will now auto-link cards that have incorrect casing, as well as allow you to use the link/image/kingdom tags on cards that have incorrect casing.
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

Kirian

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7096
  • Shuffle iT Username: Kirian
  • An Unbalanced Equation
  • Respect: +9416
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #104 on: September 27, 2016, 10:56:35 pm »
+1

Aw man, still wanting this for FF :(
Logged
Kirian's Law of f.DS jokes:  Any sufficiently unexplained joke is indistinguishable from serious conversation.

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9756
  • Respect: +10839
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #105 on: September 27, 2016, 11:28:43 pm »
+1

Aw man, still wanting this for FF :(

Not to spoil anything, or raise false hopes in case things don't go as expected, but check back in a few days.  ;)
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

Doom_Shark

  • Tactician
  • *****
  • Offline Offline
  • Posts: 434
  • Shuffle iT Username: Doom_Shark
  • Respect: +413
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #106 on: October 02, 2016, 05:17:16 pm »
0

So will the new cards for the 2nd editions work already, or do you have to wait to be able to implement them?
Logged
"I swear to drunk I'm not officer, God."
Generation 33 The first time you see this, copy it, add 1 to the generation number, and add it to your signature. (On any forum) Social experiment.

Seprix

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5607
  • Respect: +3682
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #107 on: October 02, 2016, 05:54:36 pm »
0

Aw man, still wanting this for FF :(

Not to spoil anything, or raise false hopes in case things don't go as expected, but check back in a few days.  ;)

Logged
DM me for ideas on a new article, either here or on Discord (I check Discord way more often)

heron

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1056
  • Shuffle iT Username: heron
  • Respect: +1200
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #108 on: October 02, 2016, 06:40:06 pm »
+1

Aw man, still wanting this for FF :(

Not to spoil anything, or raise false hopes in case things don't go as expected, but check back in a few days.  ;)

[hopes deleted]

Uh maybe I am just confused about what this image means but Seprix have you seen this thread?
http://forum.dominionstrategy.com/index.php?topic=16305.0
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9756
  • Respect: +10839
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #109 on: October 03, 2016, 10:47:00 am »
0

So will the new cards for the 2nd editions work already, or do you have to wait to be able to implement them?

I added them a few days ago in the 1.14 update.

As a general rule, whenever new cards are created, as soon as they are added to the Wiki, the [card ] and [cardImage ] and [kingdom ] tags will automatically work the same without me needing to update anything. But the "Autolink cards" feature requires me to update to add the new cards to the list of all cards.
« Last Edit: October 03, 2016, 12:08:18 pm by GendoIkari »
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

Seprix

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5607
  • Respect: +3682
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #110 on: October 03, 2016, 01:32:57 pm »
+3

Aw man, still wanting this for FF :(

Not to spoil anything, or raise false hopes in case things don't go as expected, but check back in a few days.  ;)

[hopes deleted]

Uh maybe I am just confused about what this image means but Seprix have you seen this thread?
http://forum.dominionstrategy.com/index.php?topic=16305.0

Hopes reuploaded.
Logged
DM me for ideas on a new article, either here or on Discord (I check Discord way more often)

Doom_Shark

  • Tactician
  • *****
  • Offline Offline
  • Posts: 434
  • Shuffle iT Username: Doom_Shark
  • Respect: +413
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #111 on: October 03, 2016, 07:46:39 pm »
0

So will the new cards for the 2nd editions work already, or do you have to wait to be able to implement them?

I added them a few days ago in the 1.14 update.

As a general rule, whenever new cards are created, as soon as they are added to the Wiki, the [card ] and [cardImage ] and [kingdom ] tags will automatically work the same without me needing to update anything. But the "Autolink cards" feature requires me to update to add the new cards to the list of all cards.
I kinda thought it would work that way, but I wasn't sure, and didn't want to look stupid by using a card that doesn't work, so I thought I might as well ask.
Logged
"I swear to drunk I'm not officer, God."
Generation 33 The first time you see this, copy it, add 1 to the generation number, and add it to your signature. (On any forum) Social experiment.

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9756
  • Respect: +10839
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #112 on: October 28, 2017, 12:37:26 pm »
0

I'll try to get around to adding Nocturne cards (and other card-shaped things) to the list for auto-linking sometime within the next week. I know at least for me, it's when there's new cards that it helps the most.

*Edit* I really should find a way to have the list pull dynamically from some web service or something; so that I don't need an update every time there's a new card.
« Last Edit: October 28, 2017, 12:38:39 pm by GendoIkari »
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: 9756
  • Respect: +10839
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #113 on: December 06, 2017, 12:25:07 am »
+1

Testing my Nocturne update, don't mind me.

Miserable
Palace Skulk Will-o'-Wisp, Zombie Spy, Wish, Wishing Well

Horn of Plenty

Lost in the Woods
Salt the Earth

Inherited Baron.
« Last Edit: December 06, 2017, 12:53:14 am by GendoIkari »
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: 9756
  • Respect: +10839
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #114 on: December 06, 2017, 01:07:18 am »
+3

Version 1.15 published! You can now read the Secret History of Nocturne, and use auto-link to actually see what card is being talked about! (For those of us who haven't memorized all the new cards yet).
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: 9756
  • Respect: +10839
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #115 on: September 25, 2018, 09:11:11 pm »
0

Not a version update; but I'm adding Renaissance cards to the card list for Auto Link purposes as they're revealed. Finally added Dismantle also.
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: 9756
  • Respect: +10839
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #116 on: September 25, 2018, 09:12:36 pm »
+1

Is there interest in having "Auto-Link" be something that's saved in cookies, so that it remembers if you have it turned on? I find myself generally just clicking it every time a page is loaded.
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

sudgy

  • Cartographer
  • *****
  • Offline Offline
  • Posts: 3431
  • Shuffle iT Username: sudgy
  • It's pronounced "SOO-jee"
  • Respect: +2709
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #117 on: September 25, 2018, 09:34:36 pm »
+1

Is there interest in having "Auto-Link" be something that's saved in cookies, so that it remembers if you have it turned on? I find myself generally just clicking it every time a page is loaded.

Yes, please!  I always am having to scroll up to click that button.
Logged
If you're wondering what my avatar is, watch this.

Check out my logic puzzle blog!

   Quote from: sudgy on June 31, 2011, 11:47:46 pm

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9756
  • Respect: +10839
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #118 on: September 25, 2018, 10:18:35 pm »
0

Done!

As always, could take a while until the update updates. For Chrome, at least. Firefox seems to have updated immediately and is working just the same.
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

vishwathg

  • Navigator
  • ****
  • Offline Offline
  • Posts: 75
  • Respect: +92
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #119 on: September 25, 2018, 11:41:33 pm »
+3

Suggestion: Search for "haven't" and disable autolink for Haven.
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9756
  • Respect: +10839
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #120 on: September 26, 2018, 10:23:42 am »
0

My last update broke the new post page; the buttons and icons aren't there anymore. New version should be available soon.

Yeah, I'll try to fix "haven't". I need to figure out my own regex; I'm not actually sure what it's doing anymore. Always comment your code!
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

vishwathg

  • Navigator
  • ****
  • Offline Offline
  • Posts: 75
  • Respect: +92
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #121 on: September 26, 2018, 08:56:03 pm »
0

Or maybe just don't autolink anything that is not capitalized.
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9756
  • Respect: +10839
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #122 on: September 26, 2018, 09:16:54 pm »
+1

Or maybe just don't autolink anything that is not capitalized.

I think I went back and forth on capitalization before. Or maybe it was just spacing. But so many people mis-capitalize multi-word cards, or just don't bother capitalizing it. Yeah it would be nice if things like "page" weren't affected in the wrong context.

For haven't, I just need to figure out why I made my current regex as complex as I did before messing with it to exclude that one.

*Edit* And of course if I exclude haven followed by a single quote, we'd lose things like "haven's effect". So I need to be more specific to "haven't".
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: 9756
  • Respect: +10839
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #123 on: October 03, 2018, 01:02:03 pm »
0

After reading through some more various threads that weren't actually talking about Dominion cards, I think the solution is to consider capitalization for matching card names. Way too many uses of words like "fair" and "page" and "haven't" that shouldn't be matched. Probably better to err on the side of a Dominion card being not matched than a non-Dominion card being matched.

Will update tonight probably.
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

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1831
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1724
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #124 on: October 03, 2018, 02:47:39 pm »
+1

After reading through some more various threads that weren't actually talking about Dominion cards, I think the solution is to consider capitalization for matching card names. Way too many uses of words like "fair" and "page" and "haven't" that shouldn't be matched. Probably better to err on the side of a Dominion card being not matched than a non-Dominion card being matched.

Haven't we had enough of Dominion cards not being linked? Is this Fair to the card names we forget to capitalize? I say there's nothing nothing wrong with linking words to Dominion cards when they're not being used to name the cards. These Pages are on the Dominion forums, after all.
Pages: 1 ... 3 4 [5] 6 7 ... 9  All
 

Page created in 0.054 seconds with 22 queries.