Skip to content

Instantly share code, notes, and snippets.

@ColonelBuendia
Created January 15, 2019 10:31
Show Gist options
  • Save ColonelBuendia/d4b110e7cb00cd29b35a152b7d5efec6 to your computer and use it in GitHub Desktop.
Save ColonelBuendia/d4b110e7cb00cd29b35a152b7d5efec6 to your computer and use it in GitHub Desktop.
quix2
> This is a Quix Command File
>
> For the syntax of this file, please refer to https://www.quixapp.com/syntax/
>
@Basic commands
@These are the most basic commands Quix offers, but possibly also the most powerful ones.
a http://www.amazon.com/s/?field-keywords=%s Amazon Search
d http://www.google.com/search?q=define:%s Google Define a word
dict http://www.google.com/dictionary?langpair=en%7Cen&q=%s&hl=en&aq=f Google Dictionary for a word
e mailto:?subject=%t&body=%s%0A%0A%09%r%0A%0A Email link
f http://flickr.com/search/?q=%s Flickr Search
fc http://flickr.com/search/?q=%s&l=comm Flickr Commercial use CC Search
find javascript:s='%s';if(s==''){void(s=prompt('Find%20text:',''));}s='('+s+')';x=new%20RegExp(s,'gi');rn=Math.floor(Math.random()*100);rid='z'%20+%20rn;b%20=%20document.body.innerHTML;b=b.replace(x,'<span%20name='%20+%20rid%20+%20'%20id='%20+%20rid%20+%20'%20style=\'color:#000;background-color:yellow;%20font-weight:bold;\'>$1</span>');void(document.body.innerHTML=b);alert('Found%20'%20+%20document.getElementsByName(rid).length%20+%20'%20matches.');window.scrollTo(0,document.getElementsByName(rid)[0].offsetTop); Find in current pagem, usage: 'find test' will highlight all occurrences of 'test' and will take you to the first occurrence. Just 'find' will open a prompt.
g http://www.google.com/search?q=%s Google Search
gbs http://blogsearch.google.com/blogsearch?q=%s Google Blog Search
imdb http://www.imdb.com/find?s=all&q=%s IMDB Search
img http://www.google.com/images?q=%s Google Image Search
map http://www.google.com/maps?q=%s Google Maps
gs http://www.google.com/search?q=site:%d%20%s Search the current site with Google
nf http://www.netflix.com/Search?v1=%s Netflix Search
php http://php.net/search.php?show=quickref&pattern=%s PHP Function Search
tr http://translate.google.com/translate?u=%r&tl=%s Translate the current page
w http://wikipedia.org/wiki/Special:Search/%s_ Wikipedia Search
read script://www.readability.com/bookmarklet/read.js Readability
wa http://www.wolframalpha.com/input/?i=%s Wolfram Alpha Search
@Social commands
@These commands are for dealing with social networks and social sites.
pb http://pinboard.in/add?next=same&url=%re&description=%s&title=%t Bookmark current page with PinBoard
db http://delicious.com/save?url=%r&title=%t&v=5&jump=yes&notes=%s Bookmark the current page in Delicious
fb http://www.facebook.com/share.php?u=%r&t=%t Share the current page on Facebook
gp https://plus.google.com/share?url=%r Share the current page on Google+
ib http://inbound.org/?url=%r&title=%t Send current page to <a href="http://inbound.org">Inbound.org</a>.
li javascript:(function(){d=document,l=d.location,f='http://www.linkedin.com/shareArticle?mini=true&ro=false&trk=bookmarklet&title='+encodeURIComponent(d.title)+'&url='+encodeURIComponent(l.href),a=function(){if(!window.open(f,'News','width=520,height=570,toolbar=0,location=0,status=0,scrollbars=yes')){l.href=f;}};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0);}else{a();}})() Share the current page on LinkedIn
tn http://twitter.com/home?status=%s%20%t%20%r Tweet the current page
s http://search.twitter.com/search?q=%s Twitter Search
sc http://sharedcount.com/?url=%r Open the URLs share count on sharedcount.com
t http://twitter.com/%s Twitter User
v http://vimeo.com/videos/search:%s Vimeo Search
yt http://www.youtube.com/results?search_query=%s YouTube Search
tumblr javascript:d=document;w=window;e=w.getSelection;k=d.getSelection;x=d.selection;s=(e?e():(k)?k():(x?x.createRange().text:0));f='http://www.tumblr.com/share';l=d.location,e=encodeURIComponent;p='?v=3&u='+e(l.href)%20+'&t='+e(d.title)%20+'&s='+e(s);u=f+p;try{if(!/^(.*\.)?tumblr[^.]*$/.test(l.host))throw(0);tstbklt();}catch(z){a%20=function(){if(!w.open(u,'t','toolbar=0,resizable=0,status=1,width=450,height=430'))l.href=u;};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();}void(0) Share on Tumblr
post javascript:var%20b=document.body;POSTEROUS___bookmarklet_domain='http://posterous.com';if(b&&!document.xmlVersion){void(z=document.createElement('script'));void(z.type='text/javascript');void(z.src='http://posterous.com/javascripts/bookmarklet2.js');void(b.appendChild(z));}else{} Share on Posterous
su http://www.stumbleupon.com/submit?url=%r&title=%t Submit to StumbleUpon.
buf script:https://bufferapp.com/js/bookmarklet.v1.js Buffer to tweet the current page with <a href="http://bufferapp.com">Buffer App</a>.
@WordPress
@Quix was of course created by <a href="https://yoast.com">Yoast</a>, a WordPress addict, and as such, some WordPress functions are of course needed!
codex http://www.google.com/search?q=site:codex.wordpress.org%20%s Search the WordPress codex
plugin http://www.google.com/cse?cx=006835583451239722573%3A15duy8wtjos&ie=UTF-8&q=%s&sa=Search&siteurl=www.google.com%2Fcse%2Fhome%3Fcx%3D006835583451239722573%3A15duy8wtjos WordPress plugin search
wp http://xref.yoast.com/fsearch.php?s=%s&version=trunk WordPress function search
wpmu http://xref.yoast.com/fsearch.php?s=%s&version=mutrunk WordPress MU function search
wpseek http://wpseek.com/%s/ WordPress function lookup with wpseek.com
pluginsvn javascript:r="%r";document.location=r.replace("http://wordpress.org/extend/plugins/","http://svn.wp-plugins.org/"); Take me to the current plugin's SVN
wptool script:http://wptoolbar.iamnotagoodartist.com/wptoolbar.js Open a <a href="http://iamnotagoodartist.com/other/wordpress-admin-toolbar-bookmarklet/">WordPress Toolbar</a>.
install javascript:l=window.location.toString();window.location='http://coveredwebservices.com/wp-plugin-install/?plugin='+l.replace(/.*?wordpress\.org\/extend\/plugins\/([^\/]+)\/.*/,%20'$1'); Type 'install' in Quix from a plugin page, and this command will help you quickly install the plugin on your own site!
@SEO
@As an SEO you have dozens of things you can check on a site, Quix aims to make those things simpler by adding a large set of easy to remember and use commands for SEO's.
archive http://web.archive.org/web/*/%r Check archive.org for the current page
dmoz http://search.dmoz.org/cgi-bin/search?search=%d Searches DMOZ for the current Domain
gbd http://blogsearch.google.com/blogsearch?num=10&q=link%3A%d Search Google Blogsearch for links to the current Domain
gbu http://blogsearch.google.com/blogsearch?num=10&q=link%3A%r Search Google Blogsearch for links to the current URL
gc http://google.com/search?strip=1&q=cache:%r%20%s Google cache for current page
gi http://google.com/insights/search/#q=%s&cmpt=q Google Insight for the keyword phrase
gwt https://www.google.com/webmasters/tools/dashboard?hl=en&siteUrl=http%3A%2F%2F%d%2F Google Webmaster Tools for current domain
h https://www.quixapp.com/headers/?r=%re&s=%s Header info for the current URL
kd http://tools.davidnaylor.co.uk/keyworddensity/?url=%r&keyword=%s <a href="http://tools.davidnaylor.co.uk/keyworddensity/">Keyword Density check</a> and way more
linkcheck http://validator.w3.org/checklink?uri=%r Check the links on the current URL
maj https://www.majesticseo.com/search.php?q=%d Check strong pages & backlinks for the current domain using <a href="http://www.majesticseo.com/">Majestic SEO</a>
majp https://www.majesticseo.com/search.php?q=%r Check backlinks for the current page using <a href="http://www.majesticseo.com/">Majestic SEO</a>
mob https://search.google.com/search-console/mobile-friendly?url=%re Check whether the current page is mobile friendly
nofollow style:https://www.quixapp.com/js/nofollow.css Shows all nofollows
rh javascript:ReplaceHeadings();function%20ReplaceHeadings(){var%20j;for(i=0;i<6;i++){hx=document.getElementsByTagName("h"+i);len=hx.length;for(j=0;j<len;j++){tmp=hx[j].innerHTML;hx[j].innerHTML='<span%20style="color:#F00;">&lt;H'+i+'&gt;</span>'+tmp+'<span%20style="color:#F00;">&lt;/H'+i+'&gt;</span>';}}} Replaces all headings with &lt;hx&gt;original content&lt;hx&gt; in a HTML document
seo https://www.quixapp.com/seo/?r=%re Does a quick SEO checkup of the current page
seocss style:https://www.quixapp.com/js/seo.css Show heading structure, links and nofollows using CSS.
seothis javascript:var%20w=window.open('https://www.quixapp.com/seo/?r=%re');window.open('https://www.quixapp.com/headers/?r=%r&s=%s');window.open('http://google.com/search?q=cache:%r&strip=1');window.open('https://siteexplorer.search.yahoo.com/search?p=%r&bwm=i&bwmo=d&bwmf=u');w.focus(); Open SEO tabs
snippet https://developers.google.com/webmasters/structured-data/testing-tool?url=%r See how this page would render with Google Rich Snippets
yd https://siteexplorer.search.yahoo.com/search?p=%d&bwm=i&bwmo=d&bwmf=s Yahoo Inlinks for current Domain
yl https://siteexplorer.search.yahoo.com/search?p=%r&bwm=i&bwmo=d&bwmf=u Yahoo Inlinks for current Page
ydir http://search.yahoo.com/search/dir?ei=UTF-8&p=%d&h=c Searches Yahoo! directory for the current Domain
kwte https://adwords.google.com/select/KeywordToolExternal Go to the AdWords External keyword tool
kwc http://google.com/search?q=intitle:%22%s%22%20inanchor:%22%s%22&pws=0 Keyword competition check Google
copy http://www.copyscape.com/?q=%re Open Copyscape for current URL
sl http://www.siteliner.com/%d Open Siteliner for current domain
sm http://suite.searchmetrics.com/en/research?acc=8375&url=%d Open searchmetrics for current URL
@Webmaster
@Webmasters often have dozens of bookmarklets for all sorts of simple checks, Quix replaces a <em>lot</em> of those bookmarklets by giving you simple to remember commands to deal with them.
csstoggle javascript:var%20Lt=document.getElementsByTagName('LINK');for(var%20x=0,ss=[];Lt[x];x++){var%20rel=Lt[x].rel;if(typeof(rel)=='string'&&rel.toLowerCase().indexOf('style')+1){ss[ss.length]=Lt[x];}}for(var%20x=0;ss[x];x++){ss[x].disabled=!ss[x].disabled;} Toggle css on and off
fblint https://developers.facebook.com/tools/debug/og/object?q=%re Gives feedback from Facebook about your markup.
firebug javascript:firebug=document.createElement('script');firebug.setAttribute('src','http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js');document.body.appendChild(firebug);(function(){if(window.firebug.version){firebug.init();}else{setTimeout(arguments.callee);}})();void(firebug); Loads <a href="http://getfirebug.com/lite.html">Firebug lite</a>.
gzip http://checkgzipcompression.com/?url=%re Checks whether GZip is enabled for the current page.
font javascript:(function()%20{if(typeof%20jQuery=='undefined'){var%20jqit=document.createElement('script');jqit.type='text/javascript';jqit.src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js';document.getElementsByTagName('head')[0].appendChild(jqit);}%20_my_script=document.createElement('script');_my_script.type='text/javascript';_my_script.src='http://font-friend.googlecode.com/svn/trunk/font-friend.js';document.getElementsByTagName('head')[0].appendChild(_my_script);})(); Font overlay with <a href="http://somadesign.ca/projects/fontfriend/">FontFriend</a>
host https://www.quixapp.com/host/?d=%d Host info for the current domain.
html5 http://html5.validator.nu/?doc=%r HTML5 validate the current page.
http2 https://tools.keycdn.com/http2-test?url=%d Check if the current site supports HTTP/2
jquery http://api.jquery.com/%s/ Check jQuery API documentation.
lastmod javascript:function%20gett(w){try{var%20lm=new%20Date(w.document.lastModified);if(lm>maxd)maxd=lm;for(var%20i=0;F=w.frames[i];i++){gett(F);}}catch(e){}}var%20now=new%20Date();var%20maxd=new%20Date(document.lastModified);gett(window);if(maxd.getTime()==0||now.toUTCString()==maxd.toUTCString()){alert('Page%20is%20dynamically%20generated,%20cannot%20determine%20date.');}else{alert('Page%20was%20last%20modified%20'+maxd.toLocaleString());} Last modified date of a page.
myip https://www.quixapp.com/ip/ Your current IP & homepage.
p3p http://validator.w3.org/p3p/20020128/p3p.pl?uri=%r Check the P3P policies of the current page.
register https://www.quixapp.com/register/%s Register a domain (f.i. use <code>register test123.com</code>).
window javascript:s='%s';s2=s.split('%20');window.resizeTo(s2[0],s2[1]); Resize browser (might only work with single windows in some browsers).
ruler script:https://www.quixapp.com/js/ruler.js Shows a ruler that can be used to measure elements.
sg javascript:(function(){var%20s=document.createElement('div');s.innerHTML='Loading...';s.style.color='black';s.style.padding='20px';s.style.position='fixed';s.style.zIndex='9999';s.style.fontSize='3.0em';s.style.border='2px%20solid%20black';s.style.right='40px';s.style.top='40px';s.setAttribute('class','selector_gadget_loading');s.style.background='white';document.body.appendChild(s);s=document.createElement('script');s.setAttribute('type','text/javascript');s.setAttribute('src','http://www.selectorgadget.com/stable/lib/selectorgadget.js?raw=true');document.body.appendChild(s);})(); <a href="http://www.selectorgadget.com/">SelectorGadget</a>: point and click CSS selectors
speed http://tools.pingdom.com/fpt/?url=%r Do a <a href="http://tools.pingdom.com/">Pingdom speedtest</a> of the current URL.
gspeed http://developers.google.com/speed/pagespeed/insights/?url=%re Do a Google <a href="http://pagespeed.googlelabs.com/">page speed test</a> of the current URL.
spdy http://spdycheck.org/#%d Test whether the current domain supports spdy
spriteme script:http://spriteme.org/spriteme.js Sprite the current page using <a href="http://spriteme.org">Spriteme</a>.
ssltest https://www.ssllabs.com/ssltest/analyze.html?d=%d Test the domains SSL implementation
st javascript:w=window.open('http://developers.google.com/speed/pagespeed/insights/?url=%re');window.open('http://tools.pingdom.com/fpt/?url=%re');window.open('https://search.google.com/search-console/mobile-friendly?url=%re');window.open('http://www.siteliner.com/%d');window.open('http://www.copyscape.com/?q=%re') Open Speed and Mobile test tabs
vs http://onebuttonmouse.com/tools/isource/?url=%r View source of the current URL.
w3c http://validator.w3.org/check?uri=%r&outline=1 Validate the current page.
w3css http://jigsaw.w3.org/css-validator/validator?uri=%r Validate the CSS of the current page.
whois https://www.quixapp.com/?d=%d Whois info for the current domain.
xray script:https://www.quixapp.com/js/xray/thexray.js <a href="http://www.westciv.com/xray/">XRAY</a> the current page.
blocks style:https://www.quixapp.com/js/blocks.css Show blocks of content, taken from <a href="http://www.quora.com/Web-Development/What-are-the-most-interesting-HTML-JS-DOM-CSS-hacks-that-most-web-developers-dont-know-about/answer/Gajus-Kuizinas">this Quora thread</a>.
@Quix
@In a meta sort of way, Quix provides some commands that should help you to debug Quix.
help https://www.quixapp.com/help/#%s Help file
quix https://www.quixapp.com/%s/ Takes you to the specified Quix page
yoast https://www.google.com/search?q=%s%20site:yoast.com&btnI=I%27m+Feeling+Lucky Lucky search on Yoast
resize https://www.quixapp.com/resize/?s=%s Resize image / video while maintaining aspect ratio
@Analytics
@Some simple scripts to detect which web analytics program a site is running and to debug Google Analytics
da script:https://www.quixapp.com/js/detect-analytics.js Detect the current sites analytics
ga script:https://www.quixapp.com/js/ga-analyzer.js Analyze Google Analytics settings on the current page
gaexport script:https://www.quixapp.com/js/ga-export.js Make the export function in Google Analytics export way more lines (credits: <a href="http://arjansnaterse.nl/download-limit-google-analytics-export-part-2">Arjan Snaterse</a>)
bitlyside script:https://bit.ly/bookmarklet/load.js <a href="http://bit.ly/pages/tools/sidebar/">Bit.ly Sidebar</a>
@URL Shortening
@A group of URL shorteners
bitly http://bit.ly/?v=3&u=%re&s=%s%20%te Shorten with <a href="http://bit.ly/">bit.ly</a>
awesm http://create.awe.sm/url/share?target=%re&version=1 Shorten with <a href="http://awe.sm/">awe.sm</a>
googl script:https://www.quixapp.com/js/quix-googl.js Shorten with Goo.gl
@App Integration commands
@Integrate with cool programs on all platforms.
evernote javascript:(function(){EN_CLIP_HOST='http://www.evernote.com';try{var%20x=document.createElement('SCRIPT');x.type='text/javascript';x.src=EN_CLIP_HOST+'/public/bookmarkClipper.js?'+(new%20Date().getTime()/100000);document.getElementsByTagName('head')[0].appendChild(x);}catch(e){location.href=EN_CLIP_HOST+'/clip.action?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);}})(); Clip current page with <a href="http://www.evernote.com/">Evernote</a>
pin javascript:q=location.href;if(document.getSelection){d=document.getSelection();}else{d='';};p=document.title;void(open('https://pinboard.in/add?showtags=yes&url='+encodeURIComponent(q)+'&description='+encodeURIComponent(d)+'&title='+encodeURIComponent(p),'Pinboard','toolbar=no,scrollbars=yes,width=750,height=700')); Clip current page with <a href="http://www.pinboard.in/">Pinboard</a>
insta javascript:function iprl5(){var d=document,z=d.createElement('scr'+'ipt'),b=d.body,l=d.location;try{if(!b)throw(0);d.title='(Saving...) '+d.title;z.setAttribute('src',l.protocol+'//www.instapaper.com/j/CuNIUoEEhYcG?a=read-later&u='+encodeURIComponent(l.href)+'&t='+(new Date().getTime()));b.appendChild(z);}catch(e){alert('Please wait until the page has loaded.');}}iprl5();void(0) Clip current page with <a href="http://www.instapaper.com/">Instapaper</a>
read javascript:function iptxt(){var d=document;try{if(!d.body)throw(0);window.location='http://www.instapaper.com/text?u='+encodeURIComponent(d.location.href);}catch(e){alert('Please wait until the page has loaded.');}}iptxt();void(0) Read current page with insta
@Mac Integration commands
@A lot of Mac programs allow easy integration with browsers by allowing for URL's like <code>tweetie:</code> to open them. These commands take full advantage of that.
cssedit cssedit:previewandextract?%r Preview and extract current page in <a href="http://macrabbit.com/cssedit/">CSSEdit</a>
mars marsedit:title=%t&url=%r&text=%s Start a blogpost in <a href="http://www.red-sweater.com/marsedit/">Marsedit</a> about the current URL
pukka pukka:url=%re&title=%t&extended=%s Bookmark the current page using <a href="http://codesorcery.net/pukka">Pukka</a>
tt tweetie:%su%20%t%20%r Tweet the current page with <a href="http://www.atebits.com/">Tweetie</a>
snap littlesnapper://snap/%r Snap the current page in <a href="http://www.realmacsoftware.com/littlesnapper/">LittleSnapper</a>
delibar Delibar://bpost&!p!&%r&!p!&%t&!p!&%s Bookmark the current page using <a href="http://www.delibarapp.com/">Delibar</a>
shove shovebox://url?url=%r&title=%t Catch current page in <a href="http://www.wonderwarp.com/shovebox/">Shovebox</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment