What a bookmarklet is and why your school might block it
A bookmarklet is a bookmark that runs a small piece of code instead of opening a website. When you click it, the code runs on whatever page you're looking at right now. Bookmarklets can highlight text, change fonts, hide ads, or add tools that aren't built into Chrome.
School Chromebooks often block bookmarklets because the code runs in your browser, and schools worry about what that code might do. Your school's administrator controls what runs on the device, so even if you create a bookmarklet yourself, it may not work — or it may work in your personal Chrome account but not in your school account.
The real limitation is not the Chromebook itself. It's the school's policies about what code can run. Before you spend time setting up a bookmarklet, check whether your school allows them at all. Ask your IT department or check your school's acceptable use policy.
Key Takeaways
- School Chromebooks run bookmarklets the same way personal ones do, but your school's administrator may have disabled them in your account.
- Check your school's acceptable use policy or ask IT support before creating a bookmarklet — many schools block them entirely.
- If bookmarklets are allowed, you create them by dragging a link to your bookmarks bar or by pasting code into a new bookmark.
- Some schools allow bookmarklets in personal Chrome accounts but not in school accounts, so test on your own device first.
- If a bookmarklet doesn't work, the problem is usually school policy, not the Chromebook — switching devices won't help.
How to create a bookmarklet on a school Chromebook
If your school allows bookmarklets, creating one takes about two minutes. Open a new tab and right-click on your bookmarks bar at the top of the screen. Select "Add page" — this opens a dialog where you can name the bookmark and paste code into the URL field.
The code you paste starts with javascript: followed by the actual instructions. For example, a bookmarklet that changes all text to red would be: javascript:document.body.style.color='red';. You paste the entire line into the URL field, give it a name like "Make Text Red", and click Save.
When you click the bookmarklet, the code runs on the current page. If nothing happens, either the code has an error, the page doesn't allow it, or your school has blocked it. Test on a straightforward page first — your school's homepage or Google Docs — before assuming the bookmarklet is broken.
Where to find bookmarklets if you don't want to write code
You don't have to write the code yourself. Websites like Bookmarklets.com and GitHub host collections of ready-made bookmarklets for common tasks. Search for what you want to do — "highlight text bookmarklet" or "change font size bookmarklet" — and you'll find pages with the code already written.
Copy the code from the website, then follow the steps above: right-click your bookmarks bar, add a new bookmark, paste the code into the URL field, name it, and save. The bookmarklet will work the same way whether you wrote the code or copied it.
Before you use a bookmarklet from a stranger's website, understand what it does. Read the description and, if you can, look at the code itself. Bookmarklets run in your browser with the same permissions you have, so a malicious one could theoretically steal passwords or data. Stick to well-known sources and bookmarklets that do straightforward, visible things.
Testing whether your school allows bookmarklets
The fastest way to know if your school blocks bookmarklets is to try one. Create a straightforward, harmless bookmarklet — one that just changes the background color or displays an alert — and click it on a school page. If it works, your school allows them. If nothing happens, your school has blocked them.
If the bookmarklet doesn't work, check whether you're signed into your school Chrome account. Open the Chrome menu (three dots in the top right), click "Settings", then look at the top left to see which account is active. School Chromebooks often have two accounts: your school account and a personal account. Bookmarklets may work in one but not the other.
If you're in your school account and the bookmarklet still doesn't work, contact your school's IT support. Tell them the name of the bookmarklet and what it does. They can tell you whether it's blocked by policy or whether something else is wrong.
Why some bookmarklets don't work even when they're allowed
Even if your school allows bookmarklets, some won't work on certain websites. Many modern websites use security features that prevent outside code from running. Google Docs, for example, blocks most bookmarklets for security reasons. A bookmarklet that works on a regular website might do nothing on Google Docs or Canvas.
Some websites also update their code frequently, which can break old bookmarklets. If a bookmarklet worked last month but doesn't now, the website may have changed. Search for a newer version or look for an alternative tool that does the same thing.
If a bookmarklet works on your personal device but not your school Chromebook, the problem is almost always your school's policies, not the device. Switching to a different browser or computer won't help — your school's restrictions follow your school account.
Alternatives if your school blocks bookmarklets
If your school has disabled bookmarklets entirely, you have a few options. The simplest is to use your personal device or personal Chrome account for tasks that need bookmarklets. Many schools allow personal accounts on school devices, so you may be able to sign into your own Chrome account and use bookmarklets there.
Another option is to use browser extensions instead. Extensions are more powerful than bookmarklets and do similar things — they can highlight text, change fonts, or add tools to websites. Your school may allow some extensions even if bookmarklets are blocked. Ask your IT department which extensions are allowed, or check your school's app store if your Chromebook has one.
If you need a specific tool and bookmarklets and extensions are both blocked, ask your teacher or IT support whether they can install it for you. Some schools will add tools to individual devices or accounts if they're used for schoolwork.
Frequently Asked Questions
Can I use a bookmarklet on a school Chromebook if I'm not signed into my school account?
Yes, if you sign into a personal Chrome account on the school Chromebook, bookmarklets should work in that account even if they're blocked in your school account. However, some schools lock down all accounts on the device, so test it first. If your school has restricted the device completely, you may not be able to sign into a personal account at all.
Will a bookmarklet get me in trouble at school?
That depends on what the bookmarklet does and your school's policies. A bookmarklet that changes text color or highlights words is harmless and unlikely to cause problems. A bookmarklet that hides content, bypasses filters, or accesses blocked sites could violate your school's acceptable use policy. Read your school's policy or ask a teacher before using one you're unsure about.
Why does my bookmarklet work on some websites but not others?
Many websites have security features that block outside code from running. Google Docs, Canvas, and other learning platforms often prevent bookmarklets from working. The bookmarklet itself is fine — it just can't run on that particular website. Try it on a simpler website like your school's homepage to confirm it works.
Can I share a bookmarklet with my classmates?
Yes, you can share the code with classmates and they can create the same bookmarklet on their devices. Just copy the code and send it to them, or point them to the website where you found it. They'll follow the same steps to create it: right-click the bookmarks bar, add a bookmark, paste the code, and save.
What's the difference between a bookmarklet and an extension?
A bookmarklet is a single line of code stored as a bookmark. An extension is a full program that installs into your browser and can do much more. Extensions are more powerful but also take up more space and require your school to allow them. Bookmarklets are simpler and smaller, but less capable.