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

  • SEARCH
  • Home
  • 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 7939279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:03:16+00:00 2026-06-03T23:03:16+00:00

I made a uploader that allows drag and drop but because people usually browse

  • 0

I made a uploader that allows drag and drop but because people usually browse with their browsers taking up most of the screen I would like to make the browser smaller when a user clicks a button so its easier for him/her to drag the files in…

Is there a way to resize a browser window thats already open…
or at least to minimize the browser in js??

I know there is window.resizeTo(w,h);

but it doesnt work for me

Update
can users choose to unblock this functionality for a specific website??
and is there a way for me to check if a user allows or blocks that option?

Will i still be able to use window.resizeTo(w,h); is i make a new window pop up ??
Because if i am i will try defaulting to that.

If its possible to allow resizeTo(w,h); for a specific website (i mean by user settings or editing some files on the computer not by js even if it only works for some browsers ) how do you do that??
(even if its really difficult i would like to know)

Similar Question (with an answer how to do it in chrome):
set_browser_window_size

Another One (this one explains how you can check about:config values with js)
check about:config with js

It be nice to see a list of browsers that support the resizeTo function with the version number.

  • 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-03T23:03:17+00:00Added an answer on June 3, 2026 at 11:03 pm

    Almost all new browsers disable this event by default for the reason of annoying users and malicious actions.

    At some browsers users allowed to enable this action manually, but ~95% of users will have default settings. To enable resizing at Firefox you can go to about:config and set dom.disable_window_move_resize;true attribute to false

    You can try to resize user window at any time with window.resizeTo(w,h); method and then check current user screen height. ie with jQuery method var curH =$(window).innerHeight(); and compere h with curH to be sure that its resized.

    The better way to solve your problem is to allow users to drag files from the folder to the specific area of the screen or open dialog on action with multiple files selection.

    Addons

    Maybe the best choose will be to organize uploading at your website with own addon for most of popular browsers. You can write your own for Chrome, Opera and Firefox.

    Advantages:

    • Users do not need to read tons of rules about how to enable something. Only few click to install addon.
    • Well-controlled and stability work.
    • You can provide access to files upload functionality without visiting your site at all.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to make a Drag&Drop uploader. I've made the drag&drop part, but
I have made a subdomain and uploaded php script on that. but php code
I made a form that allows user to upload a file (text documents). I’m
I have made a page that allows users to upload files to the server
I have made a user control that allows an image to be uploaded and
Can someone help me on this. I'm made an image uploader and i want
I made a dll in c# but i need to export the functions. Is
I made an iphone app to capture image from camera and to set that
I made an application that passes trough an XML file and extracts the entries
I have another SQL/access 2007 question that seems really basic but I'm not sure

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.