Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8653411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:32:09+00:00 2026-06-12T14:32:09+00:00

I have been working on making a bookmarklet to make a tiny change to

  • 0

I have been working on making a bookmarklet to make a tiny change to a webpage, for my own personal use as I am browsing the site. I have the bookmarklet dynamically loading jquery (if needed) and can access and modify the page without any issues.

This page has several nested iFrames, the html, I want to modify is within an iFrame which has a different domain then the original page. So I get the:

Unsafe JavaScript attempt to access frame with URL

The browser is using the topmost page as the point of origin for my script, which is interesting since it’s origin is a bookmark. Is it possible to get around this limitation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T14:32:10+00:00Added an answer on June 12, 2026 at 2:32 pm

    There is no way to get around this limitation using only a bookmarklet. When you execute a bookmarklet it executes within the context of the current (top) page. Even though the restriction is called “same origin policy”, origin means the context within which the code was executed, not the origin of where the code came from. When you execute a bookmarklet, the code comes from the bookmark, but it executes inside the current page.

    To achieve your goal you’ll have to create a user script or create an addon/extension. User scripts are supported in Firefox if you install Greasemonkey and natively in Chrome.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working on making my website mobile compatible. Whilst I have successfully
I'm rather new to C and have recently been working on making a simple
Ok, so I have been working a Mysql class. I am making a form
I have been working on making our CMS export valid content for mobile devices.
I have been working on making a Search using Solrnet which is working the
I have been working on a personal project to get better with programming. My
I have been working on a new template for a commerce site running zen
I'm in SQL Server 2008 and I have been working on making some older
I have been working on my own library/framework for the learning experience for a
I have been working on making an application for editing game plugins for a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.