Dominion Strategy Forum

Please login or register.

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

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

0 Members and 1 Guest are viewing this topic.

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • View Profile
Chrome Extension for f.ds!
« on: June 03, 2015, 01:10:39 pm »
+34

Current version: 1.16

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.
« Last Edit: December 06, 2017, 02:13:39 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 7865
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8959
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 7865
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8959
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: +1091
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 1366
  • Shuffle iT Username: michaeljb
  • Respect: +1964
    • 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

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 7865
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8959
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 6968
  • Shuffle iT Username: Kirian
  • An Unbalanced Equation
  • Respect: +9095
    • 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: 2581
  • Respect: +2458
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #14 on: June 03, 2015, 03:17:33 pm »
0

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

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 1366
  • Shuffle iT Username: michaeljb
  • Respect: +1964
    • 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

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 4572
  • Respect: +18283
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • *****
  • Offline Offline
  • Posts: 1688
  • Shuffle iT Username: Jimmmmm
  • Respect: +1859
    • 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: 2581
  • Respect: +2458
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #23 on: June 03, 2015, 07:37:55 pm »
0

Watchtower - Action -

AWESOME!
Logged

belugawhale

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 154
  • Something.
  • Respect: +196
    • 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: 7865
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8959
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 5313
  • Shuffle iT Username: Seprix
  • Respect: +3045
    • View Profile
    • The Border Village
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
WOWIE I GUESS I HAVE TO DO EVERYTHING AROUND HERE

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7865
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8959
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 5313
  • Shuffle iT Username: Seprix
  • Respect: +3045
    • View Profile
    • The Border Village
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
WOWIE I GUESS I HAVE TO DO EVERYTHING AROUND HERE

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 7865
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8959
    • 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: 6968
  • Shuffle iT Username: Kirian
  • An Unbalanced Equation
  • Respect: +9095
    • 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: 5313
  • Shuffle iT Username: Seprix
  • Respect: +3045
    • View Profile
    • The Border Village
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
WOWIE I GUESS I HAVE TO DO EVERYTHING AROUND HERE

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 7865
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8959
    • 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: 5313
  • Shuffle iT Username: Seprix
  • Respect: +3045
    • View Profile
    • The Border Village
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
WOWIE I GUESS I HAVE TO DO EVERYTHING AROUND HERE

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 1168
  • Shuffle iT Username: Schneau
  • Respect: +1435
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 7865
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8959
    • 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: 5313
  • Shuffle iT Username: Seprix
  • Respect: +3045
    • View Profile
    • The Border Village
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
WOWIE I GUESS I HAVE TO DO EVERYTHING AROUND HERE

belugawhale

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 154
  • Something.
  • Respect: +196
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 2581
  • Respect: +2458
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #46 on: June 08, 2015, 10:28:37 pm »
0

Logged

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 5313
  • Shuffle iT Username: Seprix
  • Respect: +3045
    • View Profile
    • The Border Village
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
WOWIE I GUESS I HAVE TO DO EVERYTHING AROUND HERE

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1733
  • Shuffle iT Username: faust
  • Respect: +2331
    • 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
Since the number of points is within a constant factor of the number of city quarters, in the long run we can get (4 - ε) ↑↑ n points in n turns for any ε > 0.

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • *****
  • Online Online
  • Posts: 4130
  • Respect: +4524
    • 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.

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

  • Saboteur
  • *****
  • Online Online
  • Posts: 1015
  • Shuffle iT Username: LibraryAdventurer
  • Respect: +712
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 215
  • Respect: +190
    • 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: 9992
  • Shuffle iT Username: Awaclus
  • (。 ω 。`)
  • Respect: +10110
    • View Profile
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 Twitch channel where I stream DominionThe YouTube channel where I make musicDownload my band's albums for free

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 7865
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8959
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 7865
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8959
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 7865
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8959
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 5313
  • Shuffle iT Username: Seprix
  • Respect: +3045
    • View Profile
    • The Border Village
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
WOWIE I GUESS I HAVE TO DO EVERYTHING AROUND HERE

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 5313
  • Shuffle iT Username: Seprix
  • Respect: +3045
    • View Profile
    • The Border Village
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
WOWIE I GUESS I HAVE TO DO EVERYTHING AROUND HERE

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 5313
  • Shuffle iT Username: Seprix
  • Respect: +3045
    • View Profile
    • The Border Village
Re: Chrome Extension for f.ds!
« Reply #73 on: May 25, 2016, 05:31:59 pm »
0

Sorry for bothering you anyways.
Logged
WOWIE I GUESS I HAVE TO DO EVERYTHING AROUND HERE

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 7865
  • Shuffle iT Username: werothegreat
  • Prepare to be boarded!
  • Respect: +8959
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 5313
  • Shuffle iT Username: Seprix
  • Respect: +3045
    • View Profile
    • The Border Village
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
WOWIE I GUESS I HAVE TO DO EVERYTHING AROUND HERE

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 5313
  • Shuffle iT Username: Seprix
  • Respect: +3045
    • View Profile
    • The Border Village
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
WOWIE I GUESS I HAVE TO DO EVERYTHING AROUND HERE

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 5313
  • Shuffle iT Username: Seprix
  • Respect: +3045
    • View Profile
    • The Border Village
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
WOWIE I GUESS I HAVE TO DO EVERYTHING AROUND HERE

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 5313
  • Shuffle iT Username: Seprix
  • Respect: +3045
    • View Profile
    • The Border Village
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
WOWIE I GUESS I HAVE TO DO EVERYTHING AROUND HERE

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1431
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1363
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #88 on: June 15, 2016, 05:56:14 pm »
0

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
If you have a fan card you want to be created, just post about it here! I'd love to take a look at it.

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 1715
  • Respect: +1722
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 1715
  • Respect: +1722
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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

  • Saboteur
  • *****
  • Online Online
  • Posts: 1015
  • Shuffle iT Username: LibraryAdventurer
  • Respect: +712
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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

  • Saboteur
  • *****
  • Online Online
  • Posts: 1015
  • Shuffle iT Username: LibraryAdventurer
  • Respect: +712
    • 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: 5313
  • Shuffle iT Username: Seprix
  • Respect: +3045
    • View Profile
    • The Border Village
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
WOWIE I GUESS I HAVE TO DO EVERYTHING AROUND HERE

LibraryAdventurer

  • Saboteur
  • *****
  • Online Online
  • Posts: 1015
  • Shuffle iT Username: LibraryAdventurer
  • Respect: +712
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1431
  • Shuffle iT Username: ThetaSigma12
  • Respect: +1363
    • 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
If you have a fan card you want to be created, just post about it here! I'd love to take a look at it.

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 6968
  • Shuffle iT Username: Kirian
  • An Unbalanced Equation
  • Respect: +9095
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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

  • Conspirator
  • ****
  • Offline Offline
  • Posts: 239
  • Shuffle iT Username: Doom_Shark
  • Respect: +159
    • 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: 5313
  • Shuffle iT Username: Seprix
  • Respect: +3045
    • View Profile
    • The Border Village
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
WOWIE I GUESS I HAVE TO DO EVERYTHING AROUND HERE

heron

  • Jester
  • *****
  • Online Online
  • Posts: 985
  • Shuffle iT Username: heron
  • Respect: +1107
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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: 5313
  • Shuffle iT Username: Seprix
  • Respect: +3045
    • View Profile
    • The Border Village
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
WOWIE I GUESS I HAVE TO DO EVERYTHING AROUND HERE

Doom_Shark

  • Conspirator
  • ****
  • Offline Offline
  • Posts: 239
  • Shuffle iT Username: Doom_Shark
  • Respect: +159
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
  • ******
  • Online Online
  • Posts: 6464
  • Respect: +7113
    • 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
Pages: 1 2 3 ... 5 [All]
 

Page created in 0.171 seconds with 20 queries.