Auto Zoom

sobota, 12 grudnia 2009

Dążenie do doskonałości

Ostatnio pisałem o rozszerzeniach (Chrome Rozszerzenia). Instalacja tych kilku drobiazgów, pozwoliła wyeliminować prawie wszystkie, przypadłości przeglądarki…

Poza jedną

Wyświetlany tekst był zbyt mały, a konieczność ciągłego powiększania odwiedzanych stron irytująca.

Odpowiednie rozwiązanie miałem już wcześniej w postaci prymitywnego skryptu Greasemonkey. Pozostało tylko dokonać kilka drobnych przeróbek, takich jak możliwość zmiany stopnia powiększenia i zapamiętywanie ustawień.

W efekcie powstało moje pierwsze rozszerzenie Google Chrome.

Oto rezultat


Auto Zoom

Krótki opis

Na dziś Auto Zoom można obsługiwać tylko za pomocą myszki, sprawia też pewne problemy na stronach takich jak Google Reader.

Zachęcam do testowania

… i zapraszam wkrótce, postaram się napisać krótki tutorial na temat pisania rozszerzeń.

Etykiety: , , ,

Red 01:00

Komentarze

Anonymous Anonimowy
nie działa na stronach https :(
Blogger Red
Rozszerzenie działa na stronach szyfrowanych (https), ma natomiast problemy z ramkami (iframe). Przykładem jest tu Gmail.

Niestety, zgodnie ze specyfikacją CSS style nie mają wpływu na wygląd strony podrzędnej – dotyczy to również skalowania.

Doraźnym rozwiązaniem jest mechanizm pluginów (page fixes) ingerujących w te konkretne strony. Dotychczas zrobiłem w ten sposób obsługę stron docs.google.com / mail.google.com i www.google.com/reader.

Być może w przyszłości uda mi się znaleźć lepsze rozwiązanie, mam dwa pomysły, ale nie chcę zapeszać.
Hello.

We develop Ecwid, it is an AJAX shopping cart (http://www.ecwid.com). We faced with an issue with the AutoZoom extension and we would appreciate if you could look into it.
Our customers complain that If they use the Auto Zoom extension they are unable to use Drag and Drop feature.

Here are the steps to reproduce the issue:
1. Install and enable the Auto Zoom extension.
2. Open the page with Ecwid (for example http://www.ecwid.com/demo-frontend.html#ecwid:category=1002&mode=category&offset=0&sort=normal)
3. Zoom the page.
4. Try to drag a product to the basket.

The result: you can't drop a product to the basket. But if you switch the extension off the feature works fine.

Could you please check your extension?

Thank you.
Blogger Red
Sorry for late reply, but summer is not a good season for using computer.

Problems with drag & drop are known to me for a long time. Unfortunately, as the author of the extension, I am not able to fix bugs in Chrome and Webkit Engine.

There lot bug reports. Here are some of the most important (for me):


Issue 26466: Mouse clicks on the plugins are not scaled Properly When page is zoomed

Issue 30583: Zoom level get / set API

Issue 8947: Need a text-only zoom

Unfortunately, most of them have status "WontFix", which limits my possibilities in this case.

Recently I experimented with an alternative mechanism for scaling, I shall return to this shortly.

(There are also chances that Chrome 6 will finally, make this extension unnecessary)
Blogger Red
Good news.

Bug 30583 has been reopened. With this API AutoZoom will be able to use native zoom, without any hacks.
Anonymous Anonimowy
Nie wiem czemu, ale nie działa z http://new.meteo.pl. Po wybraniu modelu, np. UM obrazek (mapa) się źle skaluje. Co ciekawe: wbudowany zoom chrome działa OK.
Anonymous Anonimowy
Hi, there's a problem when I have some zoom applied in Atlassian Confluence. When I want to write a comment, every char i write in "text area" then enlarges the area, so it shortly becomes unusable. Could you please look at it? Thanks.

Prześlij komentarz

Archiwum

Subskrybuj

RSS / Atom