Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/cloudwaddie/aitweaker/llms.txt

Use this file to discover all available pages before exploring further.

The Gemini tweaker intercepts JavaScript bundles served from gstatic.com and rewrites the ctor method inside them so that any flag ID you specify always returns true. This lets you enable unreleased Gemini features — like Agent Mode, Canvas Creative, and more — without touching your account or any official setting.

How it works under the hood

The proxy matches any JS module URL under the boq-bard-web path on (www|gemini).gstatic.com. When a match is found, it searches for the method:
proxy.py
ctor(a){return typeof a==="boolean"?a:this.defaultValue}
It then replaces that method with an augmented version that checks whether the current flag’s key is in your enabled list before falling back to the default logic:
proxy.py (injected)
ctor(a){
  if((function(key) {
    if(["45730924","45691404"].includes(key)) return !0;
    var ranges = ["45700000-45800000"];
    for (var i = 0; i < ranges.length; i++) {
      var parts = ranges[i].split('-');
      var start = Number(parts[0]);
      var end = Number(parts[1]);
      if (key >= start && key <= end) return !0;
    }
    return !1;
  })(this.key)) return !0;
  return typeof a==="boolean"?a:this.defaultValue
}
The proxy only modifies responses when Enable Gemini Modifications is toggled on. Turning it off reverts all interception with no leftover changes.

Setting up the Gemini tab

1

Enable modifications

Toggle Enable Gemini Modifications at the top of the Gemini tab. This master switch controls whether the proxy injects anything at all into Gemini JS bundles.
2

Add individual flags

Type one or more numeric flag IDs into the Add Flag(s) textbox — one per line — then click Add Flag(s). Multi-line paste is fully supported, so you can paste a whole list at once.
45730924
45691404
45707395
Invalid entries (non-numeric, wrong format) are skipped and reported in the log.
3

Add a flag range

To enable every flag between two integers (useful for scanning unknown flags), fill in Start of range and End of range fields and click Add Range. The range is stored in start-end format, e.g. 45700000-45800000.
Ranges are evaluated at interception time, so adding a broad range like 45600000-45800000 is a quick way to discover which IDs produce visible UI changes.
4

Enable or disable individual flags

Each flag row has a toggle switch. Disabled flags remain saved in your profile but are excluded from the injected list — no need to delete them if you want to test with them off.
5

Add notes to flags

Click into the Note field on any flag row and type a label. Notes are saved with the flag and are searchable, making it easy to remember what each ID does.
6

Search and filter

Type into the Search Gemini flags… box to filter the list in real time by flag ID or note text.
7

Save your changes

Click Save Gemini Changes. This writes toggle states and notes to your active profile and regenerates rules.json, which the proxy reloads automatically.

Real flag examples

The following flags come from the default profile in profiles.json:
Flag IDNoteEnabled
45730924Default Toolsyes
45691404Searchyes
45707395Agent Modeyes
45715396Canvas Creativeyes
45715303Has deep think IMO?yes
45720836Rollout switcheryes
45728377Chat name at topyes
45711245My Stuffyes
45663720Separate Activity and Settings & Helpyes
45685834Prompt power upyes
45428791Quick follow upsyes
45709348Visual Layoutyes
45728464Black Sidebarno
45720638Alternative prompt boxno
Flag IDs are integers tied to specific Gemini rollout experiments. The IDs that work for your account will vary depending on which JS bundle version Gemini serves you.

URL matching

The proxy matches any URL of the form:
https://(www|gemini).gstatic.com/_/mss/boq-bard-web/_/js/.../m=<module>
batchexecute URLs on gemini.google.com are explicitly skipped to avoid corrupting API responses.

Build docs developers (and LLMs) love