並び順

ブックマーク数

期間指定

  • から
  • まで

321 - 360 件 / 581件

新着順 人気順

"User Agent"の検索結果321 - 360 件 / 581件

  • User-Agent Client Hintsを使ってNginxでブラウザを判定してみた

    はじめに はじめまして!LetroStudio開発チームの小嶋です! 2023年5月にGoogle ChromeのUser Agentの一部文字列が削減されました。 代わりにUser-Agent Client Hintsという新しいパラメータが追加されています。 今回はUser-Agent Client Hintsを使ってNginxでブラウザを判定してみたのでまとめます。 User Agentの確認 まず現在のUser Agentを確認してみました。 Windows 10 Chrome User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

    • Set user agent with WebView with react-native

      I want to modify the user agent string in a WebView so that on the server side I can detect that the request has come from my react-native app. I want to do this using the source prop in the WebView. How do I do this for IOS and Android?

        Set user agent with WebView with react-native
      • Complete List of iOS User-Agent Strings | Enterprise iOS

        strict warning: Only variables should be passed by reference in /var/sites/e/enterpriseios.com/public_html/sites/all/modules/contrib/captcha/captcha.inc on line 61. strict warning: Declaration of views_handler_field_user_name::init() should be compatible with views_handler_field_user::init(&$view, $data) in /var/sites/e/enterpriseios.com/public_html/sites/all/modules/contrib/views/modules/user/vie

        • 【Python】User-Agentを最も簡単に変更できるライブラリをリリース - Qiita

          Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

            【Python】User-Agentを最も簡単に変更できるライブラリをリリース - Qiita
          • user agent stylesheetについて

            user agent stylesheetとは 各ブラウザがページを読み込むときに既定で適用されている、CSSのことです。 Google Chromeのデベロッパーツール でスタイルを確認するとでてくるやつです 無効化する方法 差異をあらかじめリセットするための、リセットCSSと呼ばれるものが、複数存在するので、こちらを利用することにより対応可能となってます。 人気のリセットCSS Eric Meyer’s CSS reset 一番人気のようです。また、必要最低限のタグだけなため軽い。利用者は多いようです 公式サイト HTML5 Doctor CSS Reset Eric Meyer’s CSS resetがベース。 HTML5に特化したリセット。上記リセットもHTML5には対応しているので、HTML5のプロジェクトであればオススメ 公式サイト normalize.css リセットとは違い

              user agent stylesheetについて
            • New User Agent for News

              accessibility 10 advanced 195 AMP 13 Android 2 API 7 apps 7 autocomplete 2 beginner 173 CAPTCHA 1 Chrome 2 cms 1 crawling and indexing 158 encryption 3 events 51 feedback and communication 83 forums 5 general tips 90 geotargeting 1 Google Assistant 3 Google I/O 3 Google Images 3 Google News 2 hacked sites 12 hangout 2 hreflang 3 https 5 images 12 intermediate 205 interstitials 1 javascript 8 job s

                New User Agent for News
              • How big can a user agent string get?

                If you were going to store a user agent in a database, how large would you accomdate for? I found this technet article which recommends keeping UA under 200. It doesn't look like this is defined in the HTTP specification at least not that I found. My UA is already 149 characters, and it seems like each version of .NET will be adding to it. I know I can parse the string out and break it down but I'

                  How big can a user agent string get?
                • Firefox OS User Agent

                  While we consider user agent sniffing a horrible practice on the client side, UA sniffing is done quite a bit on the server side to serve up the appropriate page version of a site, or redirect to, for example, the mobile version of the site.  This can be a dangerous road but most large site with a separate mobile interface do it.  The following is the user agent for Firefox OS: Mozilla/5.0 (Mobile

                    Firefox OS User Agent
                  • 【レビュー】別のブラウザのユーザエージェントに切り替える - Firefoxアドオン「User Agent Switcher」 (1) User Agent Switcherのインストールと概要 | パソコン | マイコミジャーナル

                    Webサイトにアクセスする際、使用しているブラウザの種類が何であるかは、サイトのサーバーに記録されている。これはブラウザがWebサイトを開く時に、ユーザエージェントと呼ばれる情報を送っているからである。そして、Webサイトの中にはユーザエージェントを判別し、特定のブラウザ以外でのアクセスを拒否するサイトも存在する。 携帯専用サイトにPCのウェブブラウザではアクセスできないことなどが顕著な例である。Firefoxのアドオン「User Agent Switcher」は、このユーザエージェントの情報を切り替えて、別のブラウザを装うことができる拡張機能である。Internet Explorerのユーザエージェントに切り替えてWebサイトにアクセスすることもできるし、携帯ブラウザのユーザエージェントに切り替えて携帯専用サイトを表示することも可能である。 注意:本稿では、Firefoxのアドオンのイン

                    • Should I use the Vary HTTP header on URLs that redirect based on user-agent?

                      What's Google's position about continuing to recommend the HTTP Vary: User-Agent header for specific mobile websites after big players like Akamai said they don't cache the URLs that include it? Would you still recommend using it? Christian Oliveira, Madrid More about redirects and user-agent detection: https://developers.google.com/webmasters/smartphone-sites/redirects Have a question? Ask it i

                        Should I use the Vary HTTP header on URLs that redirect based on user-agent?
                      • [Python]urllib2でUser-Agentを変更する

                        先日、Twitterbotが動いていなかったのでログを調べたら、クロール先サイトに403Forbiddenを返されるようになっていました。Pythonのurllib2.urlopenのデフォルトのUser-Agentの値は"Python-urllib/(Pythonのバージョン)"のようで、これが駄目になったぽい。なのでUser-Agentを変更することで403を回避するようにしました。 コードは例えばこんな感じ import urllib2 from BeautifulSoup import BeautifulSoup URL = 'http://example.com' UERAGENT = 'Mozilla/5.0' req = urllib2.Request(URL) req.add_header("User-agent", USERAGENT) soup = BeautifulS

                          [Python]urllib2でUser-Agentを変更する
                        • 【WordPress】User-Agent を判定してモバイル用コンテンツを表示する方法。

                          最近のWebデザインのトレンドとして、レスポンシブデザインが普及し、iPhoneやiPad、Android端末等、各モバイル・デバイスへの対応が当たり前になってきました。 実際に、現在当サイトへのアクセスも、PC(Windows / Mac)とスマートフォン・タブレット(iPhone / iPad / Android)のアクセス比率は、ほぼ半々になってきています。 モバイル・デバイスに最適化されたコンテンツを表示することは、今後SEO的にも重要なポイントになり、無視できない状況になっています。 しかし予算や制作期間、クライアント様の意向により、モバイル・サイトの開発に着手できないケースも多々あるかと思います。 そんなときに、最低限のモバイル対応として WordPress の[functions.php]に簡単なコードを記述して、User-Agent を判定して、モバイル用のコンテンツを分岐

                            【WordPress】User-Agent を判定してモバイル用コンテンツを表示する方法。
                          • User Agent Parsing with PHP, JavaScript, or Python

                            Saying the phrase "user agent" or "user agent string" is tantamount to saying a swear word. Developers used to use the user agent to detect if a browser had a given feature, instead of, you know, checking to see if the feature actually existed via object or property detection. Those days are behind us though, but one of the web's dirty secrets is that the user agent still has many uses. One freque

                              User Agent Parsing with PHP, JavaScript, or Python
                            • 【Objective-C】 NSURLConnection の User-Agent を変更する

                              Objective-C では、NSURLConnection に NSURLRequest を渡して、指定した URL のデータを取得できるようになっています。 そして HTTP へアクセスするとき、アクセス元は自分の情報を "User-Agent" ヘッダーを使って通知します。 例えば Internet Explorer の場合は "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" などのようになりますし、NSURLConnection の場合には、既定では "EzPCAdjustTools/12 CFNetwork/548.1.4 Darwin/11.0.0" といった感じのものになっています。 この User-Agent ヘッダーは、NSURLConnection では、好みの名前に変更でき

                              • Parsing the user agent string using PHP

                                Recently I experimented a bit with an Apache log file analyzer written in PHP. It’s not all that difficult were it not for trying to parse the browser, or user agent, string. There are in fact two RFC documents, RFC 1945 and RFC 2068, that define how a user agent string should be written. Still many does not adhere to these standards and many write the interesting details in the comment field only

                                • 歓迎、変な User-Agent ご一行様 : にぽたん研究所

                                  言うまでもなく、web ブラウザは、何てブラウザを使っているか、サーバに送っています。 ということで、ここ半年の間ににぽたん研究所を訪れてくれた、変なブラウザさんを挙げてみるテスト。 (^^)/やぁ、どうも。 Nekochanにゃー。 Microsoft Internet Explorer 6.0嘘つき。 googlebot君も嘘つき。 おれさま参上。ご苦労様です。 関━━━━━━ ;´Д` ━━━━━━野!!!!関野って誰? 試験が近いのにときどきお絵かきしているひとのブラウザ。試験の結果はどうでしたか? ('A`)毒男がんがれ。 Don't hack me ....しませんてば。 Family Computer (compatible; Family Basic V3)V3 ってとこがウソくさかった。 FamilyComputer型番ぐらい入れようぜ。 M.O.E. v1.13 (Mu

                                    歓迎、変な User-Agent ご一行様 : にぽたん研究所
                                  • EXPLOIT-KIT Java User-Agent downloading Portable Executable - Possible Exploit Kit

                                    EXPLOIT-KIT Java User-Agent downloading Portable Executable - Possible Exploit Kit In our most recent rule pack, amongst the 39 new rules were two very important rules that may require a bit of analyst work when you see them alert. The two rules I am referring to are: * 1:25041 <-> ENABLED <-> EXPLOIT-KIT Java User-Agent flowbit set (exploit-kit.rules) * 1:25042 <-> ENABLED <-> EXPLOIT-KIT Java Us

                                    • Announcing user-agent change for Bing crawler bingbot

                                      Today we are announcing that we will start to transition the following user-agents for bingbot: Desktop Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/W.X.Y.Z Safari/537.36 Mobile Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; bing

                                      • GitHub - selwin/python-user-agents: A Python library that provides an easy way to identify devices like mobile phones, tablets and their capabilities by parsing (browser) user agent strings.

                                        You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                          GitHub - selwin/python-user-agents: A Python library that provides an easy way to identify devices like mobile phones, tablets and their capabilities by parsing (browser) user agent strings.
                                        • Change Phonegap User Agent

                                          My Phonegap application is allowed to browse to some external sites that also use the Phonegap API. Currently I am conditionally including the Phonegap javascript based on what platform you are on (Android, iOS, etc). However, I can't tell the difference between Phonegap applications and the regular browser on a mobile device. Is there a way to change the user agent in my Phonegap app to give my s

                                            Change Phonegap User Agent
                                          • GitHub - wokamoto/crazy-bone: [WordPress Plugin] Tracks user name, time of login, IP address and browser user agent.

                                            === Crazy Bone === Contributors: wokamoto, megumithemes Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=9S8AJCY7XB8F4&lc=JP&item_name=WordPress%20Plugins&item_number=wp%2dplugins&currency_code=JPY&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted Tags: log, login, users Requires at least: 3.5 Tested up to: 4.3.1 Stable tag: 0.6.0 Tracks user name, time of login, IP a

                                              GitHub - wokamoto/crazy-bone: [WordPress Plugin] Tracks user name, time of login, IP address and browser user agent.
                                            • takimura on Twitter: "User-Agent: Twitterbotにしたら旧UI帰ってきて笑うしかないんだけど #twitter #goodtwitter https://t.co/oa4MJeYHnv"

                                              User-Agent: Twitterbotにしたら旧UI帰ってきて笑うしかないんだけど #twitter #goodtwitter https://t.co/oa4MJeYHnv

                                                takimura on Twitter: "User-Agent: Twitterbotにしたら旧UI帰ってきて笑うしかないんだけど #twitter #goodtwitter https://t.co/oa4MJeYHnv"
                                              • User-Agent JS Fixer – Get this Extension for 🦊 Firefox (ja)

                                                This addon can change the JavaScript User-Agent on a per-site basis, rather than changing for the whole session. It does nothing by itself, but it complements the functionality of another addon like UAControl or ua-site-switch. No additional configuration is required, it uses the same settings from them. All it does is to redefine the User-Agent for JavaScript code (navigator.userAgent) using the

                                                • ARROWS kiss F-03D の User Agent - NTTドコモ開発者情報Blog

                                                  2011年11月25日に発売される ARROWS kiss F-03Dの機能概要とUAをお伝えします。 ■機能概要 ・OS;Android2.3.5 ・ディスプレイサイズ;約3.7インチ ・ディスプレイ解像度;480×800ドット ・カメラ;アウト約810万画素/イン約130万画素(有効画素数) ・ワンセグ搭載 ・おサイフケータイ対応 ■デフォルトブラウザのUserAgent Mozilla/5.0_(Linux;_U;_AAA;_BBB;_F-03D_Build/CCC)_AppleWebKit/533.1_(KHTML,_like_Gecko)_Version/4.0_Mobile_Safari/533.1 ※発売時は以下 ・AAA;Android_2.3.5 ・BBB;ja-jp(日本語の場合) ・CCC;ビルド番号になります。OSバージョンが変わらずにビルド番号が変化する場合もあり

                                                  • Prepare for Chrome's user‑agent reduction  |  Privacy Sandbox  |  Google for Developers

                                                    Send feedback Prepare for Chrome's user‑agent reduction Stay organized with collections Save and categorize content based on your preferences. Chrome is continuing to reduce the information shared in its user-agent string to help protect user's privacy. Starting in Chrome 110 (February 2023) we are gradually introducing a fixed value for Android version and device model—the default value will alwa

                                                      Prepare for Chrome's user‑agent reduction  |  Privacy Sandbox  |  Google for Developers
                                                    • Updating the smartphone user-agent of Googlebot

                                                      accessibility 10 advanced 195 AMP 13 Android 2 API 7 apps 7 autocomplete 2 beginner 173 CAPTCHA 1 Chrome 2 cms 1 crawling and indexing 158 encryption 3 events 51 feedback and communication 83 forums 5 general tips 90 geotargeting 1 Google Assistant 3 Google I/O 3 Google Images 3 Google News 2 hacked sites 12 hangout 2 hreflang 3 https 5 images 12 intermediate 205 interstitials 1 javascript 8 job s

                                                        Updating the smartphone user-agent of Googlebot
                                                      • PHP User Agent Parser

                                                        Demo Requirements PHP >= 5.4.0 Download The script is available over on GitHub or via Composer: $ composer require 'donatj/phpuseragentparser' Usage The original procedural use is as simple as: <?php // v0 style global function - @deprecated $uaInfo = parse_user_agent(); // or // modern namespaced function $uaInfo = donatj\UserAgent\parse_user_agent(); echo $uaInfo[donatj\UserAgent\PLATFORM] . PHP

                                                          PHP User Agent Parser
                                                        • サービス毎のbotのUser Agent

                                                          ユーザーエージェント(User Agent)リスト 検索エンジン Googlebot 【User Agent】Googlebot/2.1 (+http://www.google.com/bot.html) 【User Agent】Mediapartners-Google/2.1 Yahoo! Slurp 【User Agent】Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp) MSNbot 【User Agent】msnbot/1.0 (+http://search.msn.com/msnbot.htm) Walhello 【User Agent】appie 1.1 (www.walhello.com) 【サイト】http://www.walhello.com/ Infos

                                                          • HT-03AのAndroidに搭載されているブラウザのUser-Agent - hoge256ブログ

                                                            HT-03AのAndroidに搭載されいてるブラウザのUser-Agentは次のような感じでした。 Mozilla/5.0 (Linux; U; Android 1.5; ja-jp; HT-03A Build/CDB72) AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile Safari/525.20.1 Android搭載ブラウザの正式な名前は無いっぽいのですが、去年のITmediaの記事などをみると開発者はChrome Liteと呼んでるみたいです。ただ、User-AgentにはChromeの名前は全然出てこないで、Mobile Safariとのみ記述されています。 そうえいば、iPhoneのUser-Agentも、Mobile Safariだったような気がしますが、、、まぁ、同じAppleWebKitが元になったブ

                                                            • User Agent Switcher

                                                              ライセンス: フリーウェア おすすめ度: ( 3.75点 ) 著作権者: Chris Pederick 動作環境: 95/98/ME/NT/2000/XP/Vista 公式サイト: chrispederick.com 人は誰しもなりたい自分を心の中にもっていますよね。社交的な自分、冷静沈着な自分、活動的な自分。 なりたいと願っていても、そうそうなれる物ではありません。なれないから、手が届かないからなりたいのだから…。 でも、なればいいじゃない。無理矢理にでもそれっぽくなればいいじゃない。中身は無理でも見た目だけでも。 FirefoxのUser Agentを簡単に変更出来るアドオンです。User Agentってのは、ブラウザの名札みたいなものです。 ブラウザ一つ一つに違う名前が付いててサーバー側でどんなブラウザでこのサイトにアクセスしてきているか分かる仕組み。

                                                              • HTTP_USER_AGENTでbot,Browser,Deviceチェック - Qiita

                                                                $bot_list = array ( 'Googlebot', 'Yahoo! Slurp', 'Mediapartners-Google', 'msnbot', 'bingbot', 'MJ12bot', 'Ezooms', 'pirst; MSIE 8.0;', 'Google Web Preview', 'ia_archiver', 'Sogou web spider', 'Googlebot-Mobile', 'AhrefsBot', 'YandexBot', 'Purebot', 'Baiduspider', 'UnwindFetchor', 'TweetmemeBot', 'MetaURI', 'PaperLiBot', 'Showyoubot', 'JS-Kit', 'PostRank', 'Crowsnest', 'PycURL', 'bitlybot', 'Hatena

                                                                  HTTP_USER_AGENTでbot,Browser,Deviceチェック - Qiita
                                                                • cloudfront-の-origin-をボットかどうかuser-agentによって判定して切り替える

                                                                  CloudFront の Origin を、ボットかどうか(User-Agentによって)判定して切り替える Webpack でビルドしたWebアプリを S3 にデプロイし、S3 + CloudFront でホストしていました。 ブラウザからのリクエストは問題ないのですが、検索エンジンやTwitterなどのボットからのアクセスの場合、JSを動かせないため内容のほぼ無いページが評価されてしまい、情報の価値がありません。 そのため、Lambda@Edge + CloudFront で、User-Agent を判定し、JSを動かせないようなUAの場合はオリジンをサーバサイドレンダリングするサーバに切り替えるようにしました。 Lambda@Edge とは Lambda ファンクションを CloudFront のエッジサーバにデプロイし、動作させることができます。 CloudFront で動作させる

                                                                    cloudfront-の-origin-をボットかどうかuser-agentによって判定して切り替える
                                                                  • ユーザーエージェント(User Agent、UA)

                                                                    Webシステムの設計・開発・構築・管理のいずれでも、しばしば目にする「ユーザーエージェント」。「ユーザー」も「エージェント」もよくある単語だが、その意味は? User-Agentヘッダとの関係は? 何に使われるのか? 連載目次 「ユーザーエージェント(User Agent、UA)」とは、広義では、何らかの通信のためにエンドユーザー側で利用される機材やプログラムのことを指す。狭義では、WebサーバとHTTP/HTTPSで通信するクライアントプログラムを意味することが多い。さらには、User-Agentヘッダ、あるいはユーザーエージェント文字列のことを「ユーザーエージェント」と称していることもよくある(いずれも詳細は後述)。 本稿では、こうしたWebにおけるユーザーエージェントに焦点を当てて解説する。 Webにおけるユーザーエージェントの例 Webサーバと通信するのにエンドユーザーが利用するプ

                                                                      ユーザーエージェント(User Agent、UA)
                                                                    • User Agent Switcher – Get this Extension for 🦊 Firefox (en-US)

                                                                      Not compatible with Firefox QuantumNot compatible with Firefox Quantum The User Agent Switcher extension adds a menu and a toolbar button to switch the user agent of a browser. Only with Firefox—Get Firefox Now

                                                                        User Agent Switcher – Get this Extension for 🦊 Firefox (en-US)
                                                                      • Google App Engine(GAE)のURL FetchでUser-Agentを指定する方法 - kissrobberの日記

                                                                        結構ハマった。 GAEではユーザーエージェント指定できないとか、できるとかで。 http://d.hatena.ne.jp/periwnkl/20090517/1242536700 これじゃ出来なかった。 headers={'User-Agent': 'ユーザーエージェント'}) ↓ headers={'user_agent': 'ユーザーエージェント'}) で出来た。

                                                                          Google App Engine(GAE)のURL FetchでUser-Agentを指定する方法 - kissrobberの日記
                                                                        • What is my user agent?

                                                                          What is my User Agent? Updated at: Jun 25, 2024 Your User Agent is: The weird looking string of text (above) is your user agent. It's a short, technical description of the web browser, operating system, (and maybe mobile device) that you're using as you access the internet. Your web browser sends it to every website you visit. Most websites ignore it, but by analysing it, we can tell you what web

                                                                            What is my user agent?
                                                                          • Google、ChromeのUser Agent文字列情報削減計画を再開 | スラド IT

                                                                            Googleは19日、ChromeのUser Agent(UA)文字列に含まれる情報を削減する計画の再開を発表した(Chromium Blogの記事、 User-Agent Reduction)。 GoogleはUA文字列の情報削減計画を昨年1月に発表したが、COVID-19の影響で2021年以降に先送りされていた。その間もGoogleはUA文字列の代替として提案しているUser-Agent Client Hints API(UA-CH)の改善を進めてきたそうだ。 UA文字列削減は段階的に進められ、第1・第2段階は準備段階、第3~第6段階でロールアウトし、第7段階で完了する。第1段階はChrome 92で「navigator.userAgent」「navigator.appVersion」「navigator.platform」へのアクセスに対し、デベロッパーツールの「Issues」タブで

                                                                            • Learn about user agent strings - Amazon Silk

                                                                              In the user agent request header field, Amazon Silk sends one of three user agent strings, depending on the view requested on the device by the customer. If a specific view is not requested, the view defaults to Tablet for Fire tablets, and Mobile for Fire phones. If a site has compatibility issues when rendered in the default view, a different view may be selected by the device. The templates for

                                                                              • blog.cori95.net : ユーザエージェントを切り替えるFirefoxの拡張(User Agent Switcher)

                                                                                Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-dp07276078/web/blog/wp/wp-includes/cache.php on line 36 Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-dp07276078/web/blog/wp/wp-includes/query.php on line 21 Deprecated: Assigning the return value of new by reference is deprecated in /home/user

                                                                                • Jpmobile で user_agent を設定してテストするには - なんとなく日記

                                                                                  get/post などの前に, @request.user_agent = "DoCoMo/2.0" としてユーザエージェントを設定する.@request.env['USER_AGENT'] では,TestRequest 生成時に上書きされた値が使われてしまうようだ.

                                                                                    Jpmobile で user_agent を設定してテストするには - なんとなく日記