Dominion Strategy Forum

Please login or register.

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

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

0 Members and 1 Guest are viewing this topic.

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9701
  • Respect: +10741
    • 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: 9701
  • Respect: +10741
    • 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: 9701
  • Respect: +10741
    • 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: 9701
  • Respect: +10741
    • 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: 1794
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1674
    • 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: 9701
  • Respect: +10741
    • 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: 9701
  • Respect: +10741
    • 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: 9701
  • Respect: +10741
    • 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: 9701
  • Respect: +10741
    • 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: +2706
    • 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: 9701
  • Respect: +10741
    • 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: 1794
  • Shuffle iT Username: LibraryAdventurer
  • I wish my username had the links like it once did.
  • Respect: +1674
    • 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: 9701
  • Respect: +10741
    • 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: 9701
  • Respect: +10741
    • 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: 9701
  • Respect: +10741
    • 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: 9701
  • Respect: +10741
    • 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: +9625
    • 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: 9701
  • Respect: +10741
    • 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: +9625
    • 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: 9701
  • Respect: +10741
    • 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: 9701
  • Respect: +10741
    • 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: 9701
  • Respect: +10741
    • 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: 9701
  • Respect: +10741
    • 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
Pages: 1 ... 6 7 [8] 9  All
 

Page created in 0.305 seconds with 21 queries.