Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: 1 2 3 ... 9 [All]

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

0 Members and 1 Guest are viewing this topic.

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Chrome Extension for f.ds!
« on: June 03, 2015, 01:10:39 pm »
+37

Current version: 1.35

Not sure if this is the right place to put this, but here it is. Based on a suggestion by Kirian, I created a Chrome extension. This extension does 3 things:

1. Adds a "Card" button next to the other markup buttons when writing a post. This inserts the [card ] markup.

2. When you post a reply, the [card] markup will be automatically replaced with the [url ] markup, linking to the appropriate wiki page.

3. When you are viewing a post, URLs that link to a wiki card page will include an image popup when you hover over the link.

4. Adds buttons to insert various Dominion icons to your post. Courtesy of Gherald.

5. Adds an "Autolink cards" checkbox, which will change all card in a post to hover links.

You can install the extension here: https://chrome.google.com/webstore/detail/fds-extension/meaipheckolpooacmilbpnilakniolgi.

Version 1.1 update: Item #3 is done now!
Version 1.2 update: Added item #4.
Version 1.3 update: Added 0, *, and + cost symbols.
Version 1.4 update: Made rollover images smaller. Fixed position of rollover images (all images were at the left of the post even if the card link wasn't).
Version 1.5 update: Added 3*, 4*, 5*, and 6* icons. Fixed other icon sizes so that they are all the same.
Version 1.6 update: Fixed rollover image sizes for events.
Version 1.7 update: Added 2 new features/buttons! The "Card Image" button will insert the "cardImage" tag around your card. When you post this tag, your post will contain an image of the actual card from the wiki. Useful for asking a question about a card or writing an article about one. The other is a "Kingdom" button, which adds the "kingdom" tag. This will generate card images given a comma-delimited list of card and event names. Perfect for discussing a game.
Version 1.8 update: Just smaller card images.
Version 1.9 update: Fixed VP image link.
Version 1.10 update: Added image icons for debt costs. Added icon for . Added Landmarks and new events to the list of things that will be displayed landscape instead of portrait in the rollover.
Version 1.11 update: Added all new Landmarks and Events to the list of landscape rollover images. Added icons for and costs. Updated the behavior of the icon buttons! Now when you click a button, it will insert markup representing the cost. When you post, the markup will be replaced with the image links. Makes writing a post much cleaner. Also, you can insert costs without clicking the button, just by typing the correct markup. All markup includes "$", even VP and Potion, just to keep from any potential conflicts with existing markup.
Version 1.12 update: Added "Autolink" feature.
Version 1.13 update: Fixed "Autolink" feature - works on all cards now, and doesn't break when used on pages with existing links.
Version 1.14 update: Added new second edition cards and promo card. Made everything case insensitive so that you can link cards with the wrong capitalization.
Version 1.15 update: Added Nocturne support for auto-link. Also updated the way auto-link gets the list of cards so that in the future, adding new cards won't require a new update to the extension. Fixed bugs with rollover images for cards such as Horn of Plenty, Salt the Earth, etc. Made it so that "Inherited" auto-links to "Inheritance" just for fun.
Version 1.16 update: Fixed bug where rollovers were not working on regular linked (not auto-linked) cards.
Version 1.17 update: Behind-the-scenes updates to work with Firefox approval.
Version 1.18 update: Behind-the-scenes updates to work with Firefox approval.
Version 1.19 update: Add local storage for the "Autolink cards" setting, so that it will default to what you last selected.
Version 1.20 update: Fixed bug introduced in last version where new post features were missing.
Version 1.21 update: Fixed bug introduced in 1.17 where Autolink broke the ability to view post voters.
Version 1.22 update: Use case-sensitive matching for Autolink to reduce the number of false positives.
Version 1.23 update: Fixed a bug introduced in a recent update where cardImage and kingdom tags were not working.
Version 1.24 update: Fixed minor bug introduced in 1.23.
Version 1.25 update: Added rollover link for certain "shortcut" card names.
Version 1.26 update: Fixed bug where Boons wouldn't link if the full name was used.
Version 1.27 update: Fixed bug with Ill-Gotten Gains, and added BoM.
Version 1.28 update: Made autolink work with plurals.
Version 1.29 update: Made autolink ignore text inside spoiler tags.
Version 1.30 update: Fixes bug where autolink breaks post voting. Also now only autolinks up to 500 cards.
Version 1.31 update: Kingdom button now loads the Kingdom list from Woodcutter Logging Services if the text starts with a "#".
Version 1.32 update: Fixed bug caused by latest Chrome update.
Version 1.33 update: Updated nickname system to not rely on hard-coded names.
Version 1.34 update: Fixed autolink bug caused by permissions update. Removed Kingdom loading from Woodcutter logging.
Version 1.35 update: Added new button. Updated extension icons used in store and Chrome toolbar.
« Last Edit: March 21, 2020, 07:54:46 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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #1 on: June 03, 2015, 01:18:04 pm »
0

Now I need some help from the wiki experts (Wero?). It looks like the actual card images are stored in various subfolders. Is there a way that I can actually know the URL of a given card, based just on the card name? Basically I want to add the same thing the wiki currently has; the image rollovers for card names. But I don't see how I can do that unless I can know the exact URL of an image.
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

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #2 on: June 03, 2015, 01:28:38 pm »
0

The image is stored on the wiki as 'Card_Name.jpg', which the wiki is able to use to find the proper address for it.  The images themselves are listed under more complicated addresses, so outside of the wiki, I'm not sure if this is possible.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #3 on: June 03, 2015, 01:41:47 pm »
0

The image is stored on the wiki as 'Card_Name.jpg', which the wiki is able to use to find the proper address for it.  The images themselves are listed under more complicated addresses, so outside of the wiki, I'm not sure if this is possible.

Yeah that's what I was worried about. I could technically copy and host all the images somewhere else; all in the same directory, but that's a lot of 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

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #4 on: June 03, 2015, 01:58:54 pm »
0

The image is stored on the wiki as 'Card_Name.jpg', which the wiki is able to use to find the proper address for it.  The images themselves are listed under more complicated addresses, so outside of the wiki, I'm not sure if this is possible.

Yeah that's what I was worried about. I could technically copy and host all the images somewhere else; all in the same directory, but that's a lot of work.

Is there a way to just link to the file page on the wiki?  That's what the wiki itself does.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #5 on: June 03, 2015, 02:18:41 pm »
0

The image is stored on the wiki as 'Card_Name.jpg', which the wiki is able to use to find the proper address for it.  The images themselves are listed under more complicated addresses, so outside of the wiki, I'm not sure if this is possible.

Yeah that's what I was worried about. I could technically copy and host all the images somewhere else; all in the same directory, but that's a lot of work.

Is there a way to just link to the file page on the wiki?  That's what the wiki itself does.

If you look at the markup for the rollover links; they actually link to  the image itself; not the file page. Linking to the file page wouldn't show just the card image itself. Though I might be able to datamine the file page to find the actual image link.

Hey, sort of related, what is this? http://wiki.dominionstrategy.com/images/thumb/0/0c/Storybook.jpg/155px-Storybook.jpg

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

Voltaire

  • Jester
  • *****
  • Offline Offline
  • Posts: 957
  • flavor text
  • Respect: +1097
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #6 on: June 03, 2015, 02:24:08 pm »
0

Looks like it's from the Fairytale fan expansion listed on BGG. Why it gets special status, no idea.
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #7 on: June 03, 2015, 02:27:13 pm »
+1

I need a post with a bunch of card links to test out the ability to do rollover links. So this is it.

Market, Grand Market, Rats, Fishing Village, Island, Fool's Gold, Band of Misfits.
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

michaeljb

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1422
  • Shuffle iT Username: michaeljb
  • Respect: +2115
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #8 on: June 03, 2015, 02:40:24 pm »
+2

This page lets you enter a file name, then it redirects you to the full path.

It makes a request to a URL that looks like this:

http://wiki.dominionstrategy.com/index.php?title=Special%3AFilePath&file=Artificer.jpg

Maybe you could script something to hit that URL for each card name and save the map of card names to URLs? Or the extension could make the request behind the scenes to get the URL whenever a user hovers. My gut reaction is that it'd be better to just generate the map of URLs needed.
Logged
🚂 Give 18xx games a chance 🚂

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #9 on: June 03, 2015, 03:05:10 pm »
+1


http://wiki.dominionstrategy.com/index.php?title=Special%3AFilePath&file=Artificer.jpg


This link alone is perfect! Thanks a bunch! Ok, new version has been uploaded, fully works now!
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #10 on: June 03, 2015, 03:11:25 pm »
0

If anyone wants to make a Firefox version, just let me know and I'll give you the code. I don't feel like actually learning how to do that.
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

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #11 on: June 03, 2015, 03:12:15 pm »
0

I've got the "card" button in the reply box, but no rollover image.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #12 on: June 03, 2015, 03:15:27 pm »
0

I've got the "card" button in the reply box, but no rollover image.

Yeah, version 1.1, which includes the rollovers, is publishing now; Google says it can take up to an hour. You'll just need to update whenever it's available.
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: +9413
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #13 on: June 03, 2015, 03:17:15 pm »
+1

If anyone wants to make a Firefox version, just let me know and I'll give you the code. I don't feel like actually learning how to do that.

Alas, I use FF but I also have no idea how to do that.
Logged
Kirian's Law of f.DS jokes:  Any sufficiently unexplained joke is indistinguishable from serious conversation.

liopoil

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2587
  • Respect: +2479
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #14 on: June 03, 2015, 03:17:33 pm »
+1

Feature request: Coin icons like the ones Gherald has.
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #15 on: June 03, 2015, 03:25:23 pm »
+2

Feature request: Coin icons like the ones Gherald has.

Should be simple enough. Will be super easy if I can get the script from Gherald.
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

michaeljb

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1422
  • Shuffle iT Username: michaeljb
  • Respect: +2115
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #16 on: June 03, 2015, 03:27:22 pm »
0


http://wiki.dominionstrategy.com/index.php?title=Special%3AFilePath&file=Artificer.jpg


This link alone is perfect! Thanks a bunch! Ok, new version has been uploaded, fully works now!

Sweet! I was worried you'd have to work around the fact that it's a redirect or something.
Logged
🚂 Give 18xx games a chance 🚂

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #17 on: June 03, 2015, 03:56:19 pm »
+1


http://wiki.dominionstrategy.com/index.php?title=Special%3AFilePath&file=Artificer.jpg


This link alone is perfect! Thanks a bunch! Ok, new version has been uploaded, fully works now!

Sweet! I was worried you'd have to work around the fact that it's a redirect or something.

So was I! At first I thought that the request to that URL would return the proper URL, so I was doing an AJAX call to get the data from that URL, thinking that data would be the actual URL I needed. Finally I realized that even though it redirects to the other URL, the actual data returned when you request that first URL is still the image I was looking for, so I could just set the src of my image to that URL directly.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #18 on: June 03, 2015, 04:42:29 pm »
0

Ok, Gherald sent me his script. Version 1.2 is being published now. It includes a better UI for the "Card" button, and Gherald's buttons for the Dominion icons.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #19 on: June 03, 2015, 04:46:46 pm »
0

Is it a good idea to automatically transform card names into wiki links with image rollovers? Or would that just be annoying?
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

Donald X.

  • Dominion Designer
  • *****
  • Offline Offline
  • Posts: 6367
  • Respect: +25711
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #20 on: June 03, 2015, 05:57:42 pm »
0

2. When you post a reply, the [card] markup will be automatically replaced with the [url ] markup, linking to the appropriate wiki page.
This could probably be done for everyone via the forum software - use the auto-filter. the opening tag you want turns into the url beginning; then there's the card name; then you auto-filter the closing tag into the file type and closing url tag.
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #21 on: June 03, 2015, 07:25:46 pm »
+2

2. When you post a reply, the [card] markup will be automatically replaced with the [url ] markup, linking to the appropriate wiki page.
This could probably be done for everyone via the forum software - use the auto-filter. the opening tag you want turns into the url beginning; then there's the card name; then you auto-filter the closing tag into the file type and closing url tag.

Oh I know. You can also customize the forum software pretty easily to add custom buttons like what #1 and #4 do. But probably only Theory can do those things; this was just a quick way I could help out.
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

Jimmmmm

  • Torturer
  • *****
  • Online Online
  • Posts: 1762
  • Shuffle iT Username: Jimmmmm
  • Respect: +2019
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #22 on: June 03, 2015, 07:36:18 pm »
+1

King's Court




Seems to work. This is great, thanks!
Logged

liopoil

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2587
  • Respect: +2479
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #23 on: June 03, 2015, 07:37:55 pm »
+1

Watchtower - Action -

AWESOME!
Logged

belugawhale

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 159
  • Something.
  • Respect: +212
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #24 on: June 03, 2015, 07:51:31 pm »
+1

Testing
Logged
removed by user

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #25 on: June 03, 2015, 08:16:53 pm »
0

I'm uploading higher quality Intrigue imagery as we speak.

Also, why no asterisked or be-plus-signed coin symbols?  There's also no $0 symbol.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #26 on: June 03, 2015, 08:48:25 pm »
+2

I'm uploading higher quality Intrigue imagery as we speak.

Also, why no asterisked or be-plus-signed coin symbols?  There's also no $0 symbol.

Looks like the Wiki is missing images for the new star costs (3*, 4*, 5*, 6*). I've added 0, 0*, 8*, 2+, 3+, and 4+. Version 1.3 should be available in a few minutes.
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: +3680
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #27 on: June 03, 2015, 08:54:31 pm »
+2

There is clear winner this entire forum, we must give offerings political purposes. There will be many celebrations,  and we will Feast for days!

But there will be an uprising. Soon, will defeat you, Gendo....

So yeah, extension seems cool.
Logged
DM me for ideas on a new article, either here or on Discord (I check Discord way more often)

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #28 on: June 03, 2015, 08:59:02 pm »
0

I'm uploading higher quality Intrigue imagery as we speak.

Also, why no asterisked or be-plus-signed coin symbols?  There's also no $0 symbol.

Looks like the Wiki is missing images for the new star costs (3*, 4*, 5*, 6*). I've added 0, 0*, 8*, 2+, 3+, and 4+. Version 1.3 should be available in a few minutes.

Still waiting on Schneau for those.  Or anyone who cares to venture forth with PaintShop.

By the way, can you make the mouseover images smaller?  They're rather bulky at the moment.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #29 on: June 03, 2015, 09:16:14 pm »
+1

I'm uploading higher quality Intrigue imagery as we speak.

Also, why no asterisked or be-plus-signed coin symbols?  There's also no $0 symbol.

Looks like the Wiki is missing images for the new star costs (3*, 4*, 5*, 6*). I've added 0, 0*, 8*, 2+, 3+, and 4+. Version 1.3 should be available in a few minutes.

Still waiting on Schneau for those.  Or anyone who cares to venture forth with PaintShop.

I could, but out of time now; will be gone for the next few days.
Quote
By the way, can you make the mouseover images smaller?  They're rather bulky at the moment.
Done. Also fixed the image alignment so they're always immediately below the link. Future version may make it so that if the link is near the bottom of the current scroll position so there's not room, the image will appear above instead of below.
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: +3680
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #30 on: June 03, 2015, 09:42:12 pm »
0

NOTE: If you aren't seeing the update, close and restart Google Chrome.
Logged
DM me for ideas on a new article, either here or on Discord (I check Discord way more often)

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #31 on: June 03, 2015, 09:45:54 pm »
0

NOTE: If you aren't seeing the update, close and restart Google Chrome.

That could have something to do with it; but when I publish it, a note from Google says that it can take up to an hour before it is actually published.
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

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #32 on: June 03, 2015, 11:10:09 pm »
0

Psst.  You might want to make a separate thing for Events.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

Kirian

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7096
  • Shuffle iT Username: Kirian
  • An Unbalanced Equation
  • Respect: +9413
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #33 on: June 03, 2015, 11:13:23 pm »
0

Is it a good idea to automatically transform card names into wiki links with image rollovers? Or would that just be annoying?

Bad idea, as there are some common words that would end up as links in non-Dominion threads.
Logged
Kirian's Law of f.DS jokes:  Any sufficiently unexplained joke is indistinguishable from serious conversation.

Seprix

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5607
  • Respect: +3680
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #34 on: June 03, 2015, 11:14:40 pm »
+2

Is it a good idea to automatically transform card names into wiki links with image rollovers? Or would that just be annoying?

Bad idea, as there are some common words that would end up as links in non-Dominion threads.

Sometimes, you just have to call someone a Sea Hag.
Logged
DM me for ideas on a new article, either here or on Discord (I check Discord way more often)

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #35 on: June 03, 2015, 11:23:28 pm »
0

Psst.  You might want to make a separate thing for Events.

Ah, I guess the image size is messed up? The rest of it should work. Fun fact, you can use it for the names of expansions currently also, though the image gets distorted some.
« Last Edit: June 03, 2015, 11:24:34 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

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #36 on: June 06, 2015, 08:35:16 am »
0

The $0 icon is a different shape than the rest:
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

Seprix

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5607
  • Respect: +3680
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #37 on: June 06, 2015, 09:58:46 am »
0

The $0 icon is a different shape than the rest:

Why let different sizes get in the way of a good thing?
Logged
DM me for ideas on a new article, either here or on Discord (I check Discord way more often)

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #38 on: June 06, 2015, 11:15:18 am »
0

The $0 icon is a different shape than the rest:

That's a job for the wiki maintainers... All icons are simply links to the images stored there. I can change where the link points to if a different sized icon is out on the wiki.
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

Schneau

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1174
  • Shuffle iT Username: Schneau
  • Respect: +1461
    • View Profile
    • Rainwave
Re: Chrome Extension for f.ds!
« Reply #39 on: June 07, 2015, 12:49:32 pm »
+4

Alright, I've uploaded the 3* through 6* coin images.
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #40 on: June 07, 2015, 01:16:10 pm »
0

Alright, I've uploaded the 3* through 6* coin images.

Great! Will do an update to the extension tomorrow.
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

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #41 on: June 07, 2015, 04:27:59 pm »
0

Alright, I've uploaded the 3* through 6* coin images.

Updated the {{Cost}} template.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

Seprix

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5607
  • Respect: +3680
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #42 on: June 07, 2015, 06:28:30 pm »
+1

Alright, I've uploaded the 3* through 6* coin images.

Updated the {{Cost}} template.

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

belugawhale

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 159
  • Something.
  • Respect: +212
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #43 on: June 07, 2015, 08:39:58 pm »
0

Alright, I've uploaded the 3* through 6* coin images.

Updated the {{Cost}} template.

You're going adventuring now!
Logged
removed by user

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #44 on: June 08, 2015, 10:19:38 pm »
+2



Works! Version 1.5 was just published, with the new icons and updates sizes so all icons are the same.
« Last Edit: June 08, 2015, 10:22:17 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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #45 on: June 08, 2015, 10:25:01 pm »
0

Testing event rollover images:

Ball, Scouting Party, Inheritance.
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

liopoil

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2587
  • Respect: +2479
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #46 on: June 08, 2015, 10:28:37 pm »
0

Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #47 on: June 08, 2015, 10:43:35 pm »
+1

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: +3680
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #48 on: June 11, 2015, 02:35:45 pm »
0

I have recently made the switch from Chrome to Firefox. Like holy cow, Firefox is just way faster now. So sadly, I cannot participate in this Chrome extension unless I switch between Chrome and Firefox.
Logged
DM me for ideas on a new article, either here or on Discord (I check Discord way more often)

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #49 on: June 11, 2015, 04:17:07 pm »
+2

I have recently made the switch from Chrome to Firefox. Like holy cow, Firefox is just way faster now. So sadly, I cannot participate in this Chrome extension unless I switch between Chrome and Firefox.

I hope to port the extension to Firefox soon if it's not hard to do. I started using Firefox for certain things, because Chrome seems to have been getting worse lately. But when I tried using Firefox for everything, I just found it to be not nearly as good in certain ways; possibly just because of what I'm used to. So I'm now running both at once; Chrome for most things and Firefox for a couple games I play.
« Last Edit: September 28, 2016, 05:18:40 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

faust

  • Cartographer
  • *****
  • Offline Offline
  • Posts: 3384
  • Shuffle iT Username: faust
  • Respect: +5161
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #50 on: June 22, 2015, 07:44:52 am »
0

This extension does not provide nearly enough features for playing forum games!
Logged
You say the ocean's rising, like I give a shit
You say the whole world's ending, honey it already did

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #51 on: June 23, 2015, 03:09:34 am »
+6

This extension does not provide nearly enough features for playing forum games!

Next version will hack into the PM system and list everyone's Mafia role next to their username?
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

Asper

  • Governor
  • *****
  • Offline Offline
  • Posts: 4995
  • Respect: +5347
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #52 on: June 30, 2015, 02:09:33 pm »
+3

This is amazing and the first reason i can imagine to switching my browser to Chrome.
Logged

RelzeriZynx

  • Swindler
  • ***
  • Offline Offline
  • Posts: 16
  • Respect: +15
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #53 on: September 27, 2015, 06:23:52 am »
+3

....
Cool!
Logged

LibraryAdventurer

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1685
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #54 on: September 27, 2015, 04:15:33 pm »
+1

I actually miss the fds extension because I've been using a borrowed computer while mine gets fixed and it doesn't have Chrome on it (and I can't install it without their password).

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #55 on: September 28, 2015, 12:21:14 am »
+2

Makes me happy to hear the feedback. I wonder if there's enough interest for me to try a Firefox port.

I have the same missing it issue when posting from my iPad or iPhone.
« Last Edit: September 28, 2016, 05:19:23 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

market squire

  • Conspirator
  • ****
  • Offline Offline
  • Posts: 219
  • Respect: +201
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #56 on: September 28, 2015, 03:23:43 am »
0

+1 for Firefox!!  :)
Logged

Awaclus

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 11815
  • Shuffle iT Username: Awaclus
  • (´。• ω •。`)
  • Respect: +12868
    • View Profile
    • Birds of Necama
Re: Chrome Extension for f.ds!
« Reply #57 on: September 28, 2015, 05:14:22 am »
0

An Opera port would be very appreciated.
Logged
Bomb, Cannon, and many of the Gunpowder cards can strongly effect gameplay, particularly in a destructive way

The YouTube channel where I make musicDownload my band's Creative Commons albums for free

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #58 on: October 11, 2015, 05:37:06 pm »
+5

Updated! There's now a button for inserting a card image instead of a link, and another for generating a visualized Kingdom based on a list of card names!
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #59 on: October 20, 2015, 02:27:34 pm »
0

I tried and failed at making a Firefox version. Is there anyone out there who has made Firefox add-ins that can help? From my various Google searches, it just seems to require a lot of extra setup compared to the Chrome extensions. I tried copying the basic folder structure that my searches said I need, but just couldn't get anything to work. It's just a .js file and a .css file, so it should be straightforward.
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

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #60 on: November 06, 2015, 08:59:34 am »
0

Would it be possible to get buttons for Event Links and Event Images?  Since they're landscape instead of portrait.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #61 on: December 09, 2015, 03:01:07 pm »
0

Sorry for the delay; the VP image has been fixed in version 1.9.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #62 on: May 13, 2016, 12:29:37 pm »
+1

ToDo list for Empires:

- Add new events and landmarks to list of things to display landscape in rollover images (I think I still also need to add Summon).
- Add Debt icons of various denominations to the icon buttons.
- Add a $14 coin icon.

Am I missing anything?

I also think I'd like to make it so that clicking the buttons for coin images doesn't insert the full URL right then, but instead if more like the "Card Link" button that puts in a placeholder. This will make writing posts cleaner/easier.

Of course I still don't have my computer, but hopefully within a week.

Still want to do a Firefox port also...
« Last Edit: May 18, 2016, 11:23:49 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

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #63 on: May 13, 2016, 01:55:04 pm »
0

Does Schneau still post here?  He apparently put up the Coin cost images.  I can get better resolution Debt images once I scan in the physical cards, but if there aren't Debt images for each amount, I won't be able to create them.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #64 on: May 13, 2016, 02:18:17 pm »
0

Well we only need images for the values that exist on real cards.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #65 on: May 18, 2016, 11:50:27 pm »
+1

Version 1.10 released! New icons and such. Should also fix display issues for Landmarks and new events (it keeps a special list of images to display as landscape in the rollover).

Will plan on updating the icons to not insert the full URL while typing your post later. Also of course will need to add the rest of events and landmarks whenever those are revealed.

Testing... Wolf Den, Dominate, Battlefield, Windfall.

« Last Edit: May 18, 2016, 11:52:29 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

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #66 on: May 18, 2016, 11:53:50 pm »
0

My extension does not seem to be automatically updating.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #67 on: May 18, 2016, 11:53:54 pm »
0

Would it be possible to get buttons for Event Links and Event Images?  Since they're landscape instead of portrait.

If I saw this back when you posted it, I don't remember. Can you explain? I'm pretty sure that by the time you posted this, Events were already set to properly display in the correct ratio/size. Except for Summon.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #68 on: May 18, 2016, 11:55:18 pm »
0

My extension does not seem to be automatically updating.

It takes many hours for autoupdates to get pushed through.
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: +3680
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #69 on: May 19, 2016, 10:10:13 am »
+1

SHortened Google links should be okay with the image url length, right?
Logged
DM me for ideas on a new article, either here or on Discord (I check Discord way more often)

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #70 on: May 19, 2016, 12:12:49 pm »
+2

SHortened Google links should be okay with the image url length, right?

That's a good idea.... but I'd rather see it use tags the way it does for things like [Card]. That way, you could also do things like type [$5] instead of hitting the button for it, which could be easier sometimes. Then when you go to post, it will automatically replace the tag with the correct link.

Of course, I could do both ideas at once; replace the tag with the shortened link. That way editing and replying to posts look nicer.
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: +3680
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #71 on: May 25, 2016, 02:27:10 pm »
0

?
« Last Edit: May 25, 2016, 02:28:20 pm by Seprix »
Logged
DM me for ideas on a new article, either here or on Discord (I check Discord way more often)

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #72 on: May 25, 2016, 05:29:16 pm »
0

?

I keep asking for help from people who know how without any luck. But I'll try my hand at it again in the next couple weeks.
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: +3680
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #73 on: May 25, 2016, 05:31:59 pm »
0

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

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #74 on: June 08, 2016, 11:16:09 pm »
+1

« Last Edit: June 08, 2016, 11:22:35 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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #75 on: June 08, 2016, 11:30:09 pm »
+1

It works! Version 1.11 is done; should auto-updated within the next day. Aside from the rest of the Empires icons and cards; this improves the way that inserting costs and icons works. No more does it stick a big ugly URL in; instead it just inserts markup which is auto-replaced. This means you can also just type the markup. Coin costs are in the form [] with a $ and a number inside. Debt is the same except with <> instead of []. You can just click a button or just hover over it to see the proper markup.
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

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #76 on: June 08, 2016, 11:47:18 pm »
+1

I'm getting a hover image for Wild Hunt, but not Salt the Earth.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #77 on: June 08, 2016, 11:56:51 pm »
0

I'm getting a hover image for Wild Hunt, but not Salt the Earth.

That's fixed in 1.11; 1.10 isn't showing the image. It's because Salt the Earth is the first event to have more than 2 words in the name. Turns out that I was only replacing spaces with underscores for the first space... which as it turns out is fine as far as the wiki is concerned; it works fine with spaces or underscores in the card names. But it was breaking the landscape code; so I found and fixed it; so that now it properly uses underscores in the card name when posting. So because I posted those links with 1.11; they have underscores. But 1.10 is incorrectly expecting 1 underscore and 1 space..
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #78 on: June 09, 2016, 12:00:11 am »
0

Still digging around trying to figure out Firefox addons. Found this: https://addons.mozilla.org/en-US/firefox/addon/dominion-full-card-display/?src=search. So awesome... I wonder if the guy who made that posts here?
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: +3680
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #79 on: June 09, 2016, 12:18:51 am »
0

Still digging around trying to figure out Firefox addons. Found this: https://addons.mozilla.org/en-US/firefox/addon/dominion-full-card-display/?src=search. So awesome... I wonder if the guy who made that posts here?

He has jakebuck.net, apparently. I don't know if that exists or not, I cannot tell because of ISP blocking.
Logged
DM me for ideas on a new article, either here or on Discord (I check Discord way more often)

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #80 on: June 09, 2016, 12:31:56 am »
0

Still digging around trying to figure out Firefox addons. Found this: https://addons.mozilla.org/en-US/firefox/addon/dominion-full-card-display/?src=search. So awesome... I wonder if the guy who made that posts here?

He has jakebuck.net, apparently. I don't know if that exists or not, I cannot tell because of ISP blocking.

It's doesn't (anymore), but jakebuck.com does; I sent him a message through that.
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: +3680
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #81 on: June 09, 2016, 09:22:24 am »
0

Still digging around trying to figure out Firefox addons. Found this: https://addons.mozilla.org/en-US/firefox/addon/dominion-full-card-display/?src=search. So awesome... I wonder if the guy who made that posts here?

He has jakebuck.net, apparently. I don't know if that exists or not, I cannot tell because of ISP blocking.

It's doesn't (anymore), but jakebuck.com does; I sent him a message through that.

Yes, I can visit that site!!! Did you try that link randomly, by accident, or did you have some prior knowledge I did not in your Google Quest?
Logged
DM me for ideas on a new article, either here or on Discord (I check Discord way more often)

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #82 on: June 09, 2016, 10:42:36 am »
0

Still digging around trying to figure out Firefox addons. Found this: https://addons.mozilla.org/en-US/firefox/addon/dominion-full-card-display/?src=search. So awesome... I wonder if the guy who made that posts here?

He has jakebuck.net, apparently. I don't know if that exists or not, I cannot tell because of ISP blocking.

It's doesn't (anymore), but jakebuck.com does; I sent him a message through that.

Yes, I can visit that site!!! Did you try that link randomly, by accident, or did you have some prior knowledge I did not in your Google Quest?

I think I Googled "Jake Buck Dominion" or something.
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: +3680
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #83 on: June 09, 2016, 10:51:13 am »
+1

I think I Googled "Jake Buck Dominion" or something.

Hmm. I got too meta for my own good. I googled "Jake Buck forum.dominionstrategy" yesterday and found nothing. He hasn't posted anything since 2012, so it's likely he either died or got lazy/busy, and thus it is more likely than not that if he was a forum member on here, he would have not logged in since 2012. Good luck with your e-mail, you stalker. :)
« Last Edit: June 09, 2016, 10:53:46 am by Seprix »
Logged
DM me for ideas on a new article, either here or on Discord (I check Discord way more often)

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #84 on: June 15, 2016, 01:07:16 am »
+2

So I went to read the Secret History of Empires, but realized that it was problematic that it didn't have hover-links for the cards; considering that I don't know almost any of the card effects by name yet. So, I went about adding an "auto-link" feature, which would (optionally) add the hover-links to all card names used in a post, even if the person who posted it doesn't have the extension, or chose not to add the card link markup.

So I got basic functionality working fine; but cards that use the names of other cards turns out to be a bigger problem than I thought. I give the markup to City Quarter; it then becomes surprisingly hard to not mess it up as it tries to then give that same text the markup for City.

So, the solution is to take the easy way out, at least for now... cards that are a smaller part of other card names are simply excluded. City won't get the markup; City Quarter works fine. All the Villages work except Village, and sadly Villa. It doesn't affect very many Empires cards anyway; I think just Villa and Triumph. So enjoy reading the secret history with card links!

And in an effort to get this out before everyone has read the secret history anyway, only enabling the links works for now. Unchecking the box does nothing. Checking it again messes stuff up by adding in the links a second time. But refreshing the page always starts clean.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #85 on: June 15, 2016, 01:22:15 am »
0

2 more things:

1. It turns out doing the "unlink" thing is really easy; so you can now both check and uncheck the checkbox.

2. I don't recommend using it on any page that already has card links, it messes up. But it should be good on secret histories, or card rankings, etc.
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: +3680
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #86 on: June 15, 2016, 04:42:11 pm »
0

If someone is going on a camping trip and mentions that he is packing his gear, will it highlight?
Logged
DM me for ideas on a new article, either here or on Discord (I check Discord way more often)

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #87 on: June 15, 2016, 04:58:08 pm »
+1

If someone is going on a camping trip and mentions that he is packing his gear, will it highlight?

Actually no, because it's case sensitive, at least for now. This has the drawback that saying "I bought a grand market" won't highlight either. But other than the casing, yes.
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: +1812
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #88 on: June 15, 2016, 05:56:14 pm »
+1

The extension is great! I wonder if you could have the thing check for spaces on the end, i.e " Villa " instead of "Villa". That would also fix the Count, Counting House problem, words like "Taxing", and words that might appear in images.
« Last Edit: June 15, 2016, 05:57:39 pm by ThetaSigma12 »
Logged
My magnum opus collection of dominion fan cards is available here!

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #89 on: June 15, 2016, 06:19:27 pm »
+1

The extension is great! I wonder if you could have the thing check for spaces on the end, i.e " Villa " instead of "Villa". That would also fix the Count, Counting House problem, words like "Taxing", and words that might appear in images.

Thanks!

I thought about that, but I was concerned about things like other tags, like bold fonts which are actually used in the secret histories. But I think I just need to up my regex game; I think word boundaries might actually handle non-letters correctly. I'll play with it some more; I got a couple other ideas for how to fix it for all card names.
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

Deadlock39

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1722
  • Respect: +1758
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #90 on: June 15, 2016, 08:26:30 pm »
+1

I don't know if this works because of the JavaScript replace function, or if it is applicable here, but the replacement regex that the log prettifier uses captures all the card names by joining them with "|" (i.e. "Counting House|Count|Fishing Village|Village|Villa").  It sorts them by length so that the regex picks the longer words first and only falls to the shorter ones after.  It uses this regex to replace the card names with themselves wrapped with the appropriate css to display them with their card color.

The code looks like this:

Code: [Select]
var keys = Object.keys(colorClassDict); //This dictionary maps all the card names to their css class
var regExp = new RegExp( keys.sort(function(a,b){return b.length-a.length}).join('|'), 'g' );

function colorCards(str)
    {
    return str.replace(regExp, replace);
    }

function replace(key)
    {
    var value = colorClassDict[key];
    return '<p class="'+value+'">'+key+'</p>';
    }

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #91 on: June 15, 2016, 08:49:31 pm »
0

I don't know if this works because of the JavaScript replace function, or if it is applicable here, but the replacement regex that the log prettifier uses captures all the card names by joining them with "|" (i.e. "Counting House|Count|Fishing Village|Village|Villa").  It sorts them by length so that the regex picks the longer words first and only falls to the shorter ones after.  It uses this regex to replace the card names with themselves wrapped with the appropriate css to display them with their card color.

The code looks like this:

Code: [Select]
var keys = Object.keys(colorClassDict); //This dictionary maps all the card names to their css class
var regExp = new RegExp( keys.sort(function(a,b){return b.length-a.length}).join('|'), 'g' );

function colorCards(str)
    {
    return str.replace(regExp, replace);
    }

function replace(key)
    {
    var value = colorClassDict[key];
    return '<p class="'+value+'">'+key+'</p>';
    }

Thanks! I'm doing a similar thing actually with sorting the cards by longest first; but I was looping through all cards and doing the replacements for each one. Joining them all in a regex like that sounds like a good idea. But.. where is the "replace" coming from in the call to str.replace()? It would be the card name basically, but how do you extract the card name from the regex match?
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #92 on: June 15, 2016, 09:04:09 pm »
+1

I don't know if this works because of the JavaScript replace function, or if it is applicable here, but the replacement regex that the log prettifier uses captures all the card names by joining them with "|" (i.e. "Counting House|Count|Fishing Village|Village|Villa").  It sorts them by length so that the regex picks the longer words first and only falls to the shorter ones after.  It uses this regex to replace the card names with themselves wrapped with the appropriate css to display them with their card color.

The code looks like this:

Code: [Select]
var keys = Object.keys(colorClassDict); //This dictionary maps all the card names to their css class
var regExp = new RegExp( keys.sort(function(a,b){return b.length-a.length}).join('|'), 'g' );

function colorCards(str)
    {
    return str.replace(regExp, replace);
    }

function replace(key)
    {
    var value = colorClassDict[key];
    return '<p class="'+value+'">'+key+'</p>';
    }

Never mind that question, I got it with the str.replace that takes a regex and a function call. The function is passed in the word that matched, which in this case is the card name. Using that, I was able to do it perfectly in a few lines of code!

So right before I saw your post, I had just finished my other solution, which I spent the last couple of hours implementing... I had been looping through all text nodes on the page, and replacing them one at a time, as long as they weren't children of a link. It was super inefficient both in coding and runtime execution. Your suggestion is awesome; wish I'd thought of it before! I had thought of a giant regex that would incorporate all cards at once, but I didn't know how I could use that to replace each match with the right thing.
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

Deadlock39

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1722
  • Respect: +1758
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #93 on: June 15, 2016, 09:07:48 pm »
+1

PPE: Awesome, glad it worked!  I'll post my comments below in case it is helpful to anyone looking through here at a later time.




Well, the replace is a reference to the function below the colorCards function.  The code I posted is hacked up a bit from code I have that I stole from the randomizer. It is part of a class, so I ripped out a few instances of "this."

I can't honestly say I understand it 100% since I stole it from the log prettifier, but here is my best attempt at an explaination:
With JS, if you call String.replace( <regex>, <function> ), it takes the match from the regex and passes it to the function. and then replaces the match with the value the function returns.  The 'g' in the regex makes it grab all the matches, so the regex itself prevents you from reparsing things that were already matched. 

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #94 on: June 15, 2016, 10:03:37 pm »
+1

Fixed the Dave Goldthorpe / LibraryAdventurer issue by using \b word matches (their names were showing up as cards). I tried matching case-insensitive, but it was bad; way too many false positives. Version 1.13 is published. Thanks again Deadlock!
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: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1685
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #95 on: June 16, 2016, 12:40:57 am »
+1

Fixed the Dave Goldthorpe / LibraryAdventurer issue by using \b word matches (their names were showing up as cards)...
my name is made of cards.

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #96 on: June 16, 2016, 12:00:59 pm »
0

Fixed the Dave Goldthorpe / LibraryAdventurer issue by using \b word matches (their names were showing up as cards)...
my name is made of cards.

Sure, but it seemed wrong to autolink them. Because if someone types "LibraryAdventurer", they are almost definitely talking about you, the forum poster, not talking about Dominion cards by that name.

The drawback of matching on words is that words like "Coppers" no longer link the "Copper" part.
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: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1685
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #97 on: June 16, 2016, 09:06:21 pm »
0

Fixed the Dave Goldthorpe / LibraryAdventurer issue by using \b word matches (their names were showing up as cards)...
my name is made of cards.

Sure, but it seemed wrong to autolink them. Because if someone types "LibraryAdventurer", they are almost definitely talking about you, the forum poster, not talking about Dominion cards by that name.

The drawback of matching on words is that words like "Coppers" no longer link the "Copper" part.
but I like my name to link to the cards

Seprix

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5607
  • Respect: +3680
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #98 on: June 16, 2016, 09:10:49 pm »
+2

Now we need a Chrome extension to access f.ds when it is down.
Logged
DM me for ideas on a new article, either here or on Discord (I check Discord way more often)

LibraryAdventurer

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1685
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #99 on: July 25, 2016, 01:54:37 am »
0

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?
« Last Edit: July 25, 2016, 02:00:13 am by LibraryAdventurer »
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • 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: +1812
    • 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: 9708
  • Respect: +10765
    • 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: 9708
  • Respect: +10765
    • 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: +9413
    • 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: 9708
  • Respect: +10765
    • 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: +410
    • 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: +3680
    • 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: 1055
  • Shuffle iT Username: heron
  • Respect: +1184
    • 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: 9708
  • Respect: +10765
    • 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: +3680
    • 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: +410
    • 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: 9708
  • Respect: +10765
    • 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: 9708
  • Respect: +10765
    • 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: 9708
  • Respect: +10765
    • 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: 9708
  • Respect: +10765
    • 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: 9708
  • Respect: +10765
    • 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: +2707
    • 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: 9708
  • Respect: +10765
    • 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: 9708
  • Respect: +10765
    • 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: 9708
  • Respect: +10765
    • 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: 9708
  • Respect: +10765
    • 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: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1685
    • 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.

Awaclus

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 11815
  • Shuffle iT Username: Awaclus
  • (´。• ω •。`)
  • Respect: +12868
    • View Profile
    • Birds of Necama
Re: Chrome Extension for f.ds!
« Reply #125 on: October 03, 2018, 03:18:18 pm »
+4

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.

You mean the Dominion Forums.
Logged
Bomb, Cannon, and many of the Gunpowder cards can strongly effect gameplay, particularly in a destructive way

The YouTube channel where I make musicDownload my band's Creative Commons albums for free

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #126 on: October 03, 2018, 03:25:05 pm »
+1

Doesn't work with pluralization anyway.
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: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1685
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #127 on: October 03, 2018, 03:27:10 pm »
+5

Doesn't work with pluralization anyway.
Rats!
Why not?
« Last Edit: October 03, 2018, 03:30:17 pm by LibraryAdventurer »
Logged

infangthief

  • Duke
  • *****
  • Offline Offline
  • Posts: 359
  • Shuffle iT Username: infangthief
  • Respect: +10000 (I wish)
  • Respect: +640
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #128 on: October 04, 2018, 05:38:21 am »
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.

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.

You mean the Dominion Forums.

we Forget to Capitalize?
It might wear a bit thin if Minion gets picked out every time we mintion Domineon.
Logged

vishwathg

  • Navigator
  • ****
  • Offline Offline
  • Posts: 75
  • Respect: +92
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #129 on: October 04, 2018, 11:54:19 am »
0

Don't know why Card Image didn't work though.

[cardImage]Count[/cardImage]

Edit: It appears to be broken, along with the Kingdom Viewer.
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #130 on: October 04, 2018, 12:14:18 pm »
+1

Don't know why Card Image didn't work though.



Edit: It appears to be broken, along with the Kingdom Viewer.

Thanks for reposting.

Fixed, and new version should autoupdate within the hour.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #131 on: October 04, 2018, 12:16:44 pm »
0

Seems like a good place for me to make sure I know how to use this fancy Chrome Extension.

Butcher


 



All right, I guess I don't know what the kingdom button or the card image button do.

The kingdom button requires you to type each card name in the kingdom.

Would it be a wanted feature to be able to display a Kingdom using a game id?
« Last Edit: October 04, 2018, 01:49:28 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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #132 on: October 04, 2018, 01:38:50 pm »
0

Ugh, fixing the cardImage bug introduced another bug; though it's more of an invisible one unless you are looking in the console. Should be fixable.

Testing: Moat

Testing2:
« Last Edit: October 04, 2018, 01:50:27 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

Chappy7

  • Minion
  • *****
  • Offline Offline
  • Posts: 542
  • Shuffle iT Username: Chappy7
  • Respect: +661
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #133 on: October 04, 2018, 05:10:26 pm »
+1


Would it be a wanted feature to be able to display a Kingdom using a game id?

That would be awesome!
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #134 on: October 18, 2018, 11:41:44 am »
0

Aside from the Kingdom thing, which I'm still looking for answers on how to do it, I want to add some stuff to autolink that doesn't work due to people using abbreviations or shortcuts. Similar to how I have "Inherited" autolink to "Inheritance".

For all Boons, I plan to make them work even if "The" is missing. So "Wind's Gift" will autolink.

JoaT, CotR, IGG are the other common ones I can think of. Of course a lot of cards are commonly abbreviated, but I don't want to try and go overboard here. Just ones that are written in short form more often than they're written out fully.

What other cards am I missing? I could do common mistakes too, like "Farmer's Market".
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #135 on: October 23, 2018, 05:15:02 pm »
0

Having heard no extra suggestions; the newest version adds specifically the things mentioned in the above post. Should be good for Boons especially.

Note that until you get the latest update (v.1.25), those things will appear as card links, but will link to non-existent cards.
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 #136 on: October 23, 2018, 10:34:50 pm »
0

Mountain's Gift is the best boon
Logged

vishwathg

  • Navigator
  • ****
  • Offline Offline
  • Posts: 75
  • Respect: +92
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #137 on: October 23, 2018, 10:36:16 pm »
0

Sea's Gift should be +10 cards
Logged

vishwathg

  • Navigator
  • ****
  • Offline Offline
  • Posts: 75
  • Respect: +92
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #138 on: October 23, 2018, 10:37:01 pm »
0

Nothing autolinks  :(
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #139 on: October 23, 2018, 10:54:01 pm »
0

Nothing autolinks  :(

Do you have autolink checked at the top of the thread page?
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 #140 on: October 24, 2018, 11:39:13 am »
0

Yes...?

Had to uninstall and reinstall, it works now.
Logged

vishwathg

  • Navigator
  • ****
  • Offline Offline
  • Posts: 75
  • Respect: +92
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #141 on: October 24, 2018, 11:40:41 am »
0

Mountain's Gift is the best boon

These still don't autolink
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #142 on: October 24, 2018, 11:46:21 am »
0

Mountain's Gift is the best boon

These still don't autolink

Is it any of the boons? I'm seeing the link in your post, in the quoted text.
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 #143 on: October 24, 2018, 11:50:12 am »
+1

Everything autolinks except the boons (possibly only the boons where the "The" is dropped)

The Mountain's Gift
the Mountain's Gift
Mountain's Gift

Only the first one autolinks...and it apparently tries to autolink to a page called "The The Mountain's Gift."
« Last Edit: October 24, 2018, 11:51:36 am by vishwathg »
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #144 on: October 24, 2018, 12:03:35 pm »
0

Everything autolinks except the boons (possibly only the boons where the "The" is dropped)

The Mountain's Gift
the Mountain's Gift
Mountain's Gift

Only the first one autolinks...and it apparently tries to autolink to a page called "The The Mountain's Gift."

The issue with the double-The is indeed a bug; I should have that fixed hopefully later today. Thanks for finding it!

But I have no idea why the other ones aren't working for you. Do me a favor and go to http://pittersplace.com/dominion/cardlist.txt (that's the page that lists everything it tries to autolink). If you scroll to the very bottom, do you see "Mountain's Gift" (with no "the"), etc?
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #145 on: October 24, 2018, 12:54:25 pm »
0

Fixed the double-the issue in 1.26.

Can anyone else confirm if the autolink for Boons is working for them?
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

Awaclus

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 11815
  • Shuffle iT Username: Awaclus
  • (´。• ω •。`)
  • Respect: +12868
    • View Profile
    • Birds of Necama
Re: Chrome Extension for f.ds!
« Reply #146 on: October 24, 2018, 01:02:25 pm »
0

The Mountain's Gift

Mountain's Gift
Logged
Bomb, Cannon, and many of the Gunpowder cards can strongly effect gameplay, particularly in a destructive way

The YouTube channel where I make musicDownload my band's Creative Commons albums for free

Awaclus

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 11815
  • Shuffle iT Username: Awaclus
  • (´。• ω •。`)
  • Respect: +12868
    • View Profile
    • Birds of Necama
Re: Chrome Extension for f.ds!
« Reply #147 on: October 24, 2018, 01:03:57 pm »
+1

"The Mountain's Gift" tries (and fails) to link to "The The Mountain's Gift", just "Mountain's Gift" doesn't work.

EDIT: although the issue here seems to be that it hasn't updated for me.

EDIT 2: Now that it has, it works.
« Last Edit: October 24, 2018, 01:09:39 pm by Awaclus »
Logged
Bomb, Cannon, and many of the Gunpowder cards can strongly effect gameplay, particularly in a destructive way

The YouTube channel where I make musicDownload my band's Creative Commons albums for free

vishwathg

  • Navigator
  • ****
  • Offline Offline
  • Posts: 75
  • Respect: +92
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #148 on: October 24, 2018, 02:11:51 pm »
0

Everything autolinks except the boons (possibly only the boons where the "The" is dropped)

The Mountain's Gift
the Mountain's Gift
Mountain's Gift

Only the first one autolinks...and it apparently tries to autolink to a page called "The The Mountain's Gift."

The issue with the double-The is indeed a bug; I should have that fixed hopefully later today. Thanks for finding it!

But I have no idea why the other ones aren't working for you. Do me a favor and go to http://pittersplace.com/dominion/cardlist.txt (that's the page that lists everything it tries to autolink). If you scroll to the very bottom, do you see "Mountain's Gift" (with no "the"), etc?

I see them, but there seems to be an unindented block before it. Maybe that's causing the problem? I updated to 1.26 and the double-the issue seems to be fixed but I don't see the other autolinks.
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #149 on: October 24, 2018, 02:40:30 pm »
0

Everything autolinks except the boons (possibly only the boons where the "The" is dropped)

The Mountain's Gift
the Mountain's Gift
Mountain's Gift

Only the first one autolinks...and it apparently tries to autolink to a page called "The The Mountain's Gift."

The issue with the double-The is indeed a bug; I should have that fixed hopefully later today. Thanks for finding it!

But I have no idea why the other ones aren't working for you. Do me a favor and go to http://pittersplace.com/dominion/cardlist.txt (that's the page that lists everything it tries to autolink). If you scroll to the very bottom, do you see "Mountain's Gift" (with no "the"), etc?

I see them, but there seems to be an unindented block before it. Maybe that's causing the problem? I updated to 1.26 and the double-the issue seems to be fixed but I don't see the other autolinks.

I see that... it shouldn't be causing any issues, but I updated the list to fix it anyway.

I wonder if this is a localization thing... what country are you in; is your browser set to show things in a language other than English? Could also possibly be a line-ending encoding thing; are you on Linux or Mac by any chance?
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 #150 on: October 24, 2018, 03:00:39 pm »
0

Everything autolinks except the boons (possibly only the boons where the "The" is dropped)

The Mountain's Gift
the Mountain's Gift
Mountain's Gift

Only the first one autolinks...and it apparently tries to autolink to a page called "The The Mountain's Gift."

The issue with the double-The is indeed a bug; I should have that fixed hopefully later today. Thanks for finding it!

But I have no idea why the other ones aren't working for you. Do me a favor and go to http://pittersplace.com/dominion/cardlist.txt (that's the page that lists everything it tries to autolink). If you scroll to the very bottom, do you see "Mountain's Gift" (with no "the"), etc?

I see them, but there seems to be an unindented block before it. Maybe that's causing the problem? I updated to 1.26 and the double-the issue seems to be fixed but I don't see the other autolinks.

I see that... it shouldn't be causing any issues, but I updated the list to fix it anyway.

I wonder if this is a localization thing... what country are you in; is your browser set to show things in a language other than English? Could also possibly be a line-ending encoding thing; are you on Linux or Mac by any chance?

English, Windows 10 and a chromebook. Doesn't work on either.
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #151 on: October 24, 2018, 03:48:49 pm »
0

Everything autolinks except the boons (possibly only the boons where the "The" is dropped)

The Mountain's Gift
the Mountain's Gift
Mountain's Gift

Only the first one autolinks...and it apparently tries to autolink to a page called "The The Mountain's Gift."

The issue with the double-The is indeed a bug; I should have that fixed hopefully later today. Thanks for finding it!

But I have no idea why the other ones aren't working for you. Do me a favor and go to http://pittersplace.com/dominion/cardlist.txt (that's the page that lists everything it tries to autolink). If you scroll to the very bottom, do you see "Mountain's Gift" (with no "the"), etc?

I see them, but there seems to be an unindented block before it. Maybe that's causing the problem? I updated to 1.26 and the double-the issue seems to be fixed but I don't see the other autolinks.

I see that... it shouldn't be causing any issues, but I updated the list to fix it anyway.

I wonder if this is a localization thing... what country are you in; is your browser set to show things in a language other than English? Could also possibly be a line-ending encoding thing; are you on Linux or Mac by any chance?

English, Windows 10 and a chromebook. Doesn't work on either.

Can you open the console (hitting F12) and see if there are any errors shown? To make sure this page has stuff to check:

Mountain's Gift
The Mountain's Gift

Also would be good to know if the other "shortcuts" are working:

IGG, Farmer's Market, JoaT, CotR, Inherited
« Last Edit: October 24, 2018, 03:52:50 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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #152 on: November 01, 2018, 12:41:18 pm »
0

Any update, vishwathg?

I'm going to add BoM to the shortcut list. Also, Ill-Gotten Gains currently is messed up, though IGG works. Will hopefully fix soon.
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 #153 on: November 01, 2018, 01:37:22 pm »
+1

Oh, sorry. Everything works perfectly. Thanks!
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #154 on: November 05, 2018, 04:45:07 pm »
0

Version 1.27 posted. Fixes the Ill-Gotten Gains link, and adds BoM to the shortcuts for autolink.
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: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1685
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #155 on: November 05, 2018, 11:41:42 pm »
0

I just noticed that pluralized card names don't autolink (as in Grand Market but not Grand Markets). Why?
I still think lowercase card names should autolink too.

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #156 on: November 06, 2018, 09:24:29 am »
0

There was a time that both of those would have worked; but plural was changed a long time ago, and capitalization was changed recently. Both because there were far too many false positives. People didn't like "haven't" auto linking, for example.

Fixed the Dave Goldthorpe / LibraryAdventurer issue by using \b word matches (their names were showing up as cards). I tried matching case-insensitive, but it was bad; way too many false positives. Version 1.13 is published. Thanks again Deadlock!

It might be possible to allow plurals to work without the Goldthorpe problem; if I just look for "s" specifically.
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

Asper

  • Governor
  • *****
  • Offline Offline
  • Posts: 4995
  • Respect: +5347
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #157 on: November 06, 2018, 09:38:06 am »
+3

I demand "Pot" to autolink to either the Wikipedia page on cannabis, or a Rickrolling video.
Logged

chipperMDW

  • Duke
  • *****
  • Online Online
  • Posts: 368
  • Respect: +822
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #158 on: November 06, 2018, 09:48:17 am »
0

It might be possible to allow plurals to work without the Goldthorpe problem; if I just look for "s" specifically.

What's a Goldthorpe problem? Did you mean Scunthorpe problem? ('Cuz there's an easy way to remember how to spell that.)
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #159 on: November 06, 2018, 09:57:35 am »
+1

It might be possible to allow plurals to work without the Goldthorpe problem; if I just look for "s" specifically.

What's a Goldthorpe problem? Did you mean Scunthorpe problem? ('Cuz there's an easy way to remember how to spell that.)

The Goldthorpe problem was that the first half of that guy's name was getting autolinked to Gold, and it was annoying. I don't remember who he was; but people were posting about him back then.
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

chipperMDW

  • Duke
  • *****
  • Online Online
  • Posts: 368
  • Respect: +822
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #160 on: November 06, 2018, 10:24:03 am »
+1

It might be possible to allow plurals to work without the Goldthorpe problem; if I just look for "s" specifically.

What's a Goldthorpe problem? Did you mean Scunthorpe problem? ('Cuz there's an easy way to remember how to spell that.)

The Goldthorpe problem was that the first half of that guy's name was getting autolinked to Gold, and it was annoying. I don't remember who he was; but people were posting about him back then.

Oh, wow. I was going to guess that was a made-up name referencing the Scunthorpe Problem in a Dominion-specific context, but there's actually a playtester for Nocturne (mentioned in the secret history but not the credits) named David Goldthorpe. That's a little bit hilarious.
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #161 on: November 06, 2018, 10:28:34 am »
+1

I think I've fixed it, need to use this space to do some tests before I deploy.

Random card name time: Gold! Plural cards like Silvers and stuff too. Goldthorpe. Bold cards like Moat. Haven't seen an issue yet. . Buying lots of Raids could be a thing.

Non-autolink stuff: Moat, Gold, Capitalism.






Shortcuts: IGG, CotR, BoM. some people annoyingly write "Farmer's Market". It's "Farmers' Market", get it right!

Capitalism makes Inherited Estates also count as Treasures sometimes. Woah.

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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #162 on: November 06, 2018, 10:39:42 am »
+2

Version 1.28 published. Plurals work now. Also fixed "Haven't" (annoyingly, by specifically looking for that word and excluding it).
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: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1685
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #163 on: November 06, 2018, 07:18:07 pm »
0

I want my name to link to the cards!  That was never a problem for me (can't speak for Goldthorpe).
« Last Edit: November 06, 2018, 07:20:03 pm by LibraryAdventurer »
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #164 on: November 06, 2018, 07:21:28 pm »
+1

I want my name to link to the cards!  That was never a problem.

I know, I know... and it wasn't a problem for your username. The problem was for other common words and names. False positives make the forum harder to read. Actually, I can't remember how it worked back when your username did auto-link... was not possible to click on your name to get to your user profile? That seems like an issue in general.

I mean, a possibly good solution would be to treat a capital letter as the start of a new word; so "LibraryAdventurer"  would act like 2 separate autolinked words, but "Libraryadventurer" wouldn't. But that's a lot of work for basically just this one specific use case.
« Last Edit: November 06, 2018, 07:22:37 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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #165 on: November 06, 2018, 07:29:03 pm »
0

I wonder if the stuff I have to make it not break when card names are used inside links makes card names not work when they just happen to be between brackets... So like if I wanted to say that Duchy < Province, but Colony > Province...

*Edit* Apparently it still works, though I don't know why, lol.

*Edit2* Ah, the < and > are html encoded to show up properly; of course.
« Last Edit: November 06, 2018, 07:38:32 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

LibraryAdventurer

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1685
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #166 on: November 06, 2018, 07:31:23 pm »
0

I want my name to link to the cards!  That was never a problem.

I know, I know... and it wasn't a problem for your username. The problem was for other common words and names. False positives make the forum harder to read. Actually, I can't remember how it worked back when your username did auto-link... was not possible to click on your name to get to your user profile? That seems like an issue in general.
I don't remember.

I mean, a possibly good solution would be to treat a capital letter as the start of a new word; so "LibraryAdventurer"  would act like 2 separate autolinked words, but "Libraryadventurer" wouldn't. But that's a lot of work for basically just this one specific use case.
I'd only expect that kind of treatment if I donated to the cause, but I think I'd rather spend my money on ShIt.  (which I hope you don't take the wrong way...)

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #167 on: November 06, 2018, 10:01:54 pm »
+1

Capitalism makes Inherited Estates also count as Treasures sometimes. Woah.

An Inherited Capitalized Caravan Guard is an Action-Duration-Reaction-Treasure-Victory.  Seprix made a custom banner template for it, and a few other combinations.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

sudgy

  • Cartographer
  • *****
  • Offline Offline
  • Posts: 3431
  • Shuffle iT Username: sudgy
  • It's pronounced "SOO-jee"
  • Respect: +2707
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #168 on: December 10, 2018, 11:14:48 pm »
+5

A really stupid feature request: don't autolink      Moat       .  The joke is never funny when I see the card name before I look at the spoiler.

(in before everybody says "the joke was never funny")
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #169 on: December 11, 2018, 01:49:40 pm »
0

Latest version will not autolink anything inside spoiler tags. Moat jokes or not; having hyperlinks under spoilers looks bad. So it won't show things like Page after the update.

Just to test some more stuff too:

I played a game with a bunch of secret cards such as Moat, Champion, and Donate.
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

  • Tactician
  • *****
  • Offline Offline
  • Posts: 403
  • Respect: +188
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #170 on: December 12, 2018, 07:53:03 am »
+1

What does the kingdom button do?
Logged

LittleFish

  • Tactician
  • *****
  • Offline Offline
  • Posts: 403
  • Respect: +188
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #171 on: December 12, 2018, 07:56:01 am »
0

I'm just going to type something random to see what it does [kingdom]Moat[/kingdom]
Logged

LittleFish

  • Tactician
  • *****
  • Offline Offline
  • Posts: 403
  • Respect: +188
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #172 on: December 12, 2018, 07:56:37 am »
0

It didn't work :'(
Logged

ThetaSigma12

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1681
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1812
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #173 on: December 12, 2018, 08:41:28 am »
0



I think it requires multiple cards.
Logged
My magnum opus collection of dominion fan cards is available here!

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #174 on: December 12, 2018, 10:57:58 am »
0

Right, Kingdom button is for generated images of an entire kingdom. You write out the card names, separated by a comma. Surround the whole thing with the [kingdom ] tag. It will turn all cards into images, with a newline after every 5 cards.

I don't see why it wouldn't work with just a single card... but using it on just one card should be the same as using the [card ] tag.



*Edit* Yes, you can use it on just one card... LittleFish; not sure why your post didn't seem to work....
« Last Edit: December 12, 2018, 10:59:11 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: 9708
  • Respect: +10765
    • 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: 9708
  • Respect: +10765
    • 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

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

Trying again
Logged

LittleFish

  • Tactician
  • *****
  • Offline Offline
  • Posts: 403
  • Respect: +188
    • 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: 9708
  • Respect: +10765
    • 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: 9708
  • Respect: +10765
    • 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

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1685
    • 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: 9708
  • Respect: +10765
    • 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: 9708
  • Respect: +10765
    • 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: 9708
  • Respect: +10765
    • 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

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #185 on: March 29, 2019, 04:56:02 pm »
0

Is this suddenly not working for anyone else? Specifically, the autolink and the link hovering. I'm getting an error in the Chrome console.
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: +2707
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #186 on: March 29, 2019, 05:13:44 pm »
0

Well, the "Woodcutter" links in the post above yours works for me.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #187 on: March 29, 2019, 05:16:08 pm »
0

Is this suddenly not working for anyone else? Specifically, the autolink and the link hovering. I'm getting an error in the Chrome console.

Thanks. Are you on Chrome or Firefox?
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: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1685
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #188 on: March 29, 2019, 06:30:57 pm »
0

It isn't working for me today (Chrome). I check autolink and refresh and when it refreshes, autolink isn't checked anymore.

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #189 on: March 29, 2019, 06:39:49 pm »
0

It isn't working for me today (Chrome). I check autolink and refresh and when it refreshes, autolink isn't checked anymore.

Thanks. I know high-level what the problem is; but no idea why it was never a problem before. Either Chrome updated something; or GoDaddy updated something.

It’s unable to load the list of cards that I keep at http://pittersplace.com/dominion/cardlist.txt, because of cross-site scripting protection.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #190 on: March 30, 2019, 12:31:57 am »
+1

Yeah looks like it broke in Chrome version 73. I have my computer, and my browser, running so often that I didn't get the update until 2 weeks after it came out.

I'll have to make some changes to the way it gets the data. If I hosted it myself, I could just add a Content Security Policy header to the text file that allows it to be loaded as a public API; but I can't so that with GoDaddy. So instead I'll have to update the extension to work with the new version. Doesn't seem too complicated based on instructions I've found, but it's new stuff to me.

It will probably be sometime next week when I can fix it.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #191 on: April 08, 2019, 10:25:07 pm »
+3

Sorry this took so long. Version 1.32 is published, and should fix the issue.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #192 on: August 01, 2019, 02:23:28 pm »
0

http://pittersplace.com/dominion/cardlist.txt has been updated to include Church and Captain, so they will autolink now. Just waiting for the Wiki to get the images.
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

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #193 on: August 02, 2019, 11:41:41 am »
0

http://pittersplace.com/dominion/cardlist.txt has been updated to include Church and Captain, so they will autolink now. Just waiting for the Wiki to get the images.

The wiki is waiting for them to be available for purchase from BGG. :)
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #194 on: August 02, 2019, 11:42:49 am »
0

http://pittersplace.com/dominion/cardlist.txt has been updated to include Church and Captain, so they will autolink now. Just waiting for the Wiki to get the images.

The wiki is waiting for them to be available for purchase from BGG. :)

Someone uploaded the images; it's been working!
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

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #195 on: August 02, 2019, 11:54:46 am »
0

http://pittersplace.com/dominion/cardlist.txt has been updated to include Church and Captain, so they will autolink now. Just waiting for the Wiki to get the images.

The wiki is waiting for them to be available for purchase from BGG. :)

Someone uploaded the images; it's been working!

They uploaded screengrabs from Dominion Online.  There are not yet physical scans.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #196 on: March 02, 2020, 03:18:34 pm »
0

The 5 previewed Menagerie cards have been added to the list of cards that makes autolink work. Thanks to the people that added the images to the Wiki to make it work.

I'll keep the list up to date as new cards names are announced. If I add it to the list before someone adds it to the Wiki; the image will just be broken in the meantime.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #197 on: March 03, 2020, 10:33:58 am »
0

If the newest cards aren't autolinking for you, it's because of caching stuff. To fix it, go here:

http://pittersplace.com/Dominion/cardList.txt

Note that casing matters for some reason. Do ctrl-f5 to reload the page. That will make the new cards show up in that list, which should make them work in the autolink.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #198 on: March 05, 2020, 10:06:54 am »
+4

So I'm guessing Ways are generally going to be called by simply their animal name. It's happening a lot in the preview thread already. So; should auto-link work with that, the same way it works with "Moon's Gift", or "JoaT"?
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #199 on: March 06, 2020, 08:31:16 am »
+1

So I'm guessing Ways are generally going to be called by simply their animal name. It's happening a lot in the preview thread already. So; should auto-link work with that, the same way it works with "Moon's Gift", or "JoaT"?

I'll take the upvotes as a vote for the change. Hopefully more than 2 people are getting use out of this! I'll try to get to it this weekend.. I'd like to change it so that the cardList.txt file actually contains this information, rather than having hard-coded shortcuts in the code. That way shortcuts could be added without a new version; plus it would stop the cardList.txt file from looking like both "IGG" and "Ill-Gotten Gains" are the names of cards.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #200 on: March 08, 2020, 03:45:39 pm »
0

Test post!

Chameleon, IGG, CotR, JoaT, Moon's Gift, Sun's Gift, BoM, Inherited Rats, Smuggler Smugglers.

There is no card called Farmer's Market. It's Farmers' Market. But I link to both because people make that mistake too often.

Turtles all the way down!

Rat is a Way, Rats is not. Obviously, Horse will just link to Horse, not Way of the Horse.

Zombie Apprentice. Wedding. Coppers! .
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #201 on: March 08, 2020, 04:06:13 pm »
0

Version 1.33 uploaded. Apparently Google has added a review process since my last update... so it's not immediately available. Hopefully it will be really soon.

The only change in this version is how it handles the "nickname" feature in auto-link. It's no longer hardcoded to look for things like "BoM" and replace them with "Band of Misfits". Instead, the http://pittersplace.com/Dominion/cardList2.txt file maintains a list of nicknames, separate from the main cards list. This makes it so that I can add new nicknames as well as new cards without needing to release new versions.

As always, please let me know if you see any issues.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #202 on: March 16, 2020, 05:03:59 pm »
0

This was all working just fine for me while testing; but now autolink seems to be completely broken... probably after updating to the latest Chrome; though it's broken on Firefox also... is it working for anyone else?
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: 1799
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1685
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #203 on: March 16, 2020, 08:42:02 pm »
0

not working today for me either.

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #204 on: March 17, 2020, 10:26:29 am »
0

Animal Fair, Barge, Black Cat, Bounty Hunter, Camel Train, Cardinal, Cavalry,
Coven, Destrier, Displace, Falconer, Fisherman, Gatekeeper, Goatherd, Groom,
Hostelry, Hunting Lodge, Kiln, Livery, Mastermind, Paddock, Sanctuary, Scrap,
Sheepdog, Sleigh, Snowy Village, Stockpile, Supplies, Village Green, Wayfarer

Way of the Butterfly
Way of the Camel
Way of the Chameleon
Way of the Frog
Way of the Goat
Way of the Horse
Way of the Mole
Way of the Monkey
Way of the Mouse
Way of the Mule
Way of the Otter
Way of the Owl
Way of the Ox
Way of the Pig
Way of the Rat
Way of the Seal
Way of the Sheep
Way of the Squirrel
Way of the Turtle
Way of the Worm

Alliance
Banish
Bargain
Commerce
Delay
Demand
Desperation
Enclave
Enhance
Gamble
Invest
March
Populate
Pursue
Reap
Ride
Seize the Day
Stampede
Toil
Transport
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #205 on: March 17, 2020, 10:32:45 am »
0

Ok, version 1.34 is submitted for review; should be available hopefully some time today. Bug should be fixed... I understand what caused it now, but not why it wasn't an issue for me during testing.

I also removed the feature where you could load a Kingdom from a game number if it was in Woodcutter Logging services. Woodcutter seems to have had some update that was breaking it. And I assume no one was using that anyway since I never heard a complaint that it was broken. [Kingdom] feature still works normally by just listing several cards, comma separated.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #206 on: March 18, 2020, 12:07:58 am »
+1

Ugh, Google rejected the update, but their reasons given make no sense, so it could be a mistake... waiting to hear back from them.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #207 on: March 20, 2020, 10:41:05 am »
+1

Here's some updates that no one will care about unless they plan on developing a Chrome extension...

So Google recently updated their dashboard where you manage and update your extensions to a new version. In the old version, along with all the info about your extension, there was a place to upload an icon, which is used next to your extension name in the Chrome web store. In the new version, there's no longer a place to do that, and if you go to upload a new version of your extension and publish it; any icons that you had uploaded in the old dashboard will just not be there anymore.

So my extension was getting rejected from publishing because it didn't have an icon. But I hadn't even noticed that the icon that's always been there was suddenly getting removed by the new dashboard.

So without any help from Google (Google the search engine was helpful; Google the people who were reviewing and rejecting my extension were not), I found that in the new version of the dashboard, icons have to be included with the Extension itself; you bundle the icon files along with your extension and the dashboard will find them and use them in the store from there.

I discovered this immediately after I discovered how to switch back to the old version of the dashboard temporarily so that I could upload the icons like I had previously. So version 1.34 is once again being reviewed; this time with an icon; hopefully to be available soon.

But also I have version 1.35 ready to go, which is exactly the same except that the icons are bundled with the extension so it will work with the new dashboard. The icon in 1.35 also look nicer (taken from the Wiki's icon page), and it has other sizes of icons which will make an icon show up in the list of running extensions in the corner instead of just the letter "F" in a box like it was before.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #208 on: March 21, 2020, 03:22:17 am »
0

Fixed! Update is now available; someone please confirm that autolink works again in 1.34.
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: +2707
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #209 on: March 21, 2020, 11:38:31 am »
+2

Fixed! Update is now available; someone please confirm that autolink works again in 1.34.

It does!
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #210 on: March 21, 2020, 08:03:43 pm »
0

Fixed! Update is now available; someone please confirm that autolink works again in 1.34.

It does!

Thanks!

Version 1.35 published now (and somehow it went through immediately). The only difference is I added the new icon; and the extension icon has been updated. I like how now the extension icon in the toolbar on Chrome shows clearly that it's active on F.DS and inactive on other sites by being grayed out.
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

hhelibebcnofnena

  • Minion
  • *****
  • Offline Offline
  • Posts: 529
  • she/her
  • Respect: +409
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #211 on: March 21, 2020, 10:04:51 pm »
+1

Fixed! Update is now available; someone please confirm that autolink works again in 1.34.

It does!

You probably don't need double confirmation, but you can have it anyway! Everything's working!
Logged
Hydrogen Helium Lithium Beryllium Boron Carbon Nitrogen Oxygen Fluorine Neon Sodium

Barbarossa41

  • Alchemist
  • ***
  • Offline Offline
  • Posts: 39
  • Shuffle iT Username: Barbarossa41
  • Respect: +26
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #212 on: March 22, 2020, 03:08:08 am »
+1

Working!
(Posting, really, to subscribe) ::)
Logged

LittleFish

  • Tactician
  • *****
  • Offline Offline
  • Posts: 403
  • Respect: +188
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #213 on: April 02, 2020, 05:28:02 pm »
+1

Working!
(Posting, really, to subscribe) ::)
Yes, they all work
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #214 on: March 03, 2022, 10:35:20 am »
0

Do any Chrome extension users see the new cards working for auto-link? They're working fine for me in Firefox but not in Chrome. I assume it's a caching thing, but I don't think it's my local browser cache, but a cache within the extension itself.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #215 on: March 04, 2022, 01:05:49 pm »
+1

Ok it turns out it is local cache. If you use auto-link and the new cards aren't linking for you, you need to clear your browser cache (just ctrl-f5 doesn't work like it does with most caching issues).
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #216 on: May 17, 2022, 11:58:57 am »
0

As with Allies, new cards are being added to autolink pretty much as soon as they're posted. And with Seaside 2e, looks like someone's getting the images into the Wiki immediately as well, so thanks! Same as before, you'll need to actually clear cache on Chrome for the new links 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

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #217 on: June 01, 2022, 04:50:52 pm »
+1

The 9 new Prosperity cards have been added.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #218 on: December 12, 2022, 06:28:01 pm »
+1

All Plunder cards test (thanks Gherald)! As always, if you're on Chrome, remember to clear your cache to get the new cards to work.

$2 Cage, Grotto, Jewelled Egg, Search, Shaman
$3 Secluded Shrine, Siren, Stowaway, Taskmaster
$4 Abundance, Cabin Boy, Crucible, Flagship, Fortune Hunter, Gondola, Harbor Village, Landing Party, Mapmaker, Maroon, Rope, Swamp Shacks, Tools
$5 Buried Treasure, Crew, Cutthroat, Enlarge, Figurine, First Mate, Frigate, Longship, Mining Road, Pendant, Pickaxe, Pilgrim, Quartermaster, Silver Mine, Trickster, Wealthy Village
$6 Sack of Loot
$7 King's Cache


Traits (landscapes): Cheap, Cursed, Fated, Fawning, Friendly, Hasty, Inherited, Inspiring, Nearby, Patient, Pious, Reckless, Rich, Shy, Tireless,
Events (landscapes):
$1 Bury
$2 Avoid, Deliver, Peril, Rush
$3 Foray, Launch, Mirror, Prepare, Scrounge
$4 Journey, Maelstrom
At least $5: Looting
At least $6: Invasion, Prosper
Loots (probably 2 copies of each for 30 total cards): Amphora, Doubloons, Endless Chalice, Figurehead, Hammer, Insignia, Jewels, Orb, Prize Goat, Puzzle Box, Sextant, Shield, Spell Scroll, Staff, Sword
« Last Edit: December 18, 2022, 06:38:52 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

Honkeyfresh

  • Minion
  • *****
  • Offline Offline
  • Posts: 617
  • DSF lowest ratio upvotes-posts 14 yrs & counting
  • Respect: +228
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #219 on: December 23, 2022, 01:55:43 pm »
+2

Not sure how I have lived without this all my life.  Really neat!  Thanks for doing this.  Everyone who posts here should have this...
Logged
"Rap game Julio Franco, Chuck Norris, Texas Ranger/ Ice on my fingers look like I slap-boxed a penguin." -- Riff Raff Proverbs 4:20

"Sometimes I say some things people may think are just outlandish, but I'm going to have the last laugh." -- Riff Raff  Exodus 6:66

Ethan

  • Bishop
  • ****
  • Offline Offline
  • Posts: 112
  • Respect: +192
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #220 on: September 26, 2023, 09:54:10 pm »
0

It would be more perfect if you can add link for Townsfolk, Augurs, Clashes, Forts, Odysseys, Wizards.
Thank you for your work!
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #221 on: September 27, 2023, 10:51:15 am »
0

It would be more perfect if you can add link for Townsfolk, Augurs, Clashes, Forts, Odysseys, Wizards.
Thank you for your work!

Done! As always, have to clear cache for it to show up.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #222 on: September 27, 2023, 12:09:31 pm »
0

And Farm added now as well.
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: 9708
  • Respect: +10765
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #223 on: October 13, 2023, 03:00:16 pm »
0

What do people think about the possibility of this list of cards being moved to the wiki? I mean, the wiki already has a list of cards in some form, but I need a specific JSON format that separates portrait and landscape, and includes the card nicknames (BoM, etc). (Specifically this list: http://pittersplace.com/dominion/cardlist2.txt). I don't mind keeping it up to date for now, it's like 15 minutes of work whenever a new expansion is released. Though during preview week that has to be split up into a little bit of work every day... and if I don't get to it in time, people don't have the advantage of auto-link while reading through the preview threads (which is when I find auto-link most helpful; needing to easily see what these new cards are).

I don't even know if a wiki can host json data like this in a txt file (don't remember why; I had some issues when I had it as a json file originally. It could also probably just be an endpoint that returns the json data rather than being an actual file). But if there were such a wiki page, then the community as a whole could help out with adding new cards when necessary.
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 2 3 ... 9 [All]
 

Page created in 0.191 seconds with 20 queries.