This is a quick & dirty project to convert GMBinder source to Homebrewery source.
-
Create a new bookmark in your browser. Chrome is strongly recommended, as it is the only browser Homebrewery officially supports. It is likely that you will get unexpected results with other browsers.
-
Give the bookmark whatever name you like - "GMB>HB", for example.
-
Copy the contents of
src/bookmarklet.js
into the URL field. -
Click "Save".
-
Right click on the bookmark and select Edit.
-
Copy the contents of the new/updated
src/bookmarklet.js
into the URL field. -
Click "Save".
-
Navigate to https://homebrewery.naturalcrit.com/new.
-
Click the bookmark created during the installation process.
-
Paste the GMBinder source text into the prompt window that appears. Click OK to start the conversion process.
-
On completion, the page will reload, and the converted project should now be visible in the editor.
-
Click "SAVE" in the Homebrewery editor to commit the project to your Homebrewery account.
In order to add additional items to automatically search and replace, follow these steps:
-
Download and open
src/boookmarklet.js
-
On line 5, immediately following
const replacementList = [
enter the following:
{term: "YOUR_SEARCH_TERM_HERE", text: "YOUR_REPLACEMENT_TEXT_HERE"}, -
Repeat for as many custom search and replacement terms as you like.
-
Install as per the normal installation instructions, substituting the content of your customized
bookmarklet.js
in step 3.