Some time ago I made a website with wordpress, with my own theme.
Testing the site, discovered an interesting feature in Google Chrome:
If I start typing the address of the website, it says: Press TAB to search this site.
By doing this, what I type in the address bar, go to www.meysite.com/?q = ...
As if he knew the action of my search forms.
Test on Chrome: open a new tab, type stack, for him to suggest stackoverflow.com then press TAB and type any term
But this feature is only available after the user accessed the site and did a search. I think at this moment Chrome "learns" how.
My question is: is there any way to notify Chrome (and other browsers) that my site has a form/action to do internal searches?
This feature is called OpenSearch.
Like MartelDroid said, you can just look at how stackoverflow do to use it. On this link you can see code example https://stackoverflow.com/a/14496104/894546
Related
I would like to be able to open a tab in Chrome and enter something like gs://bucket-name/path/to/file and have it open the corresponding page in the GCP Web Console https://console.cloud.google.com/storage/browser/bucket-name/path/to/file. I saw there are external protocol handlers in Chrome, but I don't want to open an external application. I just want it to open another page based on the URI. I also don't want to put up any of my own servers for this simple purpose. Perhaps a Chrome Extension that can do some simple JS on the URI after I enter it into the address bar?
I think it is possible now with link you gave (works for me).
#shiv turned my attention on fact that this is question about automated link replacement under the hood in address bar when you write "gs://bucket-...". So such handler just collects address and modifies it and uses modified version to go further.
Well then looks like you need something like this Set custom protocol handler in Firefox? (in case of Firefox) but unfortunately I cannot help more.
I am searching for a best way to show WeChat profile in app after user click on link on some website.
I found some solution here but it's not working for me.
For example I tried these URIs:
link
Or in href attribute:
weixin://contacts/profile/{wechatId}
It's not working for me. After I click on this, WeChat app is opened and immediately closed. Or it show me not found error on Tips tab..
Is there some way to do it?
I think WeChat has not public profile webpage like facebook for now, you can only access other people's profile in the WeChat app by scanning a QR code or search by WeChat id/phone number. The code snippets that you mentioned above has been discarded by WeChat Official(But you may still can see it in some old official documentations).
If you still want to achieve this function, I recommend you just post your QR code in your webpage.
However, some people using the weixin:// as a bug to link WeChat to others apps. You still can generate a tickets like weixin://dl/business/?ticket=***. The *** contains your wechatid and is encrypted by some specific algorithms, which is not opened by WeChat official. And also, buying some third-part server tickets like this to get the jump link works for now but not stable.
New to developing Chrome extensions but would like to know if it's possible for a chrome extension to receive data from a web page that the current user does not have open. I.e. scrape data from any given website
For example, if a user only has their homepage open, but "http://mydomain.page.html" changes its page contents from:
"It is 5 pm"
to
"It is 6 pm.",
is there a way to indicate the user of this change via Chrome extension?
I've come across plenty of somewhat similar examples but they all seem to deal with a chrome extension only talking to a page the user currently has open in a tab or another window.
I've looked up Long Lived Connections but not sure if that totally applies.
Chrome saying while I am accessing my site, after searching I cleaned my code from the site but chrome still showing then I removed all files from my site and just upload index.html (blank file) but warning is still showing.
Chrome warnings will be based on black-lists which record where malware has been found in a site or domain, this isn't a live "scan" and does not necessarily mean that malware is on that page or at that specific time. It is not clear from your question if you've created a new folder and index.html and you are also seeing a malware warning when browsing to that URL, or if you've replaced your site content with an empty folder and index.html and that warning is still showing. Once you have taken the steps to disinfect the site then you can request a review which should help remove the warning http://support.google.com/webmasters/bin/answer.py?hl=en&answer=163633.
The malware warning should be taken seriously even if you are confident in your own site content as crackers use automatic toolkits to find vulnerabilities in websites and inject code into them to infect visitors, as these kits are largely automatic there isn't the protection in obscurity you might otherwise assume.
If you've not been able to find and fix the issue Chrome is warning about, you owe it to your visitors- and your own reputation- to take the site content down until you can resolve the problem.
Google Chrome's malware blacklists should be based on same data used by Google's safebrowsing advisory. You can access this information for a particular site (e.g. stackoverflow.com) via the following url:
http://www.google.com/safebrowsing/diagnostic?site=stackoverflow.com
Just replace the domain with your own and it should give you some indication why your site generated malware warnings in Chrome.
1.In the top-right corner of the browser window, click the Chrome menu Chrome menu.
Select Settings.
Click Show advanced settings.
Under "Privacy," uncheck the box "Protect you and your device from dangerous sites."
I'm quite new to web development, but I'm trying to do some stuff in Python and so I need help.
Sometime ago, I went into a page to debug html forms that allowed me to change the POSTs to GETs in the form request and that really helped me get some info from html forms by just doing everything in the URL instead of having to make my program fill some forms.
Unfortunately I lost that page address and as much as I search in Google I cannot come up with it or anything similar again. Can you direct me to some links that do this?
I tried both Firebug in Firefox and developer tools in chrome, but they don't seem to do this.
Ok, this is probably quite basic for most people, but in Firebug, you just have to go into the "NET" tab, make the request and then analyse it and if you right click it and choose: "Copy location with parameters" you get the formatted URL ready to go, even when using javascript.
If you have: <form name="form1">
You can this JavaScript:
document.form1.type="GET"
Use this in the page before submitting the form.
The web developer tool bar for firefox will do this and much more:
https://addons.mozilla.org/en-US/firefox/addon/web-developer/
EDIT
You can also use firebug and inspect the form element and change it from POST to GET