Well thats good to know. So now I need them to fix that and there sync thing so I don't have to re-install chrome every few weeks so it will sync again.
Scry will not work currently with Firefox 5. There is no ifs, ands, or buts, Scry will just not function on Firefox 5. There is nothing I can do in code to get this to work. I have sent a PM to Hannes about the problem and hopefully he and I can come up with a solution.
Until then, Firefox 4 and Chrome will continue to work without issue. I have not marked Scry as Firefox 5 compatible in the add-on gallery so if you update from Firefox 4 to Firefox 5 Scry will be disabled.
I wish this issue could be easily resolved but that is not possible.
Firefox 5 tightened up restrictions on what are called cross-origin requests (COR). A COR is a bit of JavaScript that calls out from one domain, such as mtgsalvation.com, to another, such as magiccards.info. For security purposes these requests are often blocked to prevent malicious scripts from doing bad stuff without user input.
Scry, as well as many other mash-up extensions, makes heavy use of CORs. A request has to go to magiccards.info to get the card image and Oracle text and another request goes to the appropriate pricing provider. If the browser blocks a COR then that part of the code won't work.
Getting Firefox 5 to work with CORs requires action on the server and not the client (in this case Scry). The server must add some information to the response header for the browser to pass the data onto the extension.
I've contacted the required parties about this and hopefully something can be worked out quickly.
K, the only thing that Really REALLY bugs me about Scry, is I've got my settings to This:
Expand:Y
Delay: Always Expand
Prefetch:Y
HideDelat: Long
Prices:Y
Provider:BLP
IMGSz: Small
Theme:Blue
Abled: All websites listed
And the thing STILL has issues, But only with the hide delay. some cards i'll hover over and it'll stay up for as long as i need to read the Oracletext and to look at the Art, but other times It instanhides it and i have to click on the card name and open up Magiccards.info
My only gripe is that Long and Very Long dont have a part where it's just long enough to see all the info i need, and Very Long the popupexpand stays there for ****ING EVER. Making it difficult to navigate. I dont have a mouse, sadly so i'm stuck using my keyboard and built in laptop mouse. And it's aggrevating. Nis, i know you read these... And i thank you for your hard work, but is there a way to add another "delay" length, or to stop the instahide that Long does automatically? Because it's annoying... I dont mind it, but after 10+ cards or trying to read the same card 6+ times because it autohides is just sad. and makes me sad.
Private Mod Note
():
Rollback Post to RevisionRollBack
Ravarshi Kashaku, Ancient Dragon of the Darkened Realms;
The Merciless Lord of Torture, Permanently Bound To: ">[THE PACK] 11/5/63 - 11/25/09 Goodbye mom, i'll always love you...
some cards i'll hover over and it'll stay up for as long as i need to read the Oracletext and to look at the Art, but other times It instanhides it and i have to click on the card name and open up Magiccards.info
I've been looking into this. There's a situation where you can cause a hiding timeout to begin looping until you leave the link for a few seconds. Odd and incredibly frustrating.
You can customize the hide timeout more than just what is in the options page. The method varies by browser so choose the appropriate box. Note that changing settings this way can break things if you're not careful and any changes might get overwritten the next time you open the Scry options page.
Type about:config in the URL bar. Accept any warnings.
Type scry in the filter bar. You should see all the Scry settings.
Look for extensions.scry.hideDelay. You can change its value to some number. Longer values mean a longer time before the popup hides on mouseout. Time is in milliseconds; Long sets it to 2000 (2 seconds) and Very Long sets it to 3000 (3 seconds).
Reload any Scry'd pages.
Type chrome://extensions in the URL bar. The extensions page should open.
Enable Developer mode by clicking the Developer mode link on the right side of the page.
Click the background.html link under the Scry listing. The Developer Tools popup should open.
In the Developer Tools popup click on the Resources tab.
Click on the only entry under Local Storage. It should look like a random string of letters.
Look for hide-delay. You can change its value to some number. Longer values mean a longer time before the popup hides on mouseout. Time is in milliseconds; Long sets it to 2000 (2 seconds) and Very Long sets it to 3000 (3 seconds).
Reload any Scry'd pages.
Update on Firefox 5: Frankly, no update. I still haven't heard back from Hannes about making magiccards.info compatible. I'm probably going to have to switch to a different Oracle text provider. I haven't had much time to do anything about this recently since I've been swamped with other work, though.
Update on Firefox 5: Frankly, no update. I still haven't heard back from Hannes about making magiccards.info compatible. I'm probably going to have to switch to a different Oracle text provider. I haven't had much time to do anything about this recently since I've been swamped with other work, though.
Have you considered switching Scry over to using a local copy of Oracle/images? Of course, this adds quite a few more complications, but some benefits such as faster access times. Oh yeah, you might get sued :cool2:.
Private Mod Note
():
Rollback Post to RevisionRollBack
Divide & Conquer Card Shuffler
Divide & Conquer is an Android app that completely shuffles your real deck of cards. It's great for unwieldy decks (Battle of Wits, Commander, etc.) and the paranoid thorough 40/60-card player. Check it out!
Have you considered switching Scry over to using a local copy of Oracle/images? Of course, this adds quite a few more complications, but some benefits such as faster access times. Oh yeah, you might get sued :cool2:.
Besides the legality there's also some technical issues with that. Leaving aside images, the full Oracle database is a few megabytes in size. Also I'd have to index the entire thing and work out pulling the information from that index. It's definitely something that would drastically increase the complexity and might not even be feasible on Chrome (what an extension can do on Chrome is pretty restricted).
Nice idea and would definitely solve a lot of pitfalls, but not really doable at the moment.
I have been in touch with Nis and hopefully we have resolved all the issues. Sorry for taking a while to get this done, but I am definitely in favor of this extension! Thanks Nis!
My one pet peeve is sometimes when it won't show the price on the popup even when the card shown has a price on magiccards.info
Just added set codes for M12 and lots of special sets. Will be in next release which should hopefully be very soon.
EDIT: New version released. 1.6.3 is out now and adds Firefox 5 support. Some things might not be quite right so consider this release a stopgap to get core functionality out there.
EDIT: Hmm, it seems that the link in your sig still goes to 1.6.2, so I can't use it with Firefox 5.0 quite yet. No worries, I'll have another look later.
Mozilla counts the last reviewed version as the latest version. Unreviewed versions, which 1.6.3 is, won't be counted until the review process is complete. Seems silly when changes between versions are minor.
1.7.0 has been released. This is mostly a maintenance release that doesn't add any forward facing features. Rather it contains some substantial backend changes. Everything should work the same, but if you happen to come across something different let me know.
1.7.0 contains two overall changes:
First, there is now debug logging in certain places. This can be turned on and off through the backdoor preferences UIs. There isn't much reason to turn this on; it's mostly there to help me while I'm coding.
Second, everything is now namespaced. Scry hasn't really ever polluted the global JavaScript namespace since both Chrome and Jetpack run extensions in an isolated JavaScript container. That means any global variables and methods in Scry aren't available and won't conflict with anything anywhere else.
I've namespaced things, though, because it helps future compatibility. If for some reason a browser no longer isolates JS in an extension Scry won't pollute the global namespace. This will also help head off any issues when I nominate Scry for a full review on Firefox (which hopefully will be soon).
Type chrome://extensions in the URL bar. The extensions page should open.
Enable Developer mode by clicking the Developer mode link on the right side of the page.
Click the background.html link under the Scry listing. The Developer Tools popup should open.
In the Developer Tools popup click on the Resources tab.
Click on the only entry under Local Storage. It should look like a random string of letters.
Look for hide-delay. You can change its value to some number. Longer values mean a longer time before the popup hides on mouseout. Time is in milliseconds; Long sets it to 2000 (2 seconds) and Very Long sets it to 3000 (3 seconds).
Reload any Scry'd pages.
I got lost at about step 3, cant find a background.html link. I dont know how to continue so pointers are appreciated. and as always thank you Nis for your awesome work.
Private Mod Note
():
Rollback Post to RevisionRollBack
Ravarshi Kashaku, Ancient Dragon of the Darkened Realms;
The Merciless Lord of Torture, Permanently Bound To: ">[THE PACK] 11/5/63 - 11/25/09 Goodbye mom, i'll always love you...
Hey guys! Just wondering if there is any other database we can use for pictures for when magiccards.info is down (seems to be a lot lately <_<) Maybe have it toggle-able in the options?
Hey guys! Just wondering if there is any other database we can use for pictures for when magiccards.info is down (seems to be a lot lately <_<) Maybe have it toggle-able in the options?
I've been looking into this. There are some technical challenges I have to work through first:
Scry currently pulls the entire MCI page down and chops it up to rearrange the parts. Much of the layout in Scry is similar to MCI because the layout isn't changed much.
Making the Oracle provider customizable requires changes to how data is retrieved from MCI; the page would have to be pulled down and instead of being chopped up it would have to be parsed to put the relevant info in a particular format (that's currently what's going on with the pricing provider implementation actually).
Once the Oracle data is in a certain format it would then be used to construct the popup layout. This is actually what I really want to do in the future but the parsing part for MCI is so intimidating.
Alternative Oracle providers would need this same data massaging. If a provider presents its data in something like JSON or XML the massaging isn't too bad. If it's just HTML then scraping is the only option and that's difficult. Scry is currently scraping MCI but not as heavily as it could be.
Any alternative Oracle providers would need to add CORS headers to their response for Firefox 5. This isn't really a technical challenge for Scry but more of an ask and hope for cooperation.
Ideally Scry would hit its own server for the data. That would allow maximum flexibility and reduce external dependencies. I just don't have the money or time to setup such a system.
I'm certainly open to help with any of the above challenges. Configurable Oracle backends is on my wishlist; if i had more time I'd certainly get to work on it right away.
I'm certainly open to help with any of the above challenges.
It's quick 'n' dirty hack time! If you package Scry with the zipped Oracle text (only 476 KB) and a generic MCI page, at the very least you can serve up an "MCI down" image and the Oracle text inserted into the blank page. This should keep things relatively modular because the card popup part shouldn't notice anything out of the ordinary except some missing incidental pieces.
Private Mod Note
():
Rollback Post to RevisionRollBack
Divide & Conquer Card Shuffler
Divide & Conquer is an Android app that completely shuffles your real deck of cards. It's great for unwieldy decks (Battle of Wits, Commander, etc.) and the paranoid thorough 40/60-card player. Check it out!
1.7.1 has been released. Small update with two changes:
More sets for TCGPlayer have been mapped. Mostly promos and things like Duel Decks. If you find anything that is mapped incorrectly please let me know.
I've added a donation link the options page. No pressure on donations; it's just if you feel like it. I'm not going to make "donation" only versions of Scry that contain super special features so don't think this is any sort of harbinger.
is there any way to make it so the image loads above the cursor?
What do you mean? Do you want the popup to appear closer to the mouse pointer? It's certainly possible. Back when this was just a user script I fiddled with the distance a good bit to try and find one that wasn't too close nor too far away.
If this needs to be tweaked some more, though, I can look at it again.
[card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.
Scry will not work currently with Firefox 5. There is no ifs, ands, or buts, Scry will just not function on Firefox 5. There is nothing I can do in code to get this to work. I have sent a PM to Hannes about the problem and hopefully he and I can come up with a solution.
Until then, Firefox 4 and Chrome will continue to work without issue. I have not marked Scry as Firefox 5 compatible in the add-on gallery so if you update from Firefox 4 to Firefox 5 Scry will be disabled.
I wish this issue could be easily resolved but that is not possible.
Firefox 5 tightened up restrictions on what are called cross-origin requests (COR). A COR is a bit of JavaScript that calls out from one domain, such as mtgsalvation.com, to another, such as magiccards.info. For security purposes these requests are often blocked to prevent malicious scripts from doing bad stuff without user input.
Scry, as well as many other mash-up extensions, makes heavy use of CORs. A request has to go to magiccards.info to get the card image and Oracle text and another request goes to the appropriate pricing provider. If the browser blocks a COR then that part of the code won't work.
Getting Firefox 5 to work with CORs requires action on the server and not the client (in this case Scry). The server must add some information to the response header for the browser to pass the data onto the extension.
I've contacted the required parties about this and hopefully something can be worked out quickly.
[card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.
I have been doing some experimentation with Lord of Atlantis' card API but I just haven't had enough time to do anything substantial.
[card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.
Expand:Y
Delay: Always Expand
Prefetch:Y
HideDelat: Long
Prices:Y
Provider:BLP
IMGSz: Small
Theme:Blue
Abled: All websites listed
And the thing STILL has issues, But only with the hide delay. some cards i'll hover over and it'll stay up for as long as i need to read the Oracletext and to look at the Art, but other times It instanhides it and i have to click on the card name and open up Magiccards.info
My only gripe is that Long and Very Long dont have a part where it's just long enough to see all the info i need, and Very Long the popupexpand stays there for ****ING EVER. Making it difficult to navigate. I dont have a mouse, sadly so i'm stuck using my keyboard and built in laptop mouse. And it's aggrevating. Nis, i know you read these... And i thank you for your hard work, but is there a way to add another "delay" length, or to stop the instahide that Long does automatically? Because it's annoying... I dont mind it, but after 10+ cards or trying to read the same card 6+ times because it autohides is just sad. and makes me sad.
The Merciless Lord of Torture, Permanently Bound To: ">[THE PACK] 11/5/63 - 11/25/09 Goodbye mom, i'll always love you...
Tibalt & His Devils vs. Avacyn's Inquisitors
My EDH decklists
I've been looking into this. There's a situation where you can cause a hiding timeout to begin looping until you leave the link for a few seconds. Odd and incredibly frustrating.
You can customize the hide timeout more than just what is in the options page. The method varies by browser so choose the appropriate box. Note that changing settings this way can break things if you're not careful and any changes might get overwritten the next time you open the Scry options page.
Update on Firefox 5: Frankly, no update. I still haven't heard back from Hannes about making magiccards.info compatible. I'm probably going to have to switch to a different Oracle text provider. I haven't had much time to do anything about this recently since I've been swamped with other work, though.
[card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.
Have you considered switching Scry over to using a local copy of Oracle/images? Of course, this adds quite a few more complications, but some benefits such as faster access times. Oh yeah, you might get sued :cool2:.
Divide & Conquer is an Android app that completely shuffles your real deck of cards. It's great for unwieldy decks (Battle of Wits, Commander, etc.) and the
paranoidthorough 40/60-card player. Check it out!Besides the legality there's also some technical issues with that. Leaving aside images, the full Oracle database is a few megabytes in size. Also I'd have to index the entire thing and work out pulling the information from that index. It's definitely something that would drastically increase the complexity and might not even be feasible on Chrome (what an extension can do on Chrome is pretty restricted).
Nice idea and would definitely solve a lot of pitfalls, but not really doable at the moment.
[card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.
Not yet. I'm having to make some adjustments to Scry. Almost done.
[card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.
My one pet peeve is sometimes when it won't show the price on the popup even when the card shown has a price on magiccards.info
-Schtauffen
Scry! (rollover popups)
Modern: W Soul Sisters (WIP), GW Melira Pod (WIP)
Current EDH:
G Ezuri's Renegade Elves (thread)
BGW Ghave's Legion (thread)
WUB Sharuum, Artifact Savant
Just added set codes for M12 and lots of special sets. Will be in next release which should hopefully be very soon.
EDIT: New version released. 1.6.3 is out now and adds Firefox 5 support. Some things might not be quite right so consider this release a stopgap to get core functionality out there.
[card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.
I've updated the link in my signature. Here is a direct link.
Mozilla counts the last reviewed version as the latest version. Unreviewed versions, which 1.6.3 is, won't be counted until the review process is complete. Seems silly when changes between versions are minor.
[card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.
1.7.0 contains two overall changes:
First, there is now debug logging in certain places. This can be turned on and off through the backdoor preferences UIs. There isn't much reason to turn this on; it's mostly there to help me while I'm coding.
Second, everything is now namespaced. Scry hasn't really ever polluted the global JavaScript namespace since both Chrome and Jetpack run extensions in an isolated JavaScript container. That means any global variables and methods in Scry aren't available and won't conflict with anything anywhere else.
I've namespaced things, though, because it helps future compatibility. If for some reason a browser no longer isolates JS in an extension Scry won't pollute the global namespace. This will also help head off any issues when I nominate Scry for a full review on Firefox (which hopefully will be soon).
[card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.
I thought I fixed that.
Link in sig should now point to latest version (which might or might not be reviewed) and the direct link allows you to install directly.
[card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.
I got lost at about step 3, cant find a background.html link. I dont know how to continue so pointers are appreciated. and as always thank you Nis for your awesome work.
The Merciless Lord of Torture, Permanently Bound To: ">[THE PACK] 11/5/63 - 11/25/09 Goodbye mom, i'll always love you...
Tibalt & His Devils vs. Avacyn's Inquisitors
My EDH decklists
[card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.
Scry! (rollover popups)
Modern: W Soul Sisters (WIP), GW Melira Pod (WIP)
Current EDH:
G Ezuri's Renegade Elves (thread)
BGW Ghave's Legion (thread)
WUB Sharuum, Artifact Savant
I've been looking into this. There are some technical challenges I have to work through first:
Ideally Scry would hit its own server for the data. That would allow maximum flexibility and reduce external dependencies. I just don't have the money or time to setup such a system.
I'm certainly open to help with any of the above challenges. Configurable Oracle backends is on my wishlist; if i had more time I'd certainly get to work on it right away.
[card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.
It's quick 'n' dirty hack time! If you package Scry with the zipped Oracle text (only 476 KB) and a generic MCI page, at the very least you can serve up an "MCI down" image and the Oracle text inserted into the blank page. This should keep things relatively modular because the card popup part shouldn't notice anything out of the ordinary except some missing incidental pieces.
Divide & Conquer is an Android app that completely shuffles your real deck of cards. It's great for unwieldy decks (Battle of Wits, Commander, etc.) and the
paranoidthorough 40/60-card player. Check it out![card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.
I'll put it in my sig when I sicken of my ghave one
Scry! (rollover popups)
Modern: W Soul Sisters (WIP), GW Melira Pod (WIP)
Current EDH:
G Ezuri's Renegade Elves (thread)
BGW Ghave's Legion (thread)
WUB Sharuum, Artifact Savant
540 Peasant cube- Gold EditionSomething SpicyWhat do you mean? Do you want the popup to appear closer to the mouse pointer? It's certainly possible. Back when this was just a user script I fiddled with the distance a good bit to try and find one that wasn't too close nor too far away.
If this needs to be tweaked some more, though, I can look at it again.
[card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.