adelin-b / Bulma Search

// ==UserScript==
// @name         Bulma Search
// @namespace    https://bulma.io
// @version      0.1.0
// @description  Add search to the documentation !
// @author       adelin-b
// @require      http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// @include      https://bulma.io/documentation/*
// @copyright 2020, adelin-b (https://openuserjs.org/users/adelin-b)
// @updateURL https://openuserjs.org/meta/adelin-b/Bulma_Search.meta.js
// @downloadURL https://openuserjs.org/install/adelin-b/Bulma_Search.user.js
// @license MIT

// This is the search that I created here using the 'custom search engine' from google :
// CSE homepage and documentation: https://cse.google.com/cse/all
// Engine : https://cse.google.com/cse?cx=003890823233210799839:1k5snn27fwi
// And this is the script to inject in order to make the search available
// @require https://cse.google.com/cse.js?cx=003890823233210799839:1k5snn27fwi

// ==/UserScript==

(function() {
    'use strict';
    // Insert the google search bar in the page
    $("#navbar").after('<div class="gcse-search"></div>');
})();