Button like firebug or Greasemonkey in firefox addon sdk - firefox-addon-sdk

Is there anyone help me to create a menu type button like firebug or Greasemonkey using firefox addon sdk ?
Also if anyone know how to enable a disabled button in firefox addon sdk then please let me know.
Thanks in advance :)

I have created a GitHub repo to do just what you're asking. It creates a menu-button type button and passes a second argument–boolean isMenu–to the button onClick method. Follow the link to see how to implement.

Related

How to click browser back key in protractor

I'm kind of new to Protractor and I'm writing a protractor script for my Angular js application.
In my application there is a place that I need to click on browser back button and not sure how to do it.
Thanks in advance. :)
Found my answer here
Used browser.navigate().back(); to click the browser back button. :)

Wordpress Disuqs plugin not working properly

Hi I am new to working with Disqus plugin and I have a strange behavior.
After I installed the plugin and configured it it show comments without andy styling and without even the add comment textarea just showing the comment and comment author name only
It doesn't even include any scripts related to Disqus plugin .
here is the code I used in single.php
<?php comments_template(); ?>
here is the result I get
I have tried to disable the plugin and re-enable it then I try using the twentyfifteen theme and every thing worked fine with it but with my theme I get the issue
Any help will be appreciated , Thanks in advance
The fix for me was to uncheck External Javascript Files option in the plugin settings panel.
It says "Disable this if are not seeing Disqus appear on pages that normally have comments. This will fix the issue if your theme does not support the 'wp_enqueue_script' function, are caching your site on a CDN."
it works like a charm now!
That's happening because the function comments_template() is associated/overridden with the template you're seeing now.
Go through your theme files and you shall find a template that's showing up to you right now.

How to appear the arrow using sap.m.Popover

I'm using SAPUI5
I allready create de Object Sap.m.popover, and appears on bottom of the button when click, but the arrow up its not there.
What i miss?
Thanks
Its due to missing of CSS. Please try to update the UI5 library. 1.28.7 version is recommended. Thanks
There are API properties for controlling the arrow positioning (placement) and it also depends on the device / browser how the arrow is displayed.
If the examples from the explored app or from the test page run fine for you, then try to copy the code from one of these resources:
Examples
Developer Test page
If this does not help, consider opening a new GitHub issue for OpenUI5 or an SAP ticket to analyze the issue.

tinymce3 editor in joomla 1.5 browse button not working

i have a strange issue i have a joomla 1.5 site and i have installed the tinymce3 cause the client needs really bad this button that it has ,,that is the paste from word,, the problem is that when i insert for example a link or an image then when i click the browse button to browse files and content then nothing happens with the onclick,, :(
i have searched through the net and found MCImageManager might be a solution but i have to buy it.. is there any other way ?
any help would be really appreciated,
thank you guys..
Hi guys in case someone else need it,
just instead of tinymce editor i used the jce editor,
solved just from the jce editor it provides this kind of functionality the paste from word
just by playing on the default profile plugging settings parameters
and the browse button is working like a charm,
once again thank you

joomla tinymce editor problem

hi i am using joomla 1.5 for my site.
in this i fetched the problem of tinymce editor when i clicked on any article the image button are not shown. when i clicked on edit html source button It showing only “{$lang_theme_code_title}” on the Title bar and all body is blank.
so plz help me to resolved out from this problem.
thanks in advance
You should consider trying the JCE editor instead of trying to debug Tinymce. I'm running JCE error free on over 40 sites. It has a superior image manager, link manager, and code view. It installs easily and is highly configurable. The only caveat is that you should disable the Joomla insert image, page break, and read more buttons as JCE has those built in.
http://extensions.joomla.org/extensions/edition/editors/88
See this thread:
http://forum.joomla.org/viewtopic.php?t=62545
Try adding www. to your domain. Most often this is the problem.
I searched joomla project for vars $lang_theme_code_title... and related... There are not. Looked at Tinymce editor, it has javascript driven language file...
Most likely problem is cause by JavaScript. Try using different browser (firefox or chrome).
I read info on some other forums, some claim that temporarily disabling the antivirus solved the problem. I don't think that this will work, but you can try.
If none of this helps, you will need to give more information. Load firefox with firebug and see the NET tab for JavaScript files and Ajax Requests, most likely you'll find something interesting there (i think 500 Error)