å®éã«ã¯ããªãHabréããªãã¢ã³ããã€ããšæºåž¯é»è©±ã§ãªãã©ãã§ã¯ãªãããã«ã¹ã¿ã ã¹ã¿ã€ã«ã«ã€ããŠã®èšäºãã æ·±å»ãªè³ªåããããŸããããŠãŒã¶ãŒã¹ã¿ã€ã«ã¯ã©ãã§ããAndroidã®ã©ã®ãã©ãŠã¶ãŒã§ãåäœããŸããïŒ ãããã4ã€ã®æåã®äžã§æãéèŠãªéšåçç± - ã¢ã³ããã€ãããããŠèšäº - ããã«ã€ããŠã
Androidã«ã¯ããã€ã¹ããããŸããã ããã§ããæè¿ãªãªãŒã¹ãããã¢ãã€ã«Androidããã€ã¹çšOperaã§ã®äœæ¥æ¹æ³ã«ã€ããŠããã©ãŠã¶ã«æ £ããã¹ã¯ãªãŒã³ã·ã§ããä»ãã®èšäºãæžããŠãäžçäžã«äŒããçç±ããããŸããïŒã¯ããGoogleæ€çŽ¢ã§ã¯Androidã®ãŠãŒã¶ãŒã¹ã¿ã€ã«ã«é¢ããåºçç©ããŸã£ãããªãããšã瀺ããŠããŸãïŒ ã
ç æŽ
ç§ãã¡ã¯å§ãã衚瀺ããããµã€ãã®ãã¹ãŠã®æ©èœã®ããã®æ倧éã®å¯èœæ§ããµããŒãããAndroidäžã§Habraã®ããã®ç¹å¥ãªã¢ããªã±ãŒã·ã§ã³ãäœæããããšããè©Šã¿ãã 以åã¯Habrãã¢ãã€ã«ãã©ãŠã¶å šè¬ïŒ m.habr.ru ïŒã«é©å¿ããŠããããšã¯æããã§ãããå€ãã®å¶éããããŸããããã®äž»ãªçç±ã¯ãèªã¿åãã¯ã§ããããã°ã€ã³ãæžã蟌ã¿ãã§ããªãããšã§ãã
ãã®ãããªè©Šã¿ãèŠãŠãã¢ãã€ã«ãã©ãŠã¶ãŒïŒ Opera ã Firefox ã... FF Mobã4b4ã®ã¬ãã¥ãŒ ïŒã®éçºååãç¥ã£ãã®ã§ãã³ã¡ã³ãã«ã«ã¹ã¿ã ã¹ã¿ã€ã«ã䜿çšããããšãææ¡ããŸããã ç¹ã«Habrã«ãšã£ãŠã
èå³æ·±ã察話ãç¬èªã®æ¹æ³ã§è¡ãããäœãçµãããŸããã§ããã 誰ãããæããã«ãã¹ã¿ã€ã«ã§ãããå®è¡ããããã«ãããªãã®æºåž¯é»è©±ã§ãªãã©ã調æ»ããŸããã§ããã ãããã£ãŠãå®å šãªCSSã«å¯Ÿããã¢ãã€ã«ãã©ãŠã¶ã®æºåç¶æ³ã«é¢ãã質åãžã®åçãåŸãã«ã¯ããã®è³ªåãåå¥ã«èª¿æ»ããå¿ èŠããããŸãã
ãããããšã³ãã£ã³ã°ã¯ç»å ŽããITã®ããŒãã«é¢ããæ·±å»ãªãµã€ãã«ã¯é©ãã¹ããã®ã§ããã äžéšã®èªè ã¯ãAndroidã®ã¢ããªã±ãŒã·ã§ã³ãšããŠãŒã¶ãŒã¹ã¿ã€ã«ããæµãïŒOSéã®ããªããŒã®ãããªãã®ïŒã§ãããœãªã¥ãŒã·ã§ã³ã®ãããã·ã¥ããšãæããã«ãæµãã«å¯Ÿããç§ã®å察ãæ€èšããŸããã
åŒçšïŒ habrahabr.ru/blogs/android/112788/#comment_3614652
ãããªãã¯chtoliäžæ¯ã§ããïŒ Androidçšã®ããã°ã©ã ãããã§ã¯ãAndroidã§Habrã®æŽæ°ãé»è©±ããèªã¿åãæ¹æ³ã«ã€ããŠèª¬æããŸãã Androidã«ã¯ãæšæºã®Webkitãã©ãŠã¶ãŒãopera mobile 10ãopera miniãdolphinãfirefoxãå€§å¹ ã«åæžãããŠããŸãã StylishãŸãã¯Habr Netbookã¢ããªã³ã¯ã©ãã«ããããŸããã ãªãããªãã¯å£ã®äžã§æ³¡ã§ããªãã®ãããã¯ãæŒããŠããã®ãåãããŸãããïŒã
Firefoxã§ãã§ã«æ·»å ããããšã«ãã£ãŠãšã®Greasemonkeyãã€ã³ã¹ããŒã«ããyuzerstileyå¿ èŠæ§ã®ããã«ãµããŒãããããšãã§ããŸããã ãã ãããã®èªè ã¯è³ªåã«éåžžã«é©åãã€æçšã«åçããŸããã ããããæ§ãšç¢ã§æŠè£ ããä»ã®äººãã¡ã¯ãæŠå Žã«ä¹ãåºããŸãããç¹å®ã®å²åïŒæ°äººã5人ïŒã®ãŠãŒã¶ãŒã¯ãAndroidã§äœæ¥ããããã®ãœãªã¥ãŒã·ã§ã³ãšãœãªã¥ãŒã·ã§ã³ã確èªããããã®æ瀺çãªãªã¯ãšã¹ãã衚瀺ããããšãã欲æ±ã®ããã«ã«ã«ãã«ãã€ãã¹ãå ¥ããããšã決ããŸããïŒITãªãœãŒã¹ã®å¥åŠãªããšã§ããïŒïŒãããŠãææ¡ã«å¯Ÿãã圌ãã®æ 床ãçµµã®ããã«é«ãè©äŸ¡ããŸããã
ç§ã®åŒæ°ïŒ habrahabr.ru/blogs/android/112788/#comment_3615924
ãAndroidã®ã¢ããªã±ãŒã·ã§ã³ã«å¯ŸãããŠãŒã¶ãŒã¹ã¿ã€ã«ã®å©ç¹-
1ïŒã¢ããªã±ãŒã·ã§ã³ãäœæããã³ãããã°ããå¿ èŠã¯ãããŸããã
2ïŒHabréã®ãªãã¬ãŒã·ã§ã³ã®åŒã³åºãã®JSé¢æ°ã«ã¢ã¿ããããããããŒãžã解æããŠå¿ èŠãªæ å ±ãã¹ã¯ã©ããããŠããå®è¡ããå¿ èŠã¯ãããŸããã
3ïŒç§ãã¡ã¯Habrã®ã¹ã¿ã€ã«ã®ã¿ã«ãã ãããŸãããçµéšãã5ãæã®äœ¿çšã瀺ãããŠããããã«ãã¹ã¿ã€ã«ãå°ãå€æŽããããšã¯ãŸãã§ãã
4ïŒHabrã®ãã¹ãŠã®æ©èœã¯ãéåžžã®å Žæã§å©çšã§ããŸãã
ãã®ãããHabréã®ã¹ã¿ã€ã«ãAndroidåãã§ããããšã確èªããã ãã§ãªããå¿åã®èªè ã«ç¡éªæ°ããèŠããããã€ãã¹ãåãæ»ããããšãã§ããŸãã æªããªããéäŒãã奪ããå Žå - åé¡ã解決ããããã®ãšããŸãã
Androidããã€ã¹ããªãå Žåã«Androidã§Habrã衚瀺ããããšã«èå³ãããã®ã¯ãªãã§ããïŒ æŽå²çãªçç±ãããã€ã³ã¿ãŒããããæäœããã®ã«ååãªãã¹ã¯ãããã³ã³ãã¥ãŒã¿ãŒããããŸãã ããŒã¿ãã«ããã€ã¹ã®å¿ èŠã¯ãããŸããã§ãããããããã®ãã©ãŠã¶ãŒã¯ãŸã ãã¢ããªãã£ãã®æ®µéã«éããŠããªãããšãããã£ãŠããŸãããã€ãŸããCSSãšãããããJSãå®å šã«ãµããŒãããŠããªããšããäžå¹³çãªç¹æ§ã§ãã 以äžã¯ãOperaïŒ10.1 mobãBetaïŒãšFirefoxïŒ4.0 mobãBetaïŒã®ææ°ããŒãžã§ã³ã§ããããããã®æ代ã®å°æ¥ãé¡ã£ãŠããŸãã ãããŠãã§ããã ãæ©ãåé¡ã¯ãAndroidäžã§é²èŠ§å¿ããŠãç§ã¯æ¬æ Œçãªãã©ãŠã¶ãããããšãç¥ã£ãŠããŸãã
ã³ã³ãã¥ãŒã¿ãšãã¥ã¬ãŒã¿ïŒäžçœ®ããã¹ãŠã®Android SDKããã³AVDãããŒãžã£æã£ãŠ ã èšäºèª¿ç¯å¯èœæ§ãšããã©ãŒãã³ã¹ã®ã¹ã¿ã€ã«ã確ä¿ããããã«ãïŒã
ãã©ãŠã¶ã€ã³ã¹ããŒã«ã¯ãšã¹ã
ãšãã¥ã¬ãŒã¿ãŒã®ã€ã³ã¹ããŒã«ã¯ãWin XPã§åé¡ãªãçµäºããŸããã ããŠã³ããŒãããZipã¢ãŒã«ã€ãããèµ·åãããŸãã
..ïŒå³1ïŒ
OperaãŠã§ããµã€ãã®ãªã³ã¯ããæäŸãããŠãããã©ãŠã¶ã®å®è£ ãéžæããŠã¿ãŸãããã ãµã€ãã«ã¢ã¯ã»ã¹ããŠã¢ãã€ã«ãã©ãŠã¶ããããŠã³ããŒããããããšãããšãOperaãµã€ãã¯m.opera.comã§ãšãã¥ã¬ãŒããããAndroid 2.3.1ãæäŸããOpera Miniã®ããŠã³ããŒããæäŸããŸãããããã¯å¿ èŠãããŸããã å·ŠåŽã®å¥ã®ãªã³ã¯ïŒãPCçµç±ã§ããŠã³ããŒããïŒããé»è©±ïŒç»é¢å¹ 480pxã§ãå¯èœãªéãæãå€ãOSããµããŒãïŒãéžæããå¿ èŠããããŸããã Motorola Milestone / Droid / A853ã§ããããšãå€æããŸããã
ãã«ãã€ã³ãã©ãŠã¶ã§ã¯ããŸãæ©èœããªãããããããŠã³ãªã¹ããã¹ã¯ããŒã«ããããããçŽæ¥ãªã³ã¯ãä»ããŠãšãã¥ã¬ãŒã¿çµç±ã§ããŒãžãããŠã³ããŒãããæ¹ãç°¡åã§ããããšãå€æããŸããã
http://www.opera.com/mobile/download/motorola/milestone/
次ã®ããã¹ããå«ãããŒãžã衚瀺ãããŸãã
ã¢ãããŒã©ãã€ã«ã¹ããŒã³/ããã€ã/ A853
ããã€ã¹ãµããŒã
Opera Softwareãå®æœãããã¹ãã«åºã¥ããŠããã®ããã€ã¹ã¯Opera Mini 5.1ããã³Opera Mobile 10.1ããŒã¿ããµããŒãããŠããŸãã
Opera Miniã¯5.1ãããŠã³ããŒã
ã¢ã³ããã€ã-åœé
Opera Mobile 10.1ããŒã¿çãããŠã³ããŒã
Android 1.6以é-åœé
çŽ æŽãããã ãã®ããŒãžã§ã¯ãããŠã³ããŒããããOperaã¯ããŒãžã§ã³1.6ããAndroidã§åäœãããšè¿°ã¹ãŠããŸãããçŸåšã¯ããŒãžã§ã³2.3.1ããšãã¥ã¬ãŒãããŠããŸãã
Opera Mobile 10.1ããŒã¿çãããŠã³ããŒãããŸããããŠã³ããŒãã«ã¯ããµã€ãºã6.63 MBã®Opera_Mobile_10.1_beta.apkãã¡ã€ã«ããããŸãã ã€ã³ã¹ããŒã«ã«åæããŸãã å§ããŸãã ããŒãžãšãã©ãŠã¶ã®ã³ã³ãããŒã«ããã«ã衚瀺ãããŸãã ãã®ãããã¯ã©ã€ã¢ã³ãã¯ç²åŸããŸããããããã€ã¹ã¢ãã«ãšå®å šã«ã¯äžèŽããŸããã§ããïŒãšãã¥ã¬ãŒã¿ãŒã«ã¯ã©ã®ã¢ãã«ããããŸããïŒ-ãªãïŒã ã¡ã¢ãªãŒãå æ-20.5 Mb; ããŒã¿ã¯çŽ2 MBå¢ããŸãããããªã¥ãŒã ã¯ããŸããŸã§ãã
..ïŒå³2ïŒ
ããã©ã«ãã®ãã©ã³ããµã€ãºã140ïŒ ã§ã¯ãªã100ïŒ ã«èšå®ããŠãæãé«å¯åºŠã®ããã¹ãããã¹ãããŸãïŒãã£ãŒã«ãå¹ ãèš±ãã°ããã€ã§ããã©ã³ããå¢ããããšãã§ããŸãïŒã ããã«ãå¹ ã240ãã¯ã»ã«ã®ããã€ã¹ãå€æ°ããããããã¯ãã¹ããµãŒã¯ã«ã«ã¯å«ãŸããŠããªãããããäžè¬çã§ããããšã«æ³šæããå¿ èŠããããŸãã èšãæããã°ãå®éšã¯ãå°ããªå®éã®ç»é¢ã§ã®æåã®èªã¿ãããããããã¬ã€ã¢ãŠããããã¯ãšCSSã«ãŒã«ã®æ£ç¢ºæ§ã«é¢å¿ããããŸãã å®éã®ç»é¢ã®ãã©ã³ããµã€ãºã¯ãã€ã§ãå¢ããããšãã§ããŸãã
ã¯ã€ãã¯èµ·åããã«ã«habr.ruéå§ããŒãžãå ¥åããŠãå€èŠ³ã確èªããŸãã ç§ã¯éåžžã«é·ãæéåŸ ããªããã°ãªããŸããã§ããã ããããããŒãžãšãã©ãŠã¶ããã³ã°ãããããã®ããã«äžå®å šãªããŒãïŒãŸãã¯ãããŒã¿ãã®çµæïŒã瀺ããŠããå¯èœæ§ããããŸãã ãåæ¢ããã¯ãªãã¯ããŸãïŒäžã®XïŒã ãµã€ãã®ããŒãžã衚瀺ãããŸãã
äºæ³ã©ãããæšæºããŒãžãèªãããšã¯éåžžã«äžäŸ¿ã§ãåºç¯ã§ãã ãŠã£ã³ããŠã®å¹ ãšãã©ã³ããµã€ãºã®ã¹ã¿ã€ã«ã調æŽããå¿ èŠããããŸãã HabrããŒãžã®æ£ããå€èŠ³ã¯ããã§ã«éæ¥çã«ããŒãžã®ã¹ã¿ã€ã«ãã»ãšãã©æ£ãã解éãããŠããããšã瀺åããŠããŸããã€ãŸããOperaã®CSSããŒãµãŒã¯å®å šã§ãã ã©ã®ããã-ç§ãã¡ã¯ãŠãŒã¶ãŒã¹ã¿ã€ã«ãèŠãããšã§åŠã³ãŸãã ãã¡ããããã©ãŠã¶ããšã«äœããå€æŽããå¿ èŠããããŸãããããã§ã¯Operaã®è¿èŠªè ã®ããã«ããã§ã«äœæãããŠããŸãã
..ïŒå³3ïŒ1,2,3ïŒïŒ
ãã©ãŠã¶ãŒèšå®ãæäœãããšããšãã¥ã¬ãŒããããšãã«ããã»ããµãŒã«å€§ããªè² è·ãããããŸãã ã¢ããªã±ãŒã·ã§ã³ãããªãŒãºããŠãããããšãã¥ã¬ãŒã¿ããã³ã°ããŠãããã確èªããã®ã¯ããã«å°é£ã§ãã æåŸã«ããšãã¥ã¬ãŒã¿ãŒã¯Operaãå¿çããŠããªããšå ±åããŸãã;ã¢ããªã±ãŒã·ã§ã³ãåé€ããªããã°ãªããŸããã§ããã ããããããŒã¿çã®çµæãã
èšå®ã§ãã¢ãã€ã«ã衚瀺ã¢ãŒããæå¹ã«ãããšãèŠããããªããŸãïŒå³3-3ãå³ç«¯ïŒã å®éã«ã¯ãåãããšãå³åŽã®åãåŒã£èŸŒãããšã¹ã¿ã€ãªã¹ãã«ãªãããéæãããŸãã ãã¥ãŒãªã¹ãã£ãã¯ãªã¢ã«ãŽãªãºã ã«åŸã£ãŠãããè¡ããããå¿ èŠãªè¡šç€ºã¹ã¿ã€ã«ãäœæããŸããã
ãŠãŒã¶ãŒã¹ã¿ã€ã«ãèšå®ããããã®ã¯ãšã¹ã
ãŠãŒã¶ãŒã¹ã¿ã€ã«ãã©ãŒã©ã ãããã«ã€ããŠè¿°ã¹ãŠããããšã¯æ¬¡ã®ãšããã§ãïŒ2010幎8æïŒã
1.ã¢ã³ããã€ãæºåž¯åãã®Firefoxã¢ããªã¯ãŸã ãããŸãã
2.ã¢ãã€ã«çã®OperaããµããŒãããŠãããšã¯æããªãã
ããã«ãã©ãŠã¶ã®èšå®ãæ瀺ãããã®ããŒãžã®ãªãã©ãžã®è§£æ±ºçãæ¢ããŸããconfigã
ïŒ2çªç®ã®ã¿ããäœæãããšãOperaã¯åã³é·æéããªãŒãºããŸããïŒ
ãªãã©ãéããŸãïŒconfig
ïŒèµ€ãæ°åã¯ãã¹ã¿ã€ã«ãã«ã¹ã¿ãã€ãºããããã«æ³šæããå¿ èŠããããã©ã¡ãŒã¿ãŒã瀺ããŠããŸããïŒ
..ïŒå³4ïŒ1,2,3ïŒïŒ
ãŠãŒã¶ãŒã¹ã¿ã€ã«ã®ãã¹ã«é¢é£ãããã®ãæ¢ããŠããŸãã ãªãªãšã³ããŒã·ã§ã³ã«ã€ããŠã¯ããBig Operaããšåæ§ã®äœãããã¹ã¯ããŒã«ãããããã¹ãã®90ïŒ ã®é åã®èšå®ã«ãããŸãïŒã»ã¯ã·ã§ã³User Prefsã以äžãUser Style Info FileãïŒã ç¹å¥ãªãŠã£ã³ããŠã§ããŒãžãç°¡åã«æ€çŽ¢ã§ããŸã-Operaã¯èŠã€ãã£ãããŒãšå¿ èŠãªä¿åãã¿ã³ãæäŸããŸãã
æ€çŽ¢ã«é¢ããåæ§ã®ãããã¯ããŠãŒã¶ãŒCSSãïŒãã§ãã¯æžã¿ïŒã衚瀺ãããŸãïŒäžéšã®å³4-3ïŒã
åŠçããå¿ èŠã®ããæ§æãã¡ã€ã«ã®ãã¹ã衚瀺ãããŸãïŒ/data/data/com.opera.browser/opera/profiles/smartphone/styles/user/ïŒäžéšã®ãã£ã¬ã¯ããªãšãã¡ã€ã«ã¯ãã©ãŠã¶ãŒããçŽæ¥è¡šç€ºãããªããããããããã®ãã¹ïŒ
æåŸã«ãããŒã«ã«CSSãã¡ã€ã«ãžã®ãã¹ã ïŒ... /ã¹ããŒããã©ã³/ã¹ã¿ã€ã«/ user.cssïŒ
ãã©ãŠã¶ã®åæé ä¿¡ã§ã¯ããã¹ã¯ç»é²ãããŸããããã¡ã€ã«èªäœã¯ååšããŸããïŒå³5-1ïŒã
ãã¹ãŠ; ãã®ãã¹ã¯ãã©ãŠã¶èšå®ã«ç»é²ããããŠãŒã¶ãŒã¹ã¿ã€ã«ãæå¹ã«ãªã£ãŠãããããHabrã®ã¹ã¿ã€ã«ã·ãŒããèšè¿°ããå¿ èŠããããŸã
1ïŒãªãã©10.1ã¢ãã€ã«ãã©ãŠã¶ã§ã®äœæ¥CSSããŒãµã®æçšæ§ãæ€èšŒããŸãã
2ïŒã¢ãã€ã«ã¢ãŒããªãã§ãå¿ èŠãªã¹ã¿ã€ã«ã§HabrãèŠãã
3ïŒAndroidçšã®ã«ã¹ã¿ã ã¢ããªã±ãŒã·ã§ã³ãèšè¿°ããããšãªãããã¹ãŠã®æ©èœãHabraã®ããã«ã«æŽ»çšããŸãã
ãã®ç¬éãããæšæž¬ãæ£ããããšãæããã«ãªãããšãã¥ã¬ãŒã¿ã®ã€ã³ã¹ããŒã«ãOpera Mobileã®ããŠã³ããŒãããœãªã¥ãŒã·ã§ã³ã®æ€çŽ¢ã«è²»ãããæéã¯ãã©ã¹ã®çµæããããããŸãã
ãªãã©ãšå®è£ ãããŠãŒã¶ã¹ã¯ãªããïŒäžã®å³4-3ïŒããããŸãã
次ã«ãæºåãããã¹ã¿ã€ã«ãã¡ã€ã«ãå€éšããååŸããŠããã¡ã€ã«ã·ã¹ãã ã®é©åãªå Žæã«é 眮ããå¿ èŠããããŸãããã®ãã¹ã¯ãoperaïŒconfigã® " Local CSS File "ãã£ãŒã«ãã«æžã蟌ãŸããŸãã
OperaãSDã«ãŒãïŒããããOCããŒãžã§ã³2.2+ïŒã«è»¢éãããšãã¡ã¢ãªïŒ20 MBïŒã解æŸãããŸãã ãã ããããŒã¿ã¯å éšã¡ã¢ãªã«æ®ããŸãã äœããã®çç±ã§ã/ dataãã£ã¬ã¯ããªã空ã§ãã
ãšãã¥ã¬ãŒã¿ãŒãä»ããŠOperaãæäœããå Žåãå®éã®ããŒããŠã§ã¢äžã®çµã¿èŸŒã¿ãã©ãŠã¶ãŒïŒæåã®å ¥åãæç»ããã®ã«3ã4åã®æéïŒãšæ¯èŒããŠããã®ã€ã³ã¿ãŒãã§ãŒã¹ã®é¡èãªé ãã«æ°ã¥ããŸãã
ãã¡ã€ã«ã®ã¹ã¿ã€ã«ã®æºå
ãã¡ãããæã ã¯ãªãã©ã¢ãã€ã«ã«ããæãå®å šãªå®è£ yuzerstileyã§ã¯ãããŸããã å®å šãªOperaã§ã¯ãã¹ã¿ã€ã«ã¯äžéšã®ãµã€ãã«é©çšããããäžè¬çãªãã®ã«ãããã§ããŸãã ãã-äžè¬çãªã¹ã¿ã€ã«ã®ã¡ã«ããºã ã®ã¿ã衚瀺ãããŸããããããããŠãŒã¶ãŒã¹ã¿ã€ã«æ å ±ãã¡ã€ã«-åã ã®ã¹ã¿ã€ã«ã®èª¬æããããŸãã
äžè¬çãªã¹ã¿ã€ã«ã¯Habrã®ãœãªã¥ãŒã·ã§ã³ã劚ããŸããïŒäœææã®ã¹ã¿ã€ã«ã¯ãSafariããã³IEã§äžè¬çãªã¹ã¿ã€ã«ãšããŠæ¢ã«ãããã°ãããŠããïŒãããã®ãã©ãŠã¶ãŒã§ã¯ãµã€ãã«ããåå¥åããããŸããïŒãHabrã¹ã¿ã€ã«ã«åºæã®ç¹å®ã®ã¯ã©ã¹åã§èšè¿°ãããŠããŸãã
Habrçšã®ãã¡ã€ã«ãäœæããã«ã¯ãããŒãžuserstyles.org/styles/36690 ïŒãã¿ã³ã ã³ãŒãã衚瀺 ãïŒããã¯ãã¹ãã©ãŠã¶CSSãã¡ã€ã«ãååŸããããã«æžãããŠããããã€ãã®éå§è¡ãšçµäºè¡ãåé€ããŸãã
OperaãSafariãIE8ã®ãŠãŒã¶ãŒã¹ã¿ã€ã«ã§äœæ¥ããã«ã¯ãã@ -moz-document domainïŒ "habrahabr.ru"ïŒ{"è¡ã®åŸã«ããã¡ã€ã«ã®çµããã®7è¡åã«ãã"} "è¡ã®ã³ãŒãå šäœã®äžéšãåã蟌ãå¿ èŠããããŸãã
å³åŽã®ããã«ãäžã«ç§»åããã«ã¯ããããããã¯ã® ã / * ãè¡ïŒäžã®ãµã€ãããŒïŒã§å§ãŸãã³ãŒãã®ã³ã¡ã³ããå€ããã / ããšã / ãã®éã®ã¹ããŒã¹ããã®è¡ããåé€ããå¿ èŠããããŸãã
åé¡ã¯è§£æ±ºããŸããã Androidãšãã¥ã¬ãŒã¿ãŒã«ã¯ãPCã³ã³ãã¥ãŒã¿ãŒçšã®ã倧åãã®æ¬æ Œçãªãã©ãŠã¶ãŒçšã«èšè¿°ããããã®ãšåæ§ã®åœ¢åŒã®æ§åŒåãããHabrããããŸãã æ®å¿µãªãããããã€ãã®ã¹ã¿ã€ã«ã«ãŒã«ã¯ãé©å¿ãè¡ããããã®äœæ¥ããããªã«åã蟌ãŸããŠããïŒ8åïŒããã°ãªãã©ã§è¡ã£ãããã«ã¯æ©èœããŸããã Habrå°çšã®ã¹ã¿ã€ã«ãäœæãã䟿å©ã«ããããã«ã¯ãã¢ãã€ã«Operaã«é©å¿ããå¿ èŠããããŸãããããã«ã¯ãšãã¥ã¬ãŒã¿ãŒãå¿ èŠã§ã¯ãªããå®éã®ã¹ããŒããã©ã³ãå¿ èŠã§ãã
ãã ãããšãã¥ã¬ãŒã¿ã䜿çšããæŒç¿ã§ã¯ãAndroidã®ã¢ãã€ã«ããã€ã¹ã«ã«ã¹ã¿ã ã¹ã¿ã€ã«ãã€ã³ã¹ããŒã«ããåºæ¬çãªå¯èœæ§ã瀺ãããŸããã ã€ãŸããHabr Prettifierã®ããã«æŽç·Žãããã¹ã¿ã€ã«ã§äœæ¥ããããšã¯ã§ãããã¹ã¿ã€ã«ãããåçŽã«åããªãããããã¹ãã®å¹ ã420ãã¯ã»ã«ãš320ãã¯ã»ã«ã®äž¡æ¹ã§ããããšã確èªã§ããŸãã
ã¹ã¿ã€ã«æå°
åèšãããšãAndroidã§ã®Habrã¹ã¿ã€ã«ïŒããã³ä»ã®ã¹ã¿ã€ã«ïŒã®ç§»æ€ã¯æ¬¡ã®ããã«ãªããŸãã
1. Opera 10.1 Mobileãã€ã³ã¹ããŒã«ããŸãã
2.ãã¡ã€ã«ãããŒãžã£ãŒã®ã«ãŒããšã¯ã¹ãããŒã©ãŒãå ¥æãŸãã¯ããŠã³ããŒãããŸãïŒãŸãã¯ãã«ãŒãæš©éã§ã³ãã³ãã©ã€ã³ããäœæ¥ããŸãïŒã
3.ååãå€æŽããæ¡åŒµåã zip ãïŒå§çž®ãªãïŒã§androidOperaHabr.user.cssã¹ã¿ã€ã«ãã¡ã€ã«ãããŠã³ããŒãããŠããã¡ã€ã«ãšããŠä¿åããŸãã ä»ã®ãµã€ãã®ã¹ã¿ã€ã«ãæã€ããšã¯èš±å¯ãããŠããŸãã æºåãããç¹å¥ã«æ¡åŒµåã .zip ãã¹ã¿ã€ã«ã«å€æŽãããŸããïŒåç §ã«ããïŒ ã ãã©ã«ã/ sddiskã§/ãã¡ã€ã«ãããŠã³ããŒãããŠãã ãã ïŒå³5-2ïŒã衚瀺ãããŸãã ïŒãã¹ãŠã®ã¹ã¿ã€ã«ãæ£ããæ©èœããããã§ã¯ãããŸãããã2011幎2æ3æ¥ã®ä»æ¥ã«æé©ã§ã-ããããã¢ãã€ã«Operaãžã®é©å¿ã¯è¡ãããŠããŸãããïŒ
4.æ¡åŒµåã®ååãã .user.css ãã«å€æŽããŸãïŒå³5-4; / sddisk / downloadãã©ã«ããŒå ã®ãã¡ã€ã«ãããŒãžã£ãŒã䜿çšããŠãååãå€æŽ-ãã¡ã€ã«äžã§ããŠã¹ãã¿ã³ãé·æéæŒãããšã«ãããå³5-3ïŒ
5. Operaã®operaïŒæ§æããŒãžã§ãã ããŒã«ã«CSSãã¡ã€ã« ããã£ãŒã«ãã«ã¹ã¿ã€ã«ãã¡ã€ã«ãžã®ãã¹ãæå®ããŸãïŒæåŸã«ãæ¡åŒµåã.user.cssããå¿ èŠã§ã ïŒ /mnt/sdcard/download/androidOperaHabr.user.css ã
6. [ ãŠãŒã¶ãŒèšå®]ã»ã¯ã·ã§ã³ã®äžçªäžã«ãã[ä¿å]ïŒïŒïŒãã¿ã³ãã¯ãªãã¯ããŸãã èšå®ã®ä¿åã«é¢ããã¡ãã»ãŒãžãåç §ããŠãã ãã ïŒå³6ïŒã
7.ãµã€ãã®ããŒãžã確èªããŠãèšå®ãä¿åããŠãã ããã
..ïŒå³5ïŒ1,2,3,4ïŒïŒ
ïŒå³6ïŒ |
---|
æåŸã«ããããã®äœæ¥ã®åŸããŠãŒã¶ãŒã¹ã¿ã€ã«ã«åããã圢åŒã®HabrããŒãžã衚瀺ãããŸãã
..ïŒå³7ïŒ1,2,3ïŒïŒ
ããã€ãã®ã¹ã¿ã€ã«ãç¹ã«positionïŒfixed;ãæ©èœããªãããšãããããŸããããã¯ããŠã£ã³ããŠã®é ã«æµ®ãã¶ã¡ãã¥ãŒã®åå ãšãªããŸãã ïŒäžéšã®å³7-2ããŠãŒã¶ãŒã¹ã¯ãªããã§ãšãã¥ã¬ãŒãããå¿ èŠããããŸããïŒäžéšã®ãããã¯ïŒããããŒïŒïŒãŠã£ã³ããŠã§å§çž®ãå®è¡ãããããŒãžãæ°Žå¹³ã«åå²ããŸããã§ããã éåžžã®è¡šç€ºé床ã®å®éã®ãã¹ãããã€ã¹ã§ã¯ããããã®å Žæã¯ã»ãšãã©ããã«ãããã°ãããŸãã
ãã°ã€ã³ã«çŽ1æéããããŸããïŒãšãã¥ã¬ãŒã¿ã®é床ã ãã®ããã§ãïŒïŒã³ã³ãã¥ãŒã¿ã®ã¡ã¢ãªãéåžžã«ããžãŒã ã£ãããïŒãããã§äœæ¥ããå¿«é©ããè©äŸ¡ããããšã¯çµ¶å¯Ÿã«äžå¯èœã§ãã ãã ãããã°ã€ã³ãæ©èœããããšã蚌æãããŠããŸãã
å¥ã®ã¹ã¯ãªãŒã³ã·ã§ããã¯ãèšäºã®ãã£ã¹ã«ãã·ã§ã³ããŒãžã§ãã ã°ã«ãžã¢ã¯ãçŽ15åã§ãå šããŒãžã现ããæåã®åœ¢ãããŠããŸããã éåžžã次ã®ããŒãžç§»åã§ã¯ãèšå®ã§ã¹ã±ãŒã«ãæå®ãããŸãïŒ100ïŒ ïŒã ããŒãžå¹ ã«ã¯å°ããªãšã©ãŒãããã€ããããŸãããCSS3ã¹ã¿ã€ã«ã«åŸã£ãŠãã¡ãã»ãŒãžã®å·ŠåŽã«ããåéæã®å±éããããè¿ä¿¡ããã¿ã³ãæ£ããæç»ãããŠããããšããå§ãããŸãã ïŒç§èªèº«ã¯åçã®ããŠã³ããŒããäžæããŸãããããããã¯ãã¹ãŠè² è·ãååæªæºã§ããããšããã¹ãŠæ£ããã®ã§ããïŒãããªãè¡åã¯ãçããåºããããå€ãã®è³ªåãæããããŸãã å¿çãã¿ã³ãã¯ãªãã¯ããããšã¯äžå¯èœã§ãã-ããŒãžã®ç§»åããŸãã¯3ã4åã¯ãªãã¯ãããšããã©ãŠã¶ãéããããŸããã
..ïŒå³8ïŒ
ã¢ãã€ã«ã€ã³ã¿ãŒãã§ãŒã¹ã®æ¡ä»¶ã«ãããã¿ããã¹ã¯ãªãŒã³ã®äœ¿ããããã®ããã«ã¹ã¿ã€ã«ã®è¿œå ç·šéãå¿ èŠã«ãªãå¯èœæ§ããããŸãããã£ãšäœããããããã¿ã³ãã©ããã«çœ®ãïŒæ€çŽ¢ãªã©ïŒã ãããä»æ¥ãã«ã¹ã¿ã ã¹ã¿ã€ãªã³ã°ã¯å¥ã®ã¢ãã€ã«ãã©ãããã©ãŒã ã§ç²åŸããŠããŸãã ïŒSymbianãšWin Mobileã§ã¯ã圌女ã¯ä»¥åOperaã§åããŠããŸããïŒã
æžãããã³ãŒãã®ãµããŒã
Habréã®èšäºã¯ãã€ãã®éã®åºçã«ã¯é©ããŠããŸãããæéãšãšãã«æ¥ããããã¯ãã³ã¡ã³ãããµããŒãããã«ã¯é©ããŠããŸããã Androidã®ãã©ãŒã©ã ãå¥ã®ãªãœãŒã¹ã®Operaã§ãå¥ã®å Žæã§ã¹ã¿ã€ã«ã®ãã£ã¹ã«ãã·ã§ã³ãšãµããŒããæŽçãããšäŸ¿å©ã§ãã ãªãã·ã§ã³ãææ¡ããŸãã
ããã«ãããããããã¹ã¿ã€ã«ãç°ãªãå®éã®ããã€ã¹ïŒHabrçšã®Androidã¢ããªã±ãŒã·ã§ã³ã®ã³ã¡ã³ãã§å¯Ÿè©±ãéå§ãããŸãã«ãã®ããšïŒã§åäœããããšã確èªããããšã¯çŽ æŽãããããšã§ãã å®éã®ã¹ã¿ã€ã«ã®ã©ã€ãããã€ã¹ãžã®ç§»æ€ã«é¢ãããã£ãŒãããã¯ãåŸ ã£ãŠããŸãïŒ30å以å ã§å®äºããŸãïŒã
ãã¡ãããããŸã銎æã¿ã®ãªããã®äžé£ã®ã€ã³ã¹ããŒã«ã¢ã¯ã·ã§ã³ã®ä»£ããã«ãé衚瀺ã®åçŽãªã¢ããªã±ãŒã·ã§ã³ã®äœæãèŠæ±ããŸããããã«ãããç¹å®ã®ãµã€ãã®ãŠãŒã¶ãŒã¹ã¿ã€ã«ãå€éšãã移æ€ãããŸãã ããŠã³ããŒãããŠãã©ãŠã¶ã«CSSãã¡ã€ã«ãã³ããŒããã ãã§ãããååãä»ããŠä¿å...ããä¿åããéåžžã®æ¹æ³ããããŸããã ãã¡ãããããã¯ãŠã§ããµã€ãã®ã€ã³ã¿ãã§ãŒã¹ã®å®å šãªè€è£œãæã€èšãç¥ããªãã»ã©ã·ã³ãã«ãªã¢ããªã±ãŒã·ã§ã³ã«ãªããŸãã ïŒçåã¯æ®ããŸãããã©ãŠã¶ãšã¢ããªã±ãŒã·ã§ã³ã®æ¯èŒã¯ã©ããããé ããªããŸããïŒããããæ¬æ Œçãªãã©ãŠã¶ã§ã®ãã©ãŠãžã³ã°ã¯ããã»ã©å¿«é©ã§ã¯ãããŸãããïŒïŒ
Fifefox Mobileã®ã¹ã¿ã€ã«
ã»ãšãã©ã®å Žåãããããæ©èœããŸããã1ã€ã®ãã©ãŠã¶ã§ç¢ºèªããããšã§äž»ãªç®æšãæ¢ã«éæãããŠããããããã¹ããããŠããŸããã 誰ããFirefoxã§ã¹ã¿ã€ã«ããã§ãã¯ããŠã€ã³ã¹ããŒã«ããããšã«æ±ºããå Žåããã®ããŒãžã®ãã£ã¹ã«ãã·ã§ã³ããŒãžã®ã¢ãã¬ã¹ãååŸããããšæããŸãã ãŸãã¯ããã©ãŠã¶ã®ææ°ã®ããå®å®ããããŒãžã§ã³ãåŸ ã¡ãŸãã