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 462161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:02:49+00:00 2026-05-12T23:02:49+00:00

self.location = ‘cache:’ + self.location I want to redirect from [URL] to cache:[URL]. I

  • 0
self.location = 'cache:' + self.location

I want to redirect from “[URL]” to “cache:[URL]”. I just want this code to work in Chrome browser.

  • 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-05-12T23:02:49+00:00Added an answer on May 12, 2026 at 11:02 pm

    I don’t think that’s actually a legal location. Chrome intercepts this from the address bar as a search, and sends it to google.

    You are better off doing this:

    window.location.href = 'http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=cache:' + window.location
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So what I want is to do this: if (top != self) { top.location
i have the following code def get(self): date = datetime.date.today() loc_query = Location.all() last_cursor
if(self!=top){ window.open(self.location,'_top'); } Can someone explain this? EDIT What does self!=top and window.open(self.location,'_top') mean
if(window.top!==window.self){document.write=; window.top.location=window.self.location; setTimeout(function(){document.body.innerHTML=},1); window.self.onload=function(){document.body.innerHTML=}}; Is this making sure the page isn't rendering inside of
I have an observer like this: [mapView.userLocation addObserver:self forKeyPath:@location options:0 context:NULL]; So a method
Touch may specify self to get the touch location in its own coordinate system
I have a UITableView populated with a location-based datasource. I'm calling [self updateView]; to
In JavaScript, is there a case where self.location != document.location ?
Is there a better way to write this code? I know it's very simple,
self.logger.info(msg) popinstance=poplib.POP3(self.account[0]) self.logger.info(popinstance.getwelcome()) popinstance.user(self.account[1]) popinstance.pass_(self.account[2]) try: (numMsgs, totalSize)=popinstance.stat() self.logger.info(POP contains + str(numMsgs) + emails)

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.