Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
This post was edited and submitted for review 3 months ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
I need to add a custom search engine to Firefox. I have a name and a search URL. How do I add those to the available search providers?
If you are just trying to search a certain site from the address bar, you do not have to create any OpenSearch XML.
You can add a bookmark with %s as a placeholder, and give it a keyword. The subsequent search terms will fill into the placeholder. For an example that searches Stack Overflow, put these fields into a "New Bookmark:"
Field
Value
Name
Search Stack Overflow
Location
https://stackoverflow.com/search?q=%s
Tags
development (your relevant tags)
Keyword
so
Description
To perform a search, type so How to exit Vim into the address bar and hit return.
If you have also added search engines in Chrome, you will recognize the same %s placeholder that is used in chrome://settings/searchEngines. I do not know, but it may be that Chrome also uses bookmarks like Firefox under the hood.
Here are the steps:
Create an XML file containing information about your search engine like ShortName, Description, URL, etc. (Example file)
Give a name to that XML file and put it in one of these files:
Available just to you
%APPDATA%\Mozilla\Firefox\Profiles\XXXXXXXX.default\searchplugins
Available to anyone on the computer
%PROGRAM_FILES%\Mozilla Firefox\searchplugins
Modify Firefox's preferences file at %APPDATA%\Mozilla\Firefox\Profiles\XXXXXXXX.default\prefs.js. Simply add/modify this line:
user_pref("browser.search.selectedEngine", "engine_name");
There is no need to modify a sqlite database file manually.
The new search engine will be added automatically after restarting Firefox.
You can also use this opensearch Mycroft Project
It has everything already created just enter the values into textbox and and you have the XML code; and you can install the search engine directly in the browser from there.
You can also submit your website search engine, and search for (and use) a search engine submitted by another user.
The easiest way to add new search engines is via the "Add to Search Bar" add-on, simply right click on the search form on the webpage you want to add, then "Add to Search Bar" and it will show up in the Search Bar:
https://addons.mozilla.org/en-US/firefox/addon/3682
I came here to add tldr-pages as a custom search, looking for a way how to do that.
Turns out, that there was a very simple way:
In Firefox, next to the URL-bar, there is a search-bar with a magnifying-glass. If that magnifying-glass has a PLUS on it, the page you are looking at offers its own openSearch.xml-file.
hit the search-box
a pop-up opens
find the line that says "Add" at the bottom and
click it
That is how I solved my initial problem and maybe it solves yours, too.
Make sure that your & is escaped as &
Firefox will NOT activate the search engine that are broken in format
Check https://developer.mozilla.org/en-US/Add-ons/Creating_OpenSearch_plugins_for_Firefox#Troubleshooting_TipsJust put a right xml file in right place,it will take effect after restarting firefox
Give this a try.
http://www.investintech.com/resources/blog/archives/5263-address-bar-search-engine.html
Using Iceweasel (Linux), should work for Firefox too.
Tried it for about 30 sites that i had with Chrome/Chromium.
Pro:
Works!
Cons:
Too much manual work.
This helped for me on Firefox v50:
Close Firefox.
Delete in profile of Firefox: search.json, search.json.mozlz4
Copy your OpenSearch from the searchplugins folder.
Add an entry in search-metadata.json:
"[profile]/your-opensearch.xml": {
"alias": "your-opensearch",
"order": 25
}
Related
This question was migrated from Stack Overflow because it can be answered on Webmasters Stack Exchange.
Migrated 20 days ago.
This question might be asked before in other ways but I couldn't file my answers. I followed these link1, and link2 but I couldn't get.
My website is designed in Larave and Vuejs.
Currently working on SEO optimization.
When you type Stackoverflow in Google search the first website comes up is Stackoverflow.com and you see a search box as bellow screenshot
I want to show a custom Book Now button instead of that search box when a user click the button she should be navigated to a certain page of my website. But I have no Idea how to do this?
If its generated by google automatically, how can I let Google generate such thing for my website.
You can't do it. Google generates Sitelinks automatically, as stated in docs:
At the moment, sitelinks are automated. We're always working to improve our sitelinks algorithms, and we may incorporate site owner input in the future. There are best practices you can follow, however, to improve the quality of your sitelinks.
Make sure that the text you use as your page titles and in your headings is informative, relevant, and compact.
Create a logical site structure that is easy for users to navigate, and make sure you link to your important pages from other relevant pages.
Ensure that your internal links' anchor text is concise and relevant to the page they're pointing to.
Avoid repetitions in your content.
I have created two CKEditor plugins. Each of them uses an "Iframe Dialog Field", meaning that a dialog box is launched and the contents of that dialog box is a webpage (you can think of the entire dialog box as being like one big iframe).
Each plugin works perfectly on its own. However if I use both plugins in the same CKEditor app, they both end up displaying the same page, rather than two different pages, despite the fact that they point to two different pages. I see no reason why this should be happening. Does anyone know how to prevent this?
To make sure there is no confusion, an "IFrame Dialog Field" is a dialog box whose contents are another webpage.
Documenentation - http://ckeditor.com/addon/iframedialog
[ This is different from using an "IFrame dialog", which I believe is a plugin that lets the user add an iframe to the page.
Documentation - IFrame Dialog: http://ckeditor.com/addon/iframe ]
In terms of usage, when using an IFrame Dialog Field, you specify the url of the page to load in the addIframe() command. Here is an example of using a CKEditor Iframe dialog
https://gist.github.com/garryyao/1170303
Back to my issue - if I use just one of the plugins in my CKEditor, it works perfectly. Each plugin points at a different url, and opens that url as the contents of the dialog box. But, if I use both plugins in my CKEditor, although I see a different icon for each, both end up launching a dialog box which points to the same url. Depending which one I launch first, that is the url both end up opening. It is as if you are only allowed to use one IFrame Dialog Field in CKEditor, and the first one used overwrites all others.
This same question was asked a couple of years ago, with no response on the CKEditor forum. The person who asked the question posted his solution, or rather his workaround, which was to NOT use the IFrame Dialog Field altogether, but to instead use a regular dialog and then put an iframe element within it.
http://ckeditor.com/forums/CKEditor-3.x/multiple-iframedialog-plugins-display-same-dialog
That seems like an OK workaround, but it is a workaround and not a solution. I haven't tried it yet, and don't know what potential issues I will run into if I go down that route. I'd prefer to fix my existing code rather than rewrite the plugins, unless I have no choice.
Any help would be appreciated.
Since I have not found any further information, or received any answers here, I ended up going with the workaround mentioned at the end of my question - I used a regular dialogue box and put a big Iframe within it. This problem doesn't exist with that approach, and It looks pretty much the same as an Iframe dialog box. (Considering the almost total lack of community support with CKEditor customization, I've realized it is better to just adjust your design/concept to do what is more easily accomplished with CKEditor, rather than get CKeditor to do exactly what you want).
I follow the instructions for loading the plugin, I get the green overbar, and click on "import". Still the plugin doesn't show up under '$:/ControlPanel -> Plugins'.
How come the plugin doesn't work. I tried in Firefox and Safari.
Click to edit the content of http://tiddlywiki.com/plugins/tiddlywiki/katex/#%24%3A%2Fplugins%2Ftiddlywiki%2Fkatex, then copy-paste the entire content to a tiddler in your installation called "$:/plugins/tiddlywiki/katex". Scroll to the very bottom and set the "Type" to application/json, and create the same fields as the original (author, dependents, description, plugin-type and version).
The plugin now shows up in the control panel, and works as expected.
First, asking questions on the google group is a much better way to get answers. We tend to answer quickly there.
You need to save and reload your wiki after importing the plugin for the changes to take effect, otherwise it won't work. Also, are you using tiddlywiki5? The katex plugin won't work on tiddlywiki classic.
I'd like to create an addon for Firefox that would enable me to search a particular site by selecting text on one site and choosing to search another site by selecting that option in the context menu.
I already have an extension like that in my browser - the Wikipedia Lookup extension. Basically, I want the exact same functionality but which will send the search text to a different site.
I'm completely new to Firefox addons, so can somebody tell me what's involved in this? Or point me at a site with a list of instructions to do a plugin like this? I can see examples on how to make a Hello World kind of plugin but I can't see how to extend that example into what I need. Thanks.
Have you considered opening the Wikipedia extension source and modifying the pointer from wikipedia.com to the other search site? This is assuming you're using Windows Vista or higher. The source code should be located at:
C:\Users\YourUserName\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default\extensions\something#wikipedia.com\chrome\content
You would then have to modify the source code inside to change the pointer, and the POST variables string to match that of the site you will be using.
I hope this at least points you in the general direction!
-Alex
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Because this is not the kind of company where wiki's are accepted, we tend to do a lot of communication through outlook. Sending code snippets through it is painfull.
Is there some way to get the markdown thing we have here, but in outlook?
For future visitors: https://github.com/mmanela/MarkdownOutlook
Per their wiki:
A simple plugin for Outlook 2013 which adds a button to the compose mail menu to enable Markdown mode. When enabled your email will be turned from Markdown syntax to html when sending.
Uses MarkdownSharp for the markdown conversion
Uses VSTO to integrate with Outlook
Uses an Installer Project to build an installer
I haven't been able to find an editor BUT you can write your email where I'm typing now which will show you the result in the preview pane. (including code snippets)
You can then copy the result from the preview pane into outlook (I've tried thunderbird too and it works)
If at first your code doesnt render nicely (ie colour coded) then ensure you are editing in the 'Ask Question' editor (not in the Your Answer section) - this made a difference for me.
Since Outlook uses Word as an email editor (Outlook 2007, Outlook 2003 can be configured to use Word) you could use the AutoCorrect feature to apply simple formatting to your email. __text__ will trigger italic and **bold** will trigger bold. List can be created automatically when typing - or 1.
Another option might be to run a VBA macro on sending the email which converts the Markdown formatting to (X)HTML.
I've taken to running Markdown Pro on my Mac and pasting the preview pane results into the message. Painful but workable.
There is a similar editor, MarkdownPad, for Windows, but I have not tried it.
If you use Thunderbird, then you can use the markdown-here extension.
My outlook 2007 works with basic markdown _italic_ and *bold* with no configuration.
I'm new to development on OS X, but -- I've been using the simple-but-it-works MarkdownLive for the same purpose. I think I've been using the free version of MarkdownPad on Windows, although I keep meaning to check out the MD functionality in WriteMonkey. Going forward, I almost certainly will just be using Sublime Text 2.
You might check out what Brett Terpstra is doing ... doubt he is running Outlook, but it might be a problem he has addressed all the same. I also want to look at this package of scripts for Marked
Hm. My work email is accessed through Outlook's web UI ... I think I smell a Chrome extension around here somewhere ...