Dominion Strategy Forum

Please login or register.

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

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

0 Members and 1 Guest are viewing this topic.

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7756
  • Respect: +8608
    • 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: 7756
  • Respect: +8608
    • 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

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

Trying again
Logged

LittleFish

  • Conspirator
  • ****
  • Offline Offline
  • Posts: 202
  • Respect: +49
    • 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: 7756
  • Respect: +8608
    • 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: 7756
  • Respect: +8608
    • View Profile
Re: Chrome Extension for f.ds!
« Reply #180 on: December 19, 2018, 04:15:54 pm »
0

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

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

LibraryAdventurer

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1233
  • Shuffle iT Username: LibraryAdventurer
  • Respect: +944
    • 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: 7756
  • Respect: +8608
    • 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: 7756
  • Respect: +8608
    • 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: 7756
  • Respect: +8608
    • 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: 7756
  • Respect: +8608
    • 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: 3359
  • Shuffle iT Username: sudgy
  • It's pronounced "SOO-jee"
  • Respect: +2615
    • 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: 7756
  • Respect: +8608
    • 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

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1233
  • Shuffle iT Username: LibraryAdventurer
  • Respect: +944
    • 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: 7756
  • Respect: +8608
    • 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: 7756
  • Respect: +8608
    • 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: 7756
  • Respect: +8608
    • 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
Pages: 1 ... 6 7 [8]  All
 

Page created in 0.085 seconds with 21 queries.